/* =========================================================
   Perfect Dream Modular
   assets/css/style.css
   Premium static website styling
========================================================= */

:root {
  --bg: #071014;
  --bg-2: #0d181d;
  --bg-3: #111f26;
  --steel: #1c2f38;
  --steel-light: #304650;
  --white: #ffffff;
  --off-white: #f5f1e8;
  --muted: #aeb8bc;
  --muted-dark: #5f6e75;
  --gold: #c8a24a;
  --gold-light: #e0c16d;
  --gold-dark: #8f6f23;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(7, 16, 20, 0.12);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 18px 40px rgba(7, 16, 20, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1180px;
  --header-height: 84px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =========================================================
   Reset + Base
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  cursor: pointer;
}

p {
  margin: 0;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  max-width: 950px;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 4.1rem);
  max-width: 920px;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

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

::selection {
  background: var(--gold);
  color: var(--bg);
}

/* =========================================================
   Header + Navigation
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(7, 16, 20, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(200, 162, 74, 0.55);
  background:
    linear-gradient(135deg, rgba(200, 162, 74, 0.22), rgba(255, 255, 255, 0.04)),
    var(--bg-2);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.075);
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: var(--bg);
  background: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav .nav-cta:hover {
  color: var(--bg);
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 99px;
  transition: 0.2s ease;
}

/* =========================================================
   Buttons
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: 0.22s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #111;
  box-shadow: 0 18px 38px rgba(200, 162, 74, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(200, 162, 74, 0.3);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

/* =========================================================
   Hero
========================================================= */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  padding: 96px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 162, 74, 0.16), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(89, 130, 142, 0.2), transparent 28%),
    linear-gradient(135deg, #071014 0%, #0b151a 50%, #14252c 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 260px;
  background: linear-gradient(to bottom, transparent, rgba(7, 16, 20, 0.98));
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 80%);
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  padding-top: 20px;
}

.eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.hero-text {
  max-width: 760px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 580px;
}

.visual-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    linear-gradient(145deg, rgba(48, 70, 80, 0.9), rgba(7, 16, 20, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-card-large {
  position: absolute;
  inset: 40px 0 0 20px;
  padding: 28px;
}

.visual-card-large::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 45%, transparent 46%),
    radial-gradient(circle at 20% 20%, rgba(200, 162, 74, 0.18), transparent 30%);
  pointer-events: none;
}

.visual-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 10px 12px;
  border: 1px solid rgba(200, 162, 74, 0.45);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(7, 16, 20, 0.7);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.module-stack {
  position: absolute;
  left: 50px;
  right: 38px;
  bottom: 58px;
  display: grid;
  gap: 18px;
  transform: perspective(900px) rotateX(8deg) rotateY(-12deg);
}

.module-stack span {
  height: 90px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 28px),
    linear-gradient(135deg, rgba(200, 162, 74, 0.24), rgba(255, 255, 255, 0.06)),
    #162a32;
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.35);
}

.module-stack span:nth-child(2) {
  margin-left: 45px;
}

.module-stack span:nth-child(3) {
  margin-left: 90px;
}

.floating-card {
  position: absolute;
  z-index: 4;
  width: 245px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.floating-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.floating-card small {
  color: var(--muted);
  font-weight: 700;
}

.card-top {
  top: 0;
  right: 8px;
}

.card-bottom {
  bottom: 18px;
  left: 0;
}

/* =========================================================
   Trust Strip
========================================================= */

.trust-strip {
  position: relative;
  z-index: 3;
  padding: 24px 0;
  background: #081216;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-grid div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.trust-grid strong {
  display: block;
  color: var(--white);
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.trust-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

/* =========================================================
   Sections
========================================================= */

.section {
  padding: 104px 0;
}

.section-light {
  background:
    radial-gradient(circle at 90% 10%, rgba(200, 162, 74, 0.1), transparent 26%),
    var(--off-white);
  color: var(--bg);
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 44px;
}

.section-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted-dark);
  font-size: 1.08rem;
}

.section-heading.inverted p:not(.eyebrow) {
  color: var(--muted);
}

/* =========================================================
   Product Cards
========================================================= */

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

.product-card {
  position: relative;
  min-height: 285px;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(7, 16, 20, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: 0.24s ease;
}

.product-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  background: rgba(200, 162, 74, 0.14);
  border-radius: 999px;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(7, 16, 20, 0.18);
}

.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: #101d23;
  color: var(--gold-light);
  font-size: 1.4rem;
  font-weight: 900;
}

.product-card h3 {
  margin-bottom: 12px;
  color: #0b151a;
}

.product-card p {
  color: var(--muted-dark);
  font-size: 0.95rem;
}

.product-card a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--gold-dark);
  font-weight: 900;
  position: relative;
  z-index: 2;
}

.product-card a:hover {
  color: #111;
}

/* =========================================================
   Distributor Section
========================================================= */

.distributor-section {
  background:
    linear-gradient(135deg, rgba(13, 24, 29, 0.96), rgba(7, 16, 20, 1)),
    radial-gradient(circle at 20% 30%, rgba(200, 162, 74, 0.18), transparent 36%);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 64px;
  align-items: center;
}

.split-grid p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
  margin-top: 22px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 32px 0;
}

.check-list span {
  position: relative;
  padding: 14px 14px 14px 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 700;
}

.check-list span::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--gold-light);
  font-weight: 900;
}

.stat-panel {
  display: grid;
  gap: 16px;
}

.stat-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035));
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  color: var(--gold-light);
  font-size: 2.1rem;
  letter-spacing: -0.06em;
}

.stat-card span {
  font-size: 1.05rem;
  font-weight: 850;
}

/* =========================================================
   Use Cases
========================================================= */

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.use-case {
  min-height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(7, 16, 20, 0.1);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.72));
  color: #0b151a;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(7, 16, 20, 0.08);
}

/* =========================================================
   Process Section
========================================================= */

.process-section {
  background:
    radial-gradient(circle at 80% 0%, rgba(200, 162, 74, 0.16), transparent 30%),
    linear-gradient(180deg, #071014, #0f1d23);
}

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

.process-grid article {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.095), rgba(255,255,255,0.028));
  transition: 0.24s ease;
}

.process-grid article:hover {
  transform: translateY(-5px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04));
}

.process-grid span {
  display: inline-flex;
  color: var(--gold-light);
  font-weight: 950;
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.process-grid h3 {
  margin-bottom: 12px;
}

.process-grid p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* =========================================================
   CTA + Compliance
========================================================= */

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 20%, rgba(200, 162, 74, 0.22), transparent 30%),
    #0b151a;
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-panel p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  margin-top: 14px;
}

.compliance-note {
  padding: 30px 0;
  background: #101d23;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compliance-note .container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
}

.compliance-note strong {
  color: var(--gold-light);
}

.compliance-note p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* =========================================================
   Footer
========================================================= */

.site-footer {
  padding: 68px 0 28px;
  background: #050b0e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.7fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 440px;
  color: var(--muted);
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 16px;
}

.site-footer a:not(.brand) {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 650;
}

.site-footer a:not(.brand):hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

/* =========================================================
   Interior Page Shared Styles
   These support products.html, projects.html, etc.
========================================================= */

.page-hero {
  position: relative;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 82% 22%, rgba(200, 162, 74, 0.16), transparent 32%),
    linear-gradient(135deg, #071014, #13252c);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.32;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(2.65rem, 5.6vw, 5.6rem);
  max-width: 980px;
}

.page-hero p:not(.eyebrow) {
  margin-top: 24px;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
}

.page-section {
  padding: 86px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.content-card {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(7, 16, 20, 0.08);
  box-shadow: var(--shadow-soft);
  color: var(--bg);
}

.content-card h3 {
  margin-bottom: 12px;
}

.content-card p {
  color: var(--muted-dark);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.feature-list li,
.feature-list span {
  list-style: none;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(7, 16, 20, 0.045);
  color: #15262d;
  font-weight: 750;
}

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

.project-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(7, 16, 20, 0.08);
  background:
    linear-gradient(to top, rgba(7, 16, 20, 0.96), rgba(7, 16, 20, 0.15)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.1) 0 2px, transparent 2px 34px),
    linear-gradient(135deg, #29434d, #0b151a);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 26px;
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-card p {
  color: var(--muted);
}

.form-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
}

.contact-card a {
  display: block;
  margin-top: 12px;
  color: var(--gold-light);
  font-weight: 850;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--bg);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 850;
  font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(7, 16, 20, 0.15);
  border-radius: 14px;
  padding: 14px 14px;
  background: #f8f7f2;
  color: var(--bg);
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 162, 74, 0.15);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  color: var(--muted-dark);
  font-size: 0.9rem;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .content-grid,
  .form-wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

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

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

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

  .process-grid,
  .gallery-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 76px;
  }

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

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 16, 20, 0.96);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .visual-card-large {
    inset: 34px 0 0 0;
  }

  .floating-card {
    width: 220px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }

  .compliance-note .container {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small {
    font-size: 0.64rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .section,
  .page-section {
    padding: 68px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof span {
    font-size: 0.8rem;
  }

  .hero-visual {
    min-height: 355px;
  }

  .visual-card-large {
    border-radius: 24px;
    padding: 20px;
  }

  .module-stack {
    left: 28px;
    right: 20px;
    bottom: 44px;
    gap: 12px;
  }

  .module-stack span {
    height: 62px;
    border-radius: 14px;
  }

  .module-stack span:nth-child(2) {
    margin-left: 26px;
  }

  .module-stack span:nth-child(3) {
    margin-left: 52px;
  }

  .floating-card {
    width: 190px;
    padding: 14px;
    border-radius: 18px;
  }

  .card-top {
    right: 0;
  }

  .trust-grid,
  .product-grid,
  .use-case-grid,
  .process-grid,
  .gallery-grid,
  .project-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-grid div {
    padding: 18px;
  }

  .product-card {
    min-height: auto;
  }

  .stat-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-hero {
    padding: 70px 0 58px;
  }

  .quote-form {
    padding: 22px;
  }
}
