/* ========================================
   ZAVEX NG — Homepage (exact mockup)
   ======================================== */

.home-page {
  --home-black: #000000;
  --home-gold: #c9a962;
  --home-gold-light: #e8d5a3;
  --home-gold-muted: #8a7344;
  --home-text: #ffffff;
  --home-text-muted: rgba(255, 255, 255, 0.55);
  --home-border: rgba(201, 169, 98, 0.45);
  --home-max: 980px;
  --home-side: clamp(1.25rem, 5vw, 4rem);
  --home-gap: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--home-black);
  color: var(--home-text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

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

.home-page a {
  color: inherit;
  text-decoration: none;
}

/* ---------- HEADER ---------- */
.home-header {
  position: relative;
  z-index: 20;
  padding: 2rem var(--home-side) 0;
}

.home-header-inner {
  width: min(var(--home-max), calc(100% - 2 * var(--home-side)));
  max-width: var(--home-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
}

.home-logo {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
}

.home-logo-img {
  display: block;
  height: clamp(2.5rem, 5vw, 3.25rem);
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

.home-logo-mark {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.home-logo-mark .ng {
  color: var(--home-gold-muted);
}

.home-logo-tagline {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--home-text-muted);
}

.home-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-top: 0.35rem;
}

.home-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--home-text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.home-nav-chevron {
  width: 8px;
  height: 8px;
  opacity: 0.85;
}

.home-header-cta {
  justify-self: end;
  padding-top: 0.15rem;
}

.home-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--home-border);
  border-radius: 999px;
  background: transparent;
  color: var(--home-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.home-btn-outline svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.home-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.home-nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--home-text);
}

/* ---------- HERO ---------- */
.home-hero {
  position: relative;
  min-height: clamp(460px, 58vh, 620px);
  padding: clamp(1.5rem, 4vw, 3rem) var(--home-side) 0;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 18%;
}

.home-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.15) 68%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 35%, rgba(0, 0, 0, 0.75) 100%);
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--home-max), calc(100% - 2 * var(--home-side)));
  max-width: var(--home-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 2rem;
}

.home-hero-copy {
  max-width: 640px;
  padding-top: clamp(1rem, 3vw, 2.5rem);
}

.home-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 6.5vw, 4.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 2.25rem;
  color: var(--home-text);
}

.home-hero h1 .gold {
  background: linear-gradient(135deg, #f0e6c8 0%, #c9a962 45%, #a8843a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero-side {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--home-text-muted);
  padding-top: clamp(2rem, 8vw, 5rem);
  margin-right: clamp(0.5rem, 3vw, 2rem);
  white-space: nowrap;
}

/* ---------- PRODUCTS ---------- */
.home-products {
  position: relative;
  z-index: 5;
  margin-top: clamp(-2rem, -4vw, -3.5rem);
  padding-inline: var(--home-side);
}

.home-products-head {
  width: 100%;
  max-width: var(--home-max);
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  padding-top: clamp(2rem, 4vw, 3rem);
}

.home-products-grid {
  width: 100%;
  max-width: var(--home-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--home-gap);
}

.home-product-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: clamp(400px, 44vw, 540px);
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}

.home-product-card-bg {
  position: absolute;
  inset: 0;
}

.home-product-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-product-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.82) 100%);
}

.home-product-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.home-product-top {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.home-product-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--home-text);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.home-product-name .tm {
  font-size: 0.55em;
  vertical-align: super;
  opacity: 0.9;
}

.home-product-name .bolt {
  color: var(--home-gold);
  font-size: 0.85em;
}

.home-product-category {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.home-product-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--home-text);
  margin-top: auto;
}

.home-product-explore svg {
  width: 14px;
  height: 14px;
  stroke: var(--home-gold);
  fill: none;
  stroke-width: 1.5;
}

/* ---------- DIVIDER ---------- */
.home-divider {
  width: min(var(--home-max), calc(100% - 2 * var(--home-side)));
  max-width: var(--home-max);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.home-divider::before,
.home-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.home-divider span {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--home-text-muted);
  white-space: nowrap;
}

/* ---------- FOOTER ---------- */
.home-footer {
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--home-side) clamp(2rem, 4vw, 3rem);
}

.home-footer-inner {
  width: min(var(--home-max), calc(100% - 2 * var(--home-side)));
  max-width: var(--home-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.home-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.home-footer-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--home-text);
}

.home-footer-social {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.home-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--home-text);
  opacity: 0.9;
}

.home-footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.home-hero-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.75;
  color: var(--home-text-muted);
  max-width: 520px;
  margin: 0 0 2rem;
  font-family: 'Inter', sans-serif;
}

.home-hero h1 {
  margin-bottom: 1.25rem;
}

.home-lead-bold {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  line-height: 1.65;
}

.gold-text {
  background: linear-gradient(135deg, #f0e6c8 0%, #c9a962 45%, #a8843a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-wrap {
  width: min(var(--home-max), calc(100% - 2 * var(--home-side)));
  max-width: var(--home-max);
  margin-inline: auto;
  padding-inline: 0;
}

.home-section {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.home-section-tight {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.home-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--home-gold-muted);
  margin-bottom: 1rem;
}

.home-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--home-text);
}

.home-heading .tm {
  font-size: 0.55em;
  vertical-align: super;
}

.home-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--home-text-muted);
  margin: 0 0 1rem;
  max-width: 640px;
}

.home-section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.home-section-intro {
  max-width: 560px;
}

.home-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--home-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.home-btn-outline.full {
  width: 100%;
  justify-content: center;
}

body.home-page.modal-open {
  overflow: hidden;
}

/* ---------- ABOUT ---------- */
.home-about {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.home-about-copy {
  max-width: 680px;
}

.home-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--home-gap);
  width: 100%;
}

.home-pillar {
  padding: 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.home-pillar-icon {
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.75rem;
}

.home-pillar h4 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--home-text);
}

.home-pillar p {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--home-text-muted);
  margin: 0;
}

/* ---------- PRODUCT DETAIL ---------- */
.home-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--home-gap);
  align-items: center;
}

.home-product-detail.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.home-product-detail.reverse .home-product-detail-media {
  order: 2;
}

.home-product-detail.reverse .home-product-detail-copy {
  order: 1;
}

.home-product-detail-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  background: #0a0a0a;
}

.home-product-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.home-product-detail-copy {
  min-width: 0;
}

.home-product-detail-copy .home-text {
  max-width: none;
}

.home-product-detail-media.valerie img,
.home-product-detail-media.wavy img,
.home-product-detail-media.jolt img {
  object-fit: contain;
  padding: 2rem;
}

.home-product-detail-media.valerie img {
  background: radial-gradient(circle at center, rgba(201, 169, 98, 0.14), transparent 70%);
}

.home-product-detail-media.wavy img {
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.12), transparent 70%);
}

.home-product-detail-media.jolt img {
  background:
    radial-gradient(circle at 75% 75%, rgba(56, 189, 248, 0.1), transparent 55%),
    radial-gradient(circle at 25% 25%, rgba(201, 169, 98, 0.12), transparent 60%);
}

.home-checklist {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.home-checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.home-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--home-gold);
  font-size: 0.75rem;
}

.home-checklist.compact {
  margin: 1rem 0 1.5rem;
}

.home-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

/* ---------- PRICING ---------- */
.home-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.home-pricing-card {
  position: relative;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
}

.home-pricing-card.featured {
  border-color: rgba(201, 169, 98, 0.35);
  background: rgba(201, 169, 98, 0.04);
}

.home-pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--home-gold);
  border: 1px solid var(--home-border);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

.home-pricing-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.home-pricing-tier {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--home-gold-muted);
}

.home-pricing-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0.35rem 0 0.5rem;
  color: var(--home-text);
}

.home-pricing-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--home-text-muted);
  line-height: 1.6;
  margin: 0 0 0.75rem;
  flex: 1;
}

.home-pricing-amount {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--home-gold-light);
  margin-bottom: 0.5rem;
}

.home-pricing-was {
  font-size: 0.78rem;
  color: var(--home-text-muted);
  text-decoration: line-through;
  margin: -0.25rem 0 0.5rem;
}

.home-pricing-save {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6ee7a0;
  margin-bottom: 0.35rem;
}

.home-jolt-pricing-head {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(201, 169, 98, 0.15);
}

.home-jolt-pricing-grid {
  margin-top: 1.5rem;
}

.home-jolt-bundle-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--home-text-muted);
  line-height: 1.65;
  text-align: center;
}

.home-jolt-bundle-note a {
  color: var(--home-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-jolt-bundle-note em {
  font-style: normal;
  color: #6ee7a0;
}

/* ---------- WORK ---------- */
.home-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.home-work-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: block;
}

.home-work-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.home-work-card-body {
  padding: 1.15rem;
}

.home-work-tag {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--home-gold-muted);
}

.home-work-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  margin: 0.35rem 0 0.4rem;
  color: var(--home-text);
}

.home-work-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--home-text-muted);
  margin: 0;
  line-height: 1.6;
}

.home-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ---------- CASE STUDY & TESTIMONIALS ---------- */
.home-case-grid,
.home-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.home-case-card,
.home-testimonial {
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.home-case-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.home-case-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
  color: var(--home-text);
}

.home-case-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--home-text-muted);
  line-height: 1.7;
  margin: 0;
}

.home-testimonial p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.25rem;
  font-style: italic;
}

.home-testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.home-testimonial footer strong {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--home-text);
  font-weight: 500;
}

.home-testimonial footer span {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--home-text-muted);
}

/* ---------- CONTACT ---------- */
.home-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.home-form {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.home-form-group {
  margin-bottom: 1rem;
}

.home-form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--home-text-muted);
  margin-bottom: 0.45rem;
}

.home-form-group input,
.home-form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  color: var(--home-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.home-form-group input:focus,
.home-form-group textarea:focus {
  outline: none;
  border-color: var(--home-border);
}

.home-form-success {
  display: none;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6ee7a0;
}

.home-form-success.show {
  display: block;
}

.home-form-error {
  color: #ef4444;
  font-size: 0.82rem;
  margin: 0.5rem 0;
  min-height: 1rem;
}

.home-footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--home-text-muted);
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- EMAIL MODAL ---------- */
.home-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-modal {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  overflow: hidden;
}

.home-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-modal-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.home-modal-close {
  background: none;
  border: none;
  color: var(--home-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.home-modal-body {
  padding: 1.25rem;
}

.home-modal-body p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--home-text-muted);
  margin: 0 0 1rem;
}

.home-modal-body input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  color: var(--home-text);
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.5rem;
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 900px) {
  .home-pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .home-page {
    --home-side: clamp(1.25rem, 5vw, 2.5rem);
  }

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

  .home-product-detail,
  .home-product-detail.reverse,
  .home-contact {
    grid-template-columns: 1fr;
  }

  .home-product-detail.reverse .home-product-detail-media,
  .home-product-detail.reverse .home-product-detail-copy {
    order: unset;
  }

  .home-product-detail-media {
    max-width: min(100%, 360px);
  }

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

  .home-work-grid,
  .home-case-grid,
  .home-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .home-products-grid {
    grid-template-columns: 1fr;
    max-width: min(100%, 520px);
  }

  .home-hero-side {
    display: none;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
  }

  .home-product-detail-media {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .home-page {
    --home-side: clamp(1.35rem, 6.5vw, 2.25rem);
  }

  .home-header {
    padding-top: 1.25rem;
  }

  .home-header-inner {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .home-nav {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    z-index: 100;
    padding: 0 var(--home-side);
  }

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

  .home-nav-toggle {
    display: flex;
    z-index: 101;
  }

  .home-header-cta {
    display: none;
  }

  .home-hero {
    min-height: auto;
    padding-bottom: 1.5rem;
  }

  .home-hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.85rem);
    margin-bottom: 1rem;
  }

  .home-hero-lead {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .home-heading {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .home-text,
  .home-section-intro {
    max-width: 100%;
  }

  .home-products {
    margin-top: -1.5rem;
  }

  .home-product-card {
    min-height: clamp(360px, 78vw, 460px);
  }

  .home-pillars {
    grid-template-columns: 1fr;
  }

  .home-about-copy {
    max-width: 100%;
  }

  .home-pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .home-detail-actions .home-btn-outline,
  .home-detail-actions .home-btn-ghost {
    justify-content: center;
    width: 100%;
  }

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

  .home-section-actions .home-btn-outline,
  .home-section-actions .home-btn-ghost {
    justify-content: center;
    width: 100%;
  }

  .home-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }

  .home-footer-copy {
    grid-column: auto;
  }

  .home-footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-footer-social {
    justify-self: center;
  }

  .home-divider span {
    font-size: 0.5rem;
    letter-spacing: 0.22em;
    white-space: normal;
    text-align: center;
  }

  .home-product-detail-media img {
    min-height: 240px;
  }
}

@media (max-width: 480px) {
  .home-page {
    --home-side: 1.35rem;
  }

  .home-btn-outline {
    padding: 0.65rem 1.1rem;
    font-size: 0.68rem;
  }

  .home-product-name {
    font-size: 1.15rem;
  }
}
