:root {
  --bg: #070708;
  --bg-2: #0e0e10;
  --panel: #141417;
  --paper: #e8e4dc;
  --paper-2: #f3efe7;
  --ink: #121214;
  --ink-soft: #3a3834;
  --muted: #9a968e;
  --gold: #c9a45c;
  --gold-2: #e4c487;
  --gold-deep: #8f6d32;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(18, 18, 20, 0.12);
  --max: 1200px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", sans-serif;
  --font-body: "Sora", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: #f5f2ec;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.locked { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow.dark { color: var(--gold-deep); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0;
}

h2 em, h1 em, h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-2);
  letter-spacing: -0.02em;
}

.section-light h2 em,
.section-light h3 em { color: var(--gold-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), background 0.25s, box-shadow 0.35s, border-color 0.25s, color 0.25s;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8893f);
  color: #121214;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(201, 164, 92, 0.28);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.btn-large {
  padding: 1rem 1.6rem;
  font-size: 0.875rem;
}

.text-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.text-link span { color: var(--gold-2); margin-left: 6px; }

/* Intro */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #050506;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

.intro.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-glow {
  position: absolute;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 92, 0.16), transparent 68%);
  animation: pulse 2.4s ease-in-out infinite;
}

.intro-ring {
  position: absolute;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  border: 1px solid rgba(201, 164, 92, 0.25);
  border-radius: 50%;
  animation: ring 2s var(--ease) forwards;
}

.intro-logo {
  position: relative;
  width: min(560px, 86vw);
  mix-blend-mode: screen;
  opacity: 0;
  animation: logoIn 1.15s 0.15s var(--ease) forwards;
}

.intro p {
  position: absolute;
  bottom: 18%;
  font-size: 0.625rem;
  letter-spacing: 0.42em;
  color: var(--gold-2);
  opacity: 0;
  animation: fadeIn 0.9s 1s forwards;
}

@keyframes logoIn {
  from { opacity: 0; transform: scale(0.88); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes ring {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse {
  50% { transform: scale(1.08); opacity: 0.75; }
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 3vw, 36px);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
  transition: background 0.35s, height 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}

.site-header.scrolled {
  background: rgba(7, 7, 8, 0.88);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.brand img {
  height: 72px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  mix-blend-mode: screen;
  transition: height 0.35s;
}

.site-header.scrolled .brand img { height: 60px; }

.main-nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 32px);
  font-size: 0.8125rem;
  color: #d8d4cc;
}

.main-nav a {
  position: relative;
  transition: color 0.25s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.main-nav a:hover { color: var(--gold-2); }
.main-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  padding: 0;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s, top 0.3s, opacity 0.3s;
}

.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 72px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("../assets/Background1.png") center/cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.55) 48%, rgba(5, 5, 6, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 5, 6, 0.78) 0%, transparent 48%),
    radial-gradient(ellipse at 70% 40%, rgba(201, 164, 92, 0.12), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.brand-mark {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gold-2);
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  margin-bottom: 22px;
  max-width: 10ch;
}

.hero-copy {
  max-width: 34rem;
  margin: 0;
  color: #d2cec6;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.hero-scroll {
  position: absolute;
  right: clamp(16px, 3vw, 36px);
  bottom: 36px;
  writing-mode: vertical-rl;
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  color: #9a968e;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-scroll span {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold), transparent);
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72vh;
}

.pillar {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
}

.pillar-media {
  position: absolute;
  inset: 0;
  background: var(--img) center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 1.1s var(--ease);
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.35) 55%, rgba(5, 5, 6, 0.2) 100%);
}

.pillar:hover .pillar-media { transform: scale(1); }

.pillar-body {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 56px);
  max-width: 420px;
}

.pillar h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 16px 0 14px;
}

.pillar p {
  margin: 0 0 22px;
  color: #c9c4bb;
  font-size: 0.95rem;
  line-height: 1.65;
}

.pillar-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-2);
}

/* Vidros */
.vidros { padding: clamp(88px, 12vw, 140px) 0; }

.section-intro {
  max-width: 720px;
  margin-bottom: clamp(48px, 7vw, 72px);
}

.section-intro h2,
.section-head h2,
.process h2,
.quote h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-top: 18px;
}

.section-intro p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.75;
}

.benefit-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: clamp(56px, 8vw, 88px);
}

.benefit-rail article {
  background: var(--bg-2);
  padding: 28px 24px;
}

.benefit-rail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--gold-2);
}

.benefit-rail span {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.split-feature:hover .split-visual img { transform: scale(1.03); }

.split-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 16px 0 18px;
}

.split-copy > p {
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.7;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #d2cec6;
  font-size: 0.9rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0a0a0c;
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.35);
  animation: marquee 28s linear infinite;
}

.marquee-track span:nth-child(3n) { color: var(--gold); }

@keyframes marquee {
  to { transform: translateX(-33.333%); }
}

/* Models / products */
.models { padding: clamp(88px, 12vw, 140px) 0; color: var(--ink); }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head > p {
  max-width: 340px;
  margin: 0;
  color: #6f6b64;
  line-height: 1.7;
  font-size: 0.95rem;
}

.section-head.light > p { color: #8f8a82; }

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

.product-card {
  background: #fff;
  border: 1px solid #ddd8cf;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
}

.product-card.featured { border-color: #c9a45c; }

.product-card.featured::before {
  content: "MAIOR POTÊNCIA";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--gold);
  color: #121214;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 9px;
  border-radius: 999px;
}

.product-image {
  height: 220px;
  background: #0c0c0e;
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-image img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-image img { transform: scale(1.05); }

.product-body { padding: 22px; }

.product-code {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--gold-deep);
}

.product-body h3 {
  font-size: 1.5rem;
  margin: 6px 0 18px;
  color: var(--ink);
}

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.spec {
  border-top: 1px solid #e6e1d8;
  padding-top: 10px;
}

.spec span {
  display: block;
  font-size: 0.625rem;
  color: #888;
  margin-bottom: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec strong {
  font-size: 0.875rem;
  color: var(--ink);
}

.product-cta {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #e6e1d8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-cta span { color: var(--gold-deep); font-size: 1.1rem; }

.catalog-note {
  margin: 22px 0 0;
  font-size: 0.75rem;
  color: #8a857c;
}

/* Panelas */
.panelas { padding: clamp(88px, 12vw, 140px) 0; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.feature-strip article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.feature-strip h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.panela-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-bottom: 28px;
}

.panela-hero {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  min-height: 520px;
}

.panela-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panela-lines {
  display: grid;
  gap: 14px;
}

.panela-line {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px 24px;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}

.panela-line:hover {
  border-color: rgba(201, 164, 92, 0.45);
  transform: translateX(4px);
}

.panela-line .ref {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--gold-2);
  font-weight: 600;
}

.panela-line h3 {
  font-size: 1.25rem;
  margin: 8px 0 10px;
}

.panela-line p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.875rem;
}

.panela-line .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.75rem;
  color: #c9c4bb;
}

.panela-line a {
  display: inline-flex;
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-2);
}

.color-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.color-band h3 {
  font-size: 1.8rem;
  margin: 12px 0 10px;
}

.color-band p {
  margin: 0;
  color: var(--muted);
  max-width: 420px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatches span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

/* Gallery */
.projects { padding: clamp(88px, 12vw, 140px) 0; color: var(--ink); }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  grid-column: span 4;
}

.gallery-item.tall {
  grid-row: span 2;
  grid-column: span 4;
}

.gallery-item.wide { grid-column: span 8; }

.gallery-item.media { grid-column: span 4; }

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 50%);
  pointer-events: none;
}

.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.05); }

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

/* Process */
.process { padding: clamp(88px, 12vw, 140px) 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.steps article {
  padding: 28px 24px 8px 0;
  border-right: 1px solid var(--line);
  min-height: 200px;
}

.steps article:not(:first-child) { padding-left: 24px; }
.steps article:last-child { border-right: 0; }

.steps span {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--gold);
}

.steps h3 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 220px;
  line-height: 1.6;
}

/* Quote */
.quote {
  position: relative;
  padding: clamp(100px, 12vw, 150px) 0;
  overflow: hidden;
}

.quote-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 7, 8, 0.94), rgba(7, 7, 8, 0.72)),
    url("../assets/vidros/vidro-01.jpg") center/cover;
}

.quote-inner { position: relative; z-index: 2; }

.quote h2 { max-width: 14ch; }

.quote > .container > p,
.quote-inner > p {
  max-width: 520px;
  color: var(--muted);
  margin: 22px 0 36px;
  line-height: 1.7;
}

.quote-form {
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  outline: 0;
  transition: border-color 0.25s;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: rgba(201, 164, 92, 0.7);
}

.quote-form select option { color: #121214; }
.quote-form textarea { grid-column: 1 / -1; resize: vertical; }
.quote-form button { width: max-content; }

.form-message {
  font-size: 0.75rem;
  color: var(--gold-2);
  align-self: center;
}

.form-message.error { color: #ff8c8c; }

.quote-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  font-size: 0.875rem;
  font-weight: 600;
}

.quote-contacts a {
  color: var(--gold-2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.quote-contacts a:hover { border-bottom-color: var(--gold-2); }

/* Footer */
.footer {
  background: #050506;
  border-top: 1px solid var(--line);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo {
  width: min(280px, 100%);
  mix-blend-mode: screen;
  margin-bottom: 12px;
}

.footer p,
.footer a,
.footer span {
  display: block;
  color: #85827c;
  font-size: 0.8125rem;
  line-height: 1.9;
}

.footer a:hover { color: var(--gold-2); }

.footer-title {
  color: #fff !important;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #555;
  font-size: 0.6875rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.35s var(--ease);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: 0;
  color: #aaa;
  font-size: 1.75rem;
  line-height: 1;
}

.modal-kicker {
  color: var(--gold-2);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.modal-card h2 {
  font-size: 2rem;
  margin: 12px 0 8px;
}

.modal-card > p {
  color: #888;
  font-size: 0.875rem;
  margin: 0;
}

.modal-card form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.modal-card label {
  display: grid;
  gap: 7px;
  font-size: 0.6875rem;
  color: #aaa;
}

.modal-card input {
  background: #080809;
  border: 1px solid #29292d;
  color: #fff;
  border-radius: 10px;
  padding: 12px;
  outline: 0;
}

.modal-switch {
  border: 0;
  background: none;
  color: var(--gold-2);
  margin-top: 18px;
  padding: 0;
  font-size: 0.75rem;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  background: #17171b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 18px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.3s;
  font-size: 0.8125rem;
}

.toast.show {
  opacity: 1;
  transform: none;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 24px;
    background: rgba(7, 7, 8, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

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

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; margin-right: 8px; }

  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 420px; }

  .benefit-rail { grid-template-columns: 1fr 1fr; }
  .split-feature { grid-template-columns: 1fr; }
  .split-visual { aspect-ratio: 16 / 10; max-height: 420px; }

  .product-grid { grid-template-columns: 1fr 1fr; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .panela-showcase { grid-template-columns: 1fr; }
  .panela-hero { min-height: 380px; }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item,
  .gallery-item.tall,
  .gallery-item.wide,
  .gallery-item.media {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item.wide { grid-column: span 2; }

  .steps { grid-template-columns: 1fr 1fr; }
  .steps article:nth-child(2) { border-right: 0; }
  .steps article:nth-child(3),
  .steps article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .section-head { display: block; }
  .section-head > p { margin-top: 20px; }
  .color-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--max)); }
  .site-header { height: 76px; }
  .brand img { height: 58px; max-width: 190px; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn-gold { padding: 0.7rem 1rem; font-size: 0.75rem; }

  .hero { padding-bottom: 56px; }
  .hero-scroll { display: none; }
  .brand-mark { font-size: 1.2rem; }

  .benefit-rail,
  .product-grid,
  .feature-strip,
  .steps,
  .footer-grid { grid-template-columns: 1fr; }

  .steps article {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
    padding: 24px 0 !important;
    min-height: auto;
  }

  .gallery { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }

  .quote-form { grid-template-columns: 1fr; }
  .quote-form textarea { grid-column: auto; }
  .quote-form button { width: 100%; }

  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .product-card.featured::before { font-size: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
