/* Joya Enterprises — original styles */

:root {
  --ink: #080808;
  --ink-soft: #111111;
  --bone: #ffffff;
  --bone-dim: rgba(255, 255, 255, 0.92);
  --mute: #d4d0c6;
  --mute2: #b8b3a6;
  --mute3: #9a9588;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --champagne: #e0c08a;
  --champagne-soft: rgba(224, 192, 138, 0.45);
  --surface: rgba(0, 0, 0, 0.45);
  --radius: 4px;
  --container: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-ui: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--bone-dim);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bone);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

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

/* —— Animated globe —— */
#globe-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 60% at 72% 48%, transparent 0%, transparent 42%, rgba(8, 8, 8, 0.35) 75%, rgba(8, 8, 8, 0.7) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.45) 38%, rgba(8, 8, 8, 0.12) 62%, transparent 78%);
}

body.page-home::before {
  background:
    radial-gradient(ellipse 70% 65% at 75% 45%, transparent 0%, transparent 48%, rgba(8, 8, 8, 0.25) 78%, rgba(8, 8, 8, 0.55) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.62) 0%, rgba(8, 8, 8, 0.28) 40%, rgba(8, 8, 8, 0.08) 65%, transparent 82%);
}

@media (max-width: 768px) {
  body::before {
    background:
      radial-gradient(ellipse 90% 55% at 50% 38%, transparent 0%, transparent 35%, rgba(8, 8, 8, 0.45) 70%, rgba(8, 8, 8, 0.82) 100%),
      linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.25) 35%, rgba(8, 8, 8, 0.75) 100%);
  }
}

header,
main,
footer,
.fab-stack {
  position: relative;
  z-index: 2;
}

header {
  z-index: 100;
}

/* —— Header —— */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 8, 8, 0.85);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

footer .footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  line-height: 0;
}

footer .footer-logo img {
  height: 68px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.95;
}

footer .footer-logo:hover img {
  opacity: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.25s;
}

nav a:hover {
  color: var(--bone);
}

.lang {
  display: flex;
  gap: 4px;
}

.lang button {
  background: transparent;
  border: 1px solid transparent;
  color: var(--mute2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.2s, border-color 0.2s;
}

.lang button.active,
.lang button:hover {
  color: var(--bone);
  border-color: var(--line-strong);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--bone);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  header.nav-open nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .lang { display: none; }
}

/* —— Shared type —— */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute2);
  margin-bottom: 18px;
}

h1, h2, h3, h4 {
  font-family: var(--font-ui);
  color: var(--bone);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  margin-bottom: 28px;
}

h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--mute);
}

.lead {
  max-width: 680px;
  color: var(--mute);
  margin-bottom: 40px;
  font-size: 18px;
  line-height: 1.75;
}

section {
  padding: 100px 0;
}

/* —— Hero —— */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  position: relative;
}

.hero .container {
  max-width: 640px;
  padding: 28px 28px 32px;
  margin-left: 0;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 16px 0 28px;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.7);
}

.hero h1 .es {
  font-weight: 500;
  color: #f0ebe3;
}

.hero h1 .accent {
  font-style: italic;
  font-weight: 500;
  color: var(--champagne);
}

.hero p {
  max-width: 560px;
  font-size: 18px;
  color: #e8e4da;
  line-height: 1.8;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 28px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute2);
  animation: pulse-hint 2.4s ease-in-out infinite;
}

@keyframes pulse-hint {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

/* —— Intro / stats —— */
.intro {
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(12px);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.meta-grid .num {
  font-family: var(--font-ui);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  color: var(--bone);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.meta-grid .label {
  font-size: 14px;
  color: var(--mute);
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.markets-cta {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.markets-cta .tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute3);
  margin-bottom: 10px;
}

.markets-cta h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.markets-cta p {
  font-size: 17px;
  color: var(--mute);
  margin-bottom: 18px;
  max-width: 680px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--bone);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.btn-solid:hover {
  background: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* —— About —— */
.about {
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(10px);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 64px;
}

.about .meta {
  font-size: 14px;
  color: var(--mute2);
  letter-spacing: 0.06em;
  margin-top: 20px;
}

.about-media {
  margin-top: 28px;
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
  background: #111;
}

.about-image-lg {
  aspect-ratio: 16 / 10;
  max-height: 480px;
}

.about-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--mute2);
  letter-spacing: 0.06em;
}

.about-page-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  max-width: 1000px;
}

.about-page-media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

@media (max-width: 900px) {
  .about-page-layout {
    grid-template-columns: 1fr;
  }

  .about-page-media {
    position: static;
  }
}

.about .copy p {
  margin-bottom: 18px;
  color: var(--mute);
  font-size: 17px;
  line-height: 1.8;
}

.about .copy em {
  color: var(--bone-dim);
  font-style: italic;
}

.about .tagline {
  margin-top: 28px;
  color: var(--bone) !important;
}

.brochure-cta {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.brochure-cta .sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute3);
  margin-bottom: 6px;
}

.brochure-cta .body {
  font-size: 16px;
  color: var(--bone);
  line-height: 1.55;
  max-width: 520px;
}

@media (max-width: 900px) {
  .about .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* —— Chapters —— */
.chapter {
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.82);
}

.chapter .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.chapter.right .container {
  direction: rtl;
}

.chapter.right .container > * {
  direction: ltr;
}

.chapter .index {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute2);
  margin-bottom: 14px;
}

.chapter h3 {
  font-size: clamp(28px, 3.2vw, 36px);
  margin-bottom: 10px;
}

.chapter .corridor {
  font-size: 15px;
  color: var(--champagne);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.chapter .corridor .arrow {
  opacity: 0.5;
  margin: 0 6px;
}

.chapter .product-visual {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.product-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #111;
}

.chapter .product-visual::after,
.chapter .product-visual .orb {
  display: none;
}

.chapter p {
  color: var(--mute);
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.75;
}

.chapter .spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.chapter .spec dt {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute2);
}

.chapter .spec dd {
  font-size: 15px;
  color: var(--bone);
  font-family: ui-monospace, "Cascadia Code", monospace;
}

.chapter .stage {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(circle at 60% 40%, rgba(196, 165, 116, 0.15), transparent 55%),
    linear-gradient(160deg, #121212, #0a0a0a);
  position: relative;
  overflow: hidden;
}

.chapter .stage.stage-photo {
  padding: 0;
  background: #111;
}

.chapter .stage.stage-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.chapter .stage.stage-photo::before {
  display: none;
}

.chapter .stage.stage-photo::after {
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  padding-top: 48px;
}

.chapter .stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 239, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 233, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.chapter .stage::after {
  content: attr(data-iso);
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mute3);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .chapter .container,
  .chapter.right .container {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .chapter .stage {
    min-height: 200px;
    order: -1;
  }
}

/* —— Catalog —— */
.catalog {
  background: rgba(8, 8, 8, 0.85);
  border-top: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 64px;
}

.product-chip {
  padding: 16px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--bone-dim);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  cursor: default;
}

.product-chip:hover {
  border-color: var(--champagne-soft);
  color: var(--bone);
  background: rgba(196, 165, 116, 0.06);
}

.docs-block {
  margin-top: 24px;
}

.docs-block h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

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

.docs-grid .card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
}

.docs-grid h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--champagne);
}

.docs-grid ul {
  list-style: none;
}

.docs-grid li {
  font-size: 15px;
  color: var(--mute);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.docs-grid li:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
  .docs-grid { grid-template-columns: 1fr; }
}

/* —— Method —— */
.method {
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.82);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.step {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.step .n {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--champagne);
  margin-bottom: 14px;
}

.step h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--mute);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* —— Compliance —— */
.certs {
  background: rgba(8, 8, 8, 0.85);
  border-top: 1px solid var(--line);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.cert-item {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 15px;
  font-weight: 500;
  color: var(--bone-dim);
  letter-spacing: 0.02em;
}

/* —— Partners —— */
.partners {
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.82);
}

.partner-group {
  margin-bottom: 36px;
}

.partner-group-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute3);
  margin-bottom: 14px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.partner-tile {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mute);
  text-transform: uppercase;
}

/* —— FAQ —— */
.faq {
  background: rgba(8, 8, 8, 0.85);
  border-top: 1px solid var(--line);
}

.faq-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  color: var(--bone);
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 550;
}

.faq-item button .icon {
  color: var(--mute3);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.3s;
}

.faq-item.open button .icon {
  transform: rotate(45deg);
  color: var(--champagne);
}

.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
  color: var(--mute);
  font-size: 16px;
  line-height: 1.75;
}

.faq-item.open .answer {
  max-height: 240px;
  padding-bottom: 22px;
}

/* —— Enquiry —— */
.inquiry {
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.85);
}

.inquiry .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.inquiry .pitch p {
  color: var(--mute);
  margin-bottom: 16px;
  max-width: 420px;
  font-size: 17px;
  line-height: 1.75;
}

#inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#inquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

#inquiry-form label span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute2);
}

#inquiry-form input,
#inquiry-form select,
#inquiry-form textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 14px;
  color: var(--bone);
  outline: none;
  font-size: 16px;
  transition: border-color 0.2s;
}

#inquiry-form input:focus,
#inquiry-form select:focus,
#inquiry-form textarea:focus {
  border-color: var(--champagne-soft);
}

#inquiry-form select option {
  background: #111;
  color: var(--bone);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.actions .primary {
  background: var(--bone);
  color: var(--ink);
  border: none;
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s;
}

.actions .primary:hover {
  background: #fff;
}

.wa-btn {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--line-strong);
  padding: 13px 20px;
  border-radius: var(--radius);
  transition: color 0.2s, border-color 0.2s;
}

.wa-btn:hover {
  color: var(--bone);
  border-color: var(--mute);
}

.note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--mute3);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .inquiry .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  #inquiry-form {
    grid-template-columns: 1fr;
  }
}

/* —— Blog —— */
.blog {
  background: rgba(8, 8, 8, 0.85);
  border-top: 1px solid var(--line);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.blog-card {
  display: block;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.blog-card:hover {
  border-color: var(--champagne-soft);
  transform: translateY(-3px);
}

.blog-card .meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute3);
  margin-bottom: 14px;
}

.blog-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card p {
  font-size: 15px;
  color: var(--mute);
  margin-bottom: 20px;
}

.blog-card .read {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* —— Contact —— */
.contact {
  border-top: 1px solid var(--line);
  padding-bottom: 0;
  background: rgba(8, 8, 8, 0.88);
}

.contact > .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.contact .info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact .info a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}

.contact .info a:hover .val {
  color: var(--champagne);
}

.contact .info .label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute2);
}

.contact .info .val {
  font-size: 18px;
  color: var(--bone);
  font-family: var(--font-ui);
}

.map-embed {
  position: relative;
  height: 360px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.05) brightness(0.7);
}

.map-embed-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.7), transparent 40%);
}

@media (max-width: 900px) {
  .contact > .container {
    grid-template-columns: 1fr;
  }
}

/* —— Footer —— */
footer {
  border-top: 1px solid var(--line);
  padding: 64px 28px 40px;
  background: #050505;
}

footer .row {
  width: min(100%, var(--container));
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

footer .col strong {
  display: block;
  color: var(--bone);
  font-family: var(--font-ui);
  font-size: 13px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

footer .col,
footer .col a {
  font-size: 13px;
  color: var(--mute2);
  line-height: 1.7;
}

footer .col a:hover {
  color: var(--bone);
}

footer .brand-mark {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 14px;
}

footer .tag {
  margin-top: 20px;
  font-style: italic;
  color: var(--champagne);
  font-size: 13px;
}

footer .legal {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  font-size: 11px;
  color: var(--mute3);
  letter-spacing: 0.04em;
}

footer .legal a {
  color: var(--mute2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer .legal a:hover {
  color: var(--bone);
}

@media (max-width: 768px) {
  .logo img {
    height: 55px;
  }

  footer .footer-logo img {
    height: 56px;
  }

  footer .row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* —— FAB —— */
.fab-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 40;
}

.fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bone);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease), background 0.25s;
}

.fab:hover {
  transform: scale(1.06);
  background: #fff;
}

.fab svg {
  width: 20px;
  height: 20px;
}

.fab.wa {
  background: #25d366;
  color: #fff;
}

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

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* —— Home: translucent sections so globe shows through —— */
body.page-home .intro,
body.page-home .about,
body.page-home .chapter,
body.page-home .catalog,
body.page-home .method,
body.page-home .certs,
body.page-home .partners,
body.page-home .faq,
body.page-home .inquiry,
body.page-home .blog,
body.page-home .contact {
  background: rgba(8, 8, 8, 0.28);
  backdrop-filter: blur(4px);
}

body.page-home .intro .container,
body.page-home .about .container,
body.page-home .catalog .container,
body.page-home .method .container,
body.page-home .certs .container,
body.page-home .partners .container,
body.page-home .faq .container,
body.page-home .inquiry .container,
body.page-home .blog .container,
body.page-home .contact > .container,
body.page-home .chapter .content {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 28px 28px;
  backdrop-filter: blur(10px);
}

body.page-home .chapter .container {
  background: transparent;
  border: none;
  padding: 0;
}

body.page-home footer {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(10px);
}

/* —— Inner pages —— */
body.page-inner {
  background: #0a0a0a;
}

body.page-inner::before,
body.page-inner #globe-canvas {
  display: none !important;
}

.page-hero {
  padding: calc(var(--header-h) + 72px) 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(224, 192, 138, 0.12), transparent 55%),
    linear-gradient(180deg, #121212, #0a0a0a);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin: 12px 0 16px;
}

.page-hero p {
  max-width: 560px;
  font-size: 18px;
  color: var(--mute);
  line-height: 1.75;
}

.page-content {
  padding: 64px 0 100px;
}

nav a.is-active {
  color: var(--bone);
  position: relative;
}

nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--champagne);
}

@media (max-width: 900px) {
  nav a.is-active::after {
    display: none;
  }
}

/* About page: stack content in one column */
body.page-inner .about .container.about-page-layout {
  grid-template-columns: 1fr 1.2fr;
  max-width: 1000px;
}

body.page-inner .about .copy {
  max-width: none;
}

.corridor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.corridor-card {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  transition: border-color 0.25s;
  overflow: hidden;
}

.corridor-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #111;
}

.corridor-card .code,
.corridor-card h3,
.corridor-card p {
  padding-left: 20px;
  padding-right: 20px;
}

.corridor-card .code {
  padding-top: 16px;
}

.corridor-card p {
  padding-bottom: 20px;
}

.corridor-card:hover {
  border-color: var(--champagne-soft);
}

.corridor-card .code {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 8px;
}

.corridor-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.corridor-card p {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.55;
}

/* —— Featured product gallery —— */
.featured-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.featured-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.featured-card:hover {
  border-color: var(--champagne-soft);
  transform: translateY(-2px);
}

.featured-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #111;
}

.featured-card h3 {
  font-size: 16px;
  padding: 14px 16px 6px;
  margin: 0;
}

.featured-card p {
  font-size: 13px;
  color: var(--mute);
  padding: 0 16px 16px;
  line-height: 1.5;
}

/* —— Corridor data table —— */
.corridor-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.corridor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.corridor-table th,
.corridor-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.corridor-table th {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  background: rgba(0, 0, 0, 0.35);
}

.corridor-table td:first-child {
  font-family: ui-monospace, monospace;
  color: var(--bone);
  font-weight: 600;
  white-space: nowrap;
}

.corridor-table td:nth-child(2) {
  color: var(--bone);
  font-weight: 500;
  white-space: nowrap;
}

.corridor-table td:nth-child(3) {
  color: var(--mute);
  line-height: 1.6;
}

.corridor-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 640px) {
  .corridor-table th,
  .corridor-table td {
    padding: 12px 14px;
    font-size: 14px;
  }
}
