:root {
  color-scheme: light;
  --ink: #121314;
  --muted: #666b72;
  --bg: #f2f0ea;
  --surface: #ffffff;
  --surface-2: #eeede8;
  --line: #dcddd6;
  --red: #ef3519;
  --red-2: #ffe4dc;
  --orange: #ff7a1a;
  --teal: #11735f;
  --teal-2: #dff3ee;
  --gold: #a36a12;
  --gold-2: #fff0cf;
  --charcoal: #111413;
  --graphite: #1b1f1c;
  --cream: #f6f2e9;
  --radius: 8px;
  --shadow: 0 22px 55px rgba(18, 19, 20, 0.12);
  --tight-shadow: 0 14px 34px rgba(18, 19, 20, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f6f3ed 0%, #ece9e1 54%, #f7f5f0 100%),
    var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 10px clamp(16px, 4vw, 54px);
  background: rgba(15, 17, 16, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

.brand-link img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}

.site-nav a,
.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-footer a:hover {
  color: #ff8b76;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 16px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.primary-button {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(239, 53, 25, 0.24);
}

.primary-button:hover {
  background: #d82f16;
}

.secondary-button,
.header-cta {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.header-cta {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.secondary-button:hover,
.header-cta:hover {
  border-color: var(--red);
  color: var(--red);
}

.primary-button svg,
.secondary-button svg,
.header-cta svg,
.contact-methods svg,
.admin-nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(18px, 6vw, 76px) 78px;
  background: var(--charcoal);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 74px);
  mask-image: linear-gradient(90deg, #000 0%, transparent 76%);
}

.hero::after {
  z-index: 1;
  right: -12vw;
  bottom: 10vh;
  width: 54vw;
  height: 34vh;
  border-top: 2px solid rgba(239, 53, 25, 0.78);
  border-bottom: 1px solid rgba(255, 122, 26, 0.42);
  transform: skewX(-22deg);
  background: linear-gradient(90deg, rgba(239, 53, 25, 0.22), transparent 72%);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.92) contrast(1.08) brightness(0.74);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(8, 9, 8, 0.94) 0%, rgba(12, 13, 12, 0.76) 48%, rgba(12, 13, 12, 0.22) 100%),
    linear-gradient(0deg, rgba(12, 13, 12, 0.82), transparent 42%),
    linear-gradient(135deg, rgba(239, 53, 25, 0.26) 0%, rgba(239, 53, 25, 0) 32%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #ffffff;
}

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

.hero .eyebrow {
  color: #ffb49b;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 14vw, 148px);
  line-height: 0.88;
  font-weight: 950;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.54);
}

.hero-subtitle {
  margin: 18px 0 0;
  max-width: 620px;
  font-size: clamp(24px, 3.8vw, 46px);
  line-height: 1.08;
  font-weight: 850;
}

.hero-body {
  margin: 18px 0 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.65;
}

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

.stat-band {
  background: var(--charcoal);
  color: #ffffff;
  padding: 16px clamp(18px, 5vw, 68px);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
}

.stat-item {
  min-height: 100px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(239, 53, 25, 0.12), transparent 38%),
    var(--graphite);
}

.stat-item strong {
  display: block;
  font-size: clamp(24px, 3vw, 36px);
}

.stat-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.section {
  padding: 72px clamp(18px, 5vw, 68px);
  position: relative;
}

.surface-section {
  background: var(--surface);
}

#modelos.surface-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7f4ee 0%, #e8e5dc 100%);
}

#modelos.surface-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(18, 19, 20, 0.042) 0 1px, transparent 1px 62px),
    linear-gradient(115deg, transparent 0%, transparent 62%, rgba(239, 53, 25, 0.08) 62%, rgba(239, 53, 25, 0.08) 70%, transparent 70%);
}

#modelos > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2,
.split-band h2,
.contact-copy h2,
.admin-topbar h1,
.login-panel h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.model-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto 22px;
}

.model-filters button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
}

.model-filters button:hover,
.model-filters button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.section-heading p:not(.eyebrow),
.split-band p,
.contact-copy p,
.service-panel p,
.login-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-card,
.benefit-card,
.faq-item,
.service-panel,
.lead-form,
.login-panel,
.admin-panel,
.editor-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-card {
  overflow: hidden;
  display: grid;
  background: var(--charcoal);
  border-color: rgba(17, 20, 19, 0.18);
  box-shadow: 0 24px 58px rgba(17, 20, 19, 0.2);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 292px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(239, 53, 25, 0.28), transparent 38%),
    var(--charcoal);
  color: #ffffff;
  isolation: isolate;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 46px),
    linear-gradient(130deg, rgba(239, 53, 25, 0.18) 0 18%, transparent 18% 100%);
  opacity: 0.35;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent 52%, rgba(0, 0, 0, 0.34)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent 50%, rgba(0, 0, 0, 0.08));
}

.product-media img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02) brightness(1);
  transition: transform 180ms ease, opacity 180ms ease;
}

.product-card:hover .product-media img {
  transform: translateY(-3px) scale(1.015);
}

.media-action {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  border-radius: var(--radius);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.media-watermark,
.model-code {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.media-watermark {
  left: 14px;
  bottom: 44px;
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.8;
  font-weight: 950;
}

.model-code {
  right: 14px;
  top: 52px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.media-action svg {
  width: 15px;
  height: 15px;
}

.product-media:hover .media-action,
.product-media:focus-visible .media-action {
  opacity: 1;
  transform: translateY(0);
}

.model-tag {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  min-height: 30px;
  border-radius: var(--radius);
  padding: 6px 10px;
  background: rgba(239, 53, 25, 0.92);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.product-card-content {
  display: grid;
  gap: 15px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%),
    var(--charcoal);
  color: #ffffff;
}

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

.product-summary span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  border-radius: var(--radius);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.product-summary svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
}

.product-kicker {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  color: #ff8b76;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3,
.benefit-card h3,
.service-panel h3,
.faq-item h3 {
  margin: 0;
}

.product-card h3 {
  color: #ffffff;
}

.product-card p,
.benefit-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-card p {
  color: rgba(255, 255, 255, 0.66);
}

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

.spec-grid .spec-item,
.feature-pill,
.status-pill {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  min-height: 32px;
  border-radius: var(--radius);
  padding: 9px 10px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.spec-item svg {
  width: 16px;
  height: 16px;
  margin-bottom: 4px;
  color: var(--teal);
}

.spec-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.spec-item strong {
  margin-top: 2px;
  font-size: 13px;
}

.feature-pill,
.status-pill {
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
}

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 32px;
}

.color-dot {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  padding: 0;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(18, 19, 20, 0.18);
}

.color-dot:hover,
.color-dot.active {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(239, 53, 25, 0.86);
}

.product-card .secondary-button {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}

.product-card .secondary-button:hover {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-pill {
  background: var(--red-2);
  color: #92210f;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.benefit-card {
  padding: 18px;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--teal-2);
  color: var(--teal);
}

.icon-tile svg {
  width: 21px;
  height: 21px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: center;
  padding: 78px clamp(18px, 6vw, 76px);
  background: #161616;
  color: #ffffff;
}

.split-content {
  max-width: 720px;
}

.split-content p,
.service-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.service-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  padding: 20px;
}

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

.check-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex: 0 0 auto;
  margin-top: 3px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  padding: 18px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 72px clamp(18px, 6vw, 76px);
  background:
    linear-gradient(135deg, rgba(255, 247, 244, 0.92) 0%, rgba(238, 247, 244, 0.94) 100%),
    #f6f4ef;
}

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

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(11, 12, 12, 0.66);
  backdrop-filter: blur(10px);
}

.product-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  width: min(1120px, 100%);
  max-height: min(820px, calc(100vh - 40px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: var(--charcoal);
  color: #ffffff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-media {
  display: grid;
  place-items: center;
  min-height: 520px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.052) 0 1px, transparent 1px 58px),
    linear-gradient(135deg, rgba(239, 53, 25, 0.2), transparent 46%),
    #0f1110;
}

.modal-media img {
  width: 100%;
  height: 100%;
  max-height: 660px;
  padding: 16px;
  object-fit: contain;
  filter: saturate(0.96) contrast(1.05) brightness(0.92);
}

.modal-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  overflow-y: auto;
  padding: 34px;
}

.modal-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
}

.modal-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.62;
}

.modal-color-group {
  display: grid;
  gap: 8px;
}

.modal-color-group > span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.modal-spec-grid .spec-item {
  min-height: 88px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.modal-spec-grid .spec-item small {
  color: rgba(255, 255, 255, 0.62);
}

.modal-spec-grid .spec-item svg {
  width: 19px;
  height: 19px;
}

.modal-spec-grid .spec-item strong {
  font-size: 18px;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-methods a,
.contact-methods span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 53, 25, 0.12);
}

.full-row {
  grid-column: 1 / -1;
}

.form-status,
.save-status {
  min-height: 20px;
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.helper-text {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.form-status.error,
.save-status.error {
  color: var(--red);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 68px);
  background: #ffffff;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.site-footer img {
  width: 34px;
  height: 34px;
}

.admin-body {
  min-height: 100vh;
  background: var(--bg);
}

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

.login-panel {
  width: min(100%, 430px);
  padding: 24px;
  box-shadow: var(--shadow);
}

.login-panel > img {
  width: 74px;
  height: 74px;
}

.login-panel form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 16px;
  background: #171717;
  color: #ffffff;
}

.admin-brand {
  color: #ffffff;
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  text-align: left;
}

.admin-nav button:hover,
.admin-nav button.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.admin-side-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.admin-side-actions .secondary-button {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.admin-main {
  min-width: 0;
  padding: 24px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}

.admin-topbar h1 {
  font-size: clamp(28px, 4vw, 44px);
}

.admin-actions,
.editor-actions,
.inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.language-select-label,
.admin-language-bar label {
  display: grid;
  gap: 5px;
  min-width: 156px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.language-select-label select,
.admin-language-bar select {
  min-height: 38px;
  padding-block: 6px;
}

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

.admin-panel {
  padding: 18px;
}

.admin-panel h2,
.editor-block h3 {
  margin: 0 0 14px;
}

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

.form-grid label.full-row {
  grid-column: 1 / -1;
}

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

.editor-block {
  padding: 16px;
}

.editor-block header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.variant-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.variant-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.variant-panel-header h4 {
  margin: 0;
  font-size: 18px;
}

.variant-panel-header p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.variant-editor {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface-2);
}

.variant-editor header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.variant-editor .image-upload-row .upload-tile {
  min-height: 138px;
}

.variant-editor .upload-tile img {
  height: 138px;
}

.image-field {
  display: grid;
  gap: 10px;
}

.image-upload-row {
  display: grid;
}

.upload-tile {
  position: relative;
  display: grid;
  min-height: 178px;
  overflow: hidden;
  border: 1px dashed #f2a292;
  border-radius: var(--radius);
  padding: 0;
  background: #fff7f4;
  color: var(--ink);
}

.upload-tile img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  opacity: 0.72;
}

.upload-plus {
  position: absolute;
  left: 50%;
  top: 44%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(239, 53, 25, 0.28);
}

.upload-plus svg {
  width: 28px;
  height: 28px;
}

.upload-tile strong,
.upload-tile small {
  position: absolute;
  left: 14px;
  right: 14px;
  text-align: center;
}

.upload-tile strong {
  bottom: 34px;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
}

.upload-tile small {
  bottom: 13px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
}

.danger-button,
.tiny-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
}

.danger-button {
  color: #b42318;
  border-color: #ffc9bd;
  background: #fff2ee;
}

.tiny-button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

.status-pill {
  background: var(--gold-2);
  color: var(--gold);
}

.lead-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lead-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.lead-table th,
.lead-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.lead-table th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.lead-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .stat-grid,
  .product-grid,
  .benefit-grid,
  .split-band,
  .contact-band,
  .product-modal-panel {
    grid-template-columns: 1fr;
  }

  .product-modal-panel {
    overflow-y: auto;
  }

  .modal-media {
    min-height: 360px;
  }

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

  .admin-sidebar {
    position: static;
    height: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    gap: 10px;
  }

  .brand-link span {
    display: none;
  }

  .header-cta,
  .primary-button,
  .secondary-button {
    width: 100%;
    padding-inline: 12px;
  }

  .site-header .header-cta {
    width: auto;
  }

  .hero {
    min-height: 78vh;
    padding-top: 92px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.42)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 42%);
  }

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

  .product-media {
    height: 270px;
  }

  .media-action {
    opacity: 1;
    transform: none;
  }

  .product-modal {
    padding: 8px;
  }

  .product-modal-panel {
    max-height: calc(100vh - 16px);
    max-height: calc(100svh - 16px);
  }

  .modal-media {
    height: clamp(190px, 31vh, 250px);
    min-height: 0;
  }

  .modal-media img {
    padding: 10px;
  }

  .modal-copy {
    gap: 10px;
    padding: 18px 14px 14px;
  }

  .modal-copy h2 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .modal-copy p {
    font-size: 14px;
    line-height: 1.48;
  }

  .modal-color-group {
    gap: 6px;
  }

  .modal-color-group .color-row {
    gap: 6px;
    min-height: 27px;
  }

  .modal-color-group .color-dot {
    width: 25px;
    height: 25px;
  }

  .modal-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .modal-spec-grid .spec-item {
    min-height: 64px;
    border-radius: 8px;
    padding: 9px;
  }

  .modal-spec-grid .spec-item svg {
    width: 16px;
    height: 16px;
    margin-bottom: 3px;
  }

  .modal-spec-grid .spec-item small {
    font-size: 10px;
    line-height: 1.2;
  }

  .modal-spec-grid .spec-item strong {
    font-size: 16px;
    line-height: 1.12;
  }

  .lead-form,
  .form-grid,
  .admin-nav {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .admin-topbar,
  .variant-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .language-select-label,
  .admin-language-bar label {
    width: 100%;
  }
}
