@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap");

:root {
  --ink: #0e1420;
  --navy: #111a2a;
  --deep: #0a1018;
  --paper: #f7f1e3;
  --white: #fff;
  --gold: #d5a13a;
  --gold-soft: #f2ca72;
  --teal: #14746f;
  --muted: #66707c;
  --line: rgba(17, 21, 27, .13);
  --light-line: rgba(255, 255, 255, .16);
  --radius: 10px;
  --shadow: 0 24px 70px rgba(10, 16, 24, .18);
  --container: min(1180px, calc(100% - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(213,161,58,.16), transparent 28%),
    radial-gradient(circle at 90% 3%, rgba(20,116,111,.14), transparent 26%),
    linear-gradient(180deg, #f8f2e7, #eef3f4 48%, #f8f2e7);
  overflow-x: hidden;
}

body.cursor-enhanced {
  cursor: default;
}

body.modal-open {
  overflow: hidden;
}

body.cursor-enhanced a,
body.cursor-enhanced button,
body.cursor-enhanced input,
body.cursor-enhanced textarea,
body.cursor-enhanced select,
body.cursor-enhanced label[for],
body.cursor-enhanced [role="button"] {
  cursor: default;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17,26,42,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,26,42,.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.18));
  animation: driftGrid 24s linear infinite;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: var(--container); margin: 0 auto; }

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  border-radius: 999px;
  border: 1.5px solid rgba(242,202,114,.72);
  background: radial-gradient(circle, rgba(242,202,114,.16), rgba(242,202,114,0) 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 24px rgba(213,161,58,.18);
  pointer-events: none;
  z-index: 120;
  opacity: 0;
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) scale(var(--cursor-scale, 1));
  transform-origin: center;
  transition: opacity .2s ease, width .22s ease, height .22s ease, margin .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

.cursor-ring.is-visible {
  opacity: 1;
}

.cursor-ring.is-active {
  width: 44px;
  height: 44px;
  margin-left: -22px;
  margin-top: -22px;
  border-color: rgba(20,116,111,.72);
  background: radial-gradient(circle, rgba(20,116,111,.14), rgba(20,116,111,0) 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 28px rgba(20,116,111,.18);
}

.cursor-ring.is-pressed {
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -11px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 20, 32, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--light-line);
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.topbar.is-scrolled {
  background: rgba(14, 20, 32, .94);
  border-bottom-color: rgba(242,202,114,.18);
  box-shadow: 0 16px 42px rgba(10,16,24,.16);
}

.nav {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--white);
}

.brand-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  padding: 6px;
  background:
    linear-gradient(135deg, rgba(242,202,114,.22), rgba(213,161,58,.08)),
    rgba(0,0,0,.76);
  border: 1px solid rgba(242,202,114,.42);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 16px 34px rgba(213,161,58,.28);
  overflow: hidden;
  position: relative;
}

.brand-logo::after {
  content: "";
  position: absolute;
  inset: -40% 55% -40% -40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: rotate(24deg);
  animation: logoShine 4.6s ease-in-out infinite;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1.18) contrast(1.15) drop-shadow(0 0 10px rgba(242,202,114,.36));
  transform: scale(1.85);
}

.brand strong { display: block; color: var(--gold-soft); font-size: 19px; line-height: 1.05; }
.brand span span { display: block; color: rgba(255,255,255,.68); font-size: 12px; margin-top: 3px; }

.links {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.links a {
  position: relative;
  padding: 10px 11px;
  border-radius: var(--radius);
  color: rgba(255,255,255,.78);
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}

.links a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242,202,114,.18), var(--gold-soft), rgba(242,202,114,0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.links a:hover,
.links a.active {
  color: var(--gold-soft);
  background: rgba(255,255,255,.08);
}

.links a:hover,
.links a:focus-visible,
.links a.active {
  transform: translateY(-1px);
}

.links a:hover::after,
.links a:focus-visible::after,
.links a.active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-drop-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.nav-dropdown:hover .nav-drop-trigger svg,
.nav-dropdown:focus-within .nav-drop-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  min-width: 248px;
  padding: 10px;
  border: 1px solid rgba(242,202,114,.28);
  border-radius: var(--radius);
  background: rgba(12, 18, 29, .97);
  box-shadow: 0 26px 70px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-panel a {
  display: block;
  padding: 13px 14px;
  border-radius: 7px;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  line-height: 1.25;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus {
  color: var(--gold-soft);
  background: rgba(255,255,255,.08);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--light-line);
  background: rgba(255,255,255,.08);
  color: var(--white);
  cursor: pointer;
}

.menu-btn svg { width: 20px; height: 20px; }

.hero {
  --mx: 72%;
  --my: 38%;
  min-height: 560px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(213,161,58,.24), transparent 25%),
    linear-gradient(105deg, rgba(10,16,24,.96), rgba(10,16,24,.78) 48%, rgba(10,16,24,.32)),
    url("panoramic-elevators.jpg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -24% 22%;
  height: 310px;
  background: linear-gradient(90deg, transparent, rgba(242,202,114,.24), transparent);
  transform: rotate(-7deg);
  filter: blur(18px);
  animation: goldSweep 9s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  animation: driftGrid 18s linear infinite;
}

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

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
  transition: transform .35s ease-out;
}

.hero-copy {
  animation: heroRise .78s ease-out both;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy p {
  opacity: 0;
  animation: heroItemReveal .74s ease-out forwards;
}

.hero-copy .eyebrow { animation-delay: .06s; }
.hero-copy h1 { animation-delay: .16s; }
.hero-copy p { animation-delay: .3s; }

.hero-logo-panel {
  min-height: 360px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid rgba(242,202,114,.34);
  background:
    radial-gradient(circle at 50% 42%, rgba(213,161,58,.22), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.025));
  box-shadow: 0 28px 86px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.07);
  overflow: hidden;
  position: relative;
  transition: border-color .28s ease, box-shadow .28s ease;
  animation: floatLogo 6s ease-in-out infinite;
}

.hero-logo-panel::before,
.hero-logo-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(242,202,114,.22);
  border-radius: var(--radius);
}

.hero-logo-panel::after {
  inset: -45% auto -45% -35%;
  width: 48%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: rotate(17deg);
  animation: panelShine 5.5s ease-in-out infinite;
}

.hero-logo-panel img {
  width: min(78%, 250px);
  filter: saturate(1.18) contrast(1.18) drop-shadow(0 0 28px rgba(242,202,114,.34));
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--gold-soft);
}

h1, h2, h3, p { margin: 0; }
h1 {
  max-width: 880px;
  font-size: clamp(44px, 6vw, 88px);
  line-height: .96;
  overflow-wrap: break-word;
}

.hero p {
  max-width: 690px;
  margin-top: 24px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

body[data-page="home"] .hero {
  --mx: 76%;
  --my: 24%;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(213,161,58,.26), transparent 25%),
    linear-gradient(105deg, rgba(10,16,24,.95), rgba(10,16,24,.78) 46%, rgba(10,16,24,.42)),
    url("home-hero-lobby.png") center/cover no-repeat;
}

body[data-page="home"] .hero-logo-panel img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(67%) saturate(620%) hue-rotate(355deg) brightness(98%) contrast(94%) drop-shadow(0 0 30px rgba(242,202,114,.44));
}

.products-hero {
  --mx: 72%;
  --my: 38%;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(213,161,58,.22), transparent 25%),
    linear-gradient(105deg, rgba(10,16,24,.96), rgba(10,16,24,.76) 48%, rgba(10,16,24,.3)),
    url("cabin-interior.jpg") center/cover no-repeat;
}

.contact-hero {
  min-height: 500px;
}

.section {
  padding: 86px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17,26,42,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,26,42,.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 28%, rgba(213,161,58,.12), transparent 28%),
    radial-gradient(circle at 86% 70%, rgba(20,116,111,.1), transparent 26%);
  background-size: 78px 78px, 78px 78px, 100% 100%, 100% 100%;
  animation: sectionGridFloat 20s linear infinite, sectionGlowPulse 8s ease-in-out infinite;
}

#about-us {
  --mx: 50%;
  --my: 42%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --logo-x: 0px;
  --logo-y: 0px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(242,202,114,.22), transparent 20%),
    radial-gradient(circle at calc(100% - var(--mx)) calc(100% - var(--my)), rgba(20,116,111,.13), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,248,239,.92)),
    url("home-hero-lobby.png") center/cover no-repeat;
  isolation: isolate;
}

#about-us::before,
#about-us::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

#about-us::before {
  inset: -22%;
  z-index: -2;
  background-image:
    linear-gradient(rgba(17,26,42,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,26,42,.045) 1px, transparent 1px),
    linear-gradient(115deg, transparent 30%, rgba(242,202,114,.22), transparent 52%);
  background-size: 62px 62px, 62px 62px, 180% 100%;
  animation: aboutGridDrift 13s linear infinite, aboutLightSweep 7s ease-in-out infinite;
  opacity: .82;
}

#about-us::after {
  width: min(620px, 88vw);
  aspect-ratio: 1;
  right: -110px;
  top: 40px;
  z-index: -1;
  background: url("brand/magic-lift-logo.png") center/contain no-repeat;
  filter: brightness(0) saturate(100%) invert(36%) sepia(85%) saturate(1724%) hue-rotate(348deg) brightness(91%) contrast(94%);
  opacity: .04;
  transform: translate3d(var(--logo-x), var(--logo-y), 0) rotate(var(--tilt-y)) scale(1.02);
  animation: aboutLogoPulse 8s ease-in-out infinite;
}

#about-us .about-layout {
  position: relative;
  z-index: 1;
}

#about-us .about-layout::before {
  content: "";
  position: absolute;
  inset: -34px;
  z-index: -1;
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(242,202,114,.18), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.28));
  border: 1px solid rgba(17,26,42,.08);
  box-shadow: inset 0 0 80px rgba(255,255,255,.38), 0 28px 70px rgba(10,16,24,.12);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .12s ease-out;
  pointer-events: none;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(280px, .44fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2 {
  max-width: 780px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.btn-primary {
  color: #111;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 16px 34px rgba(213,161,58,.24);
}

.btn-dark {
  color: var(--white);
  border-color: var(--light-line);
  background: rgba(255,255,255,.08);
}

.btn svg { width: 18px; height: 18px; }

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 46px rgba(213,161,58,.32);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  border-color: rgba(242,202,114,.22);
  background: rgba(255,255,255,.14);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .55fr);
  gap: 20px;
}

.about-layout {
  display: grid;
  gap: 20px;
}

.message-section {
  --mx: 50%;
  --my: 45%;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(242,202,114,.28), transparent 20%),
    radial-gradient(circle at 88% 72%, rgba(216,72,29,.18), transparent 28%),
    linear-gradient(135deg, rgba(8,13,22,.96), rgba(13,29,42,.92)),
    url("home-hero-lobby.png") center/cover no-repeat;
}

.message-section::before {
  z-index: -2;
  background-image:
    linear-gradient(rgba(242,202,114,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(115deg, transparent 34%, rgba(216,72,29,.18), transparent 58%);
  background-size: 64px 64px, 64px 64px, 180% 100%;
  animation: sectionGridFloat 15s linear infinite, messageLightSweep 6.5s ease-in-out infinite;
}

.message-section::after {
  content: "";
  position: absolute;
  width: min(520px, 82vw);
  aspect-ratio: 1;
  left: -150px;
  bottom: -120px;
  z-index: -1;
  pointer-events: none;
  background: url("brand/magic-lift-logo.png") center/contain no-repeat;
  filter: brightness(0) saturate(100%) invert(72%) sepia(67%) saturate(620%) hue-rotate(355deg) brightness(98%) contrast(94%);
  opacity: .055;
  animation: messageLogoFloat 8s ease-in-out infinite;
}

.message-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .48fr);
  gap: 20px;
  align-items: start;
  transition: transform .35s ease-out;
}

.profile-card,
.glass-card,
.team-card,
.work-placeholder,
.service-card,
.product-card,
.process-card,
.contact-card,
.message-card,
.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 38px rgba(10,16,24,.08);
  position: relative;
  isolation: isolate;
}

.profile-card::after,
.glass-card::after,
.team-card::after,
.service-card::after,
.product-card::after,
.process-card::after,
.contact-card::after,
.message-card::after,
.catalog-card::after,
.all-cabin-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.55) 48%, transparent 76%);
  transform: translateX(-130%);
  opacity: 0;
  transition: transform .75s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
  pointer-events: none;
}

.profile-card:hover::after,
.glass-card:hover::after,
.team-card:hover::after,
.service-card:hover::after,
.product-card:hover::after,
.process-card:hover::after,
.contact-card:hover::after,
.message-card:hover::after,
.catalog-card:hover::after,
.all-cabin-card:hover::after,
.profile-card:focus-within::after,
.glass-card:focus-within::after,
.team-card:focus-within::after,
.service-card:focus-within::after,
.product-card:focus-within::after,
.process-card:focus-within::after,
.contact-card:focus-within::after,
.message-card:focus-within::after,
.catalog-card:focus-within::after,
.all-cabin-card:focus-within::after {
  opacity: .8;
  transform: translateX(130%);
}

.profile-card,
.glass-card,
.contact-card,
.message-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

#about-us .profile-card,
#about-us .contact-card,
#about-us .message-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,250,240,.9)),
    radial-gradient(circle at var(--mx) var(--my), rgba(242,202,114,.16), transparent 32%);
  border-color: rgba(255,255,255,.38);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}

.message-section .message-card,
.message-section .contact-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,.99), rgba(255,248,239,.96)),
    radial-gradient(circle at var(--mx) var(--my), rgba(242,202,114,.16), transparent 32%);
  border-color: rgba(242,202,114,.28);
  box-shadow: 0 28px 76px rgba(0,0,0,.24);
  opacity: 1;
}

.message-section .message-card h3,
.message-section .contact-card h3,
.message-section .message-form label,
.message-section .contact-line b {
  color: var(--ink);
}

.message-section .message-card .eyebrow {
  color: var(--gold);
}

.profile-card h3,
.glass-card h3,
.contact-card h3,
.message-card h3 {
  font-size: 25px;
  margin-bottom: 14px;
}

.profile-card p,
.glass-card p,
.contact-card p,
.message-card p {
  color: var(--muted);
  line-height: 1.75;
  overflow-wrap: break-word;
}

.message-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,250,240,.94)),
    radial-gradient(circle at 92% 18%, rgba(213,161,58,.15), transparent 24%);
}

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

.message-form label {
  display: grid;
  gap: 7px;
  color: #263243;
  font-weight: 900;
  font-size: 13px;
}

.message-form label:nth-child(3),
.message-form label:nth-child(4) {
  grid-column: 1 / -1;
}

.message-form input,
.message-form textarea {
  width: 100%;
  border: 1px solid rgba(17,21,27,.14);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 11px 13px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.message-form textarea {
  resize: vertical;
  min-height: 112px;
}

.message-form input:focus,
.message-form textarea:focus {
  border-color: rgba(213,161,58,.62);
  box-shadow: 0 0 0 4px rgba(213,161,58,.13);
}

.message-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

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

.stat {
  min-height: 116px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  align-content: space-between;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.stat b { color: var(--teal); font-size: 30px; line-height: 1; }
.stat span { color: var(--muted); font-weight: 800; font-size: 13px; line-height: 1.4; }

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-line {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.contact-line svg { width: 21px; height: 21px; color: var(--teal); margin: auto; }
.contact-line b { display: block; margin-bottom: 3px; }
.contact-line span span { color: var(--muted); font-size: 14px; }

.contact-line:hover,
.contact-line:focus-visible,
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(213,161,58,.28);
  box-shadow: 0 18px 40px rgba(10,16,24,.1);
}

.contact-line:hover,
.contact-line:focus-visible {
  background: linear-gradient(135deg, #fffdf8, #fff4dd);
}

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

.journey-section {
  --journey-bg: #fbf8f1;
  --journey-card: rgba(255, 252, 246, .92);
  --journey-border: rgba(213, 161, 58, .38);
  --journey-border-strong: rgba(213, 161, 58, .7);
  --journey-shadow: 0 28px 62px rgba(10, 16, 24, .1);
  --journey-shadow-active: 0 34px 80px rgba(10, 16, 24, .14);
  position: relative;
  overflow: hidden;
}

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

.journey-section::before {
  inset: 0;
  background:
    radial-gradient(circle at 8% 14%, rgba(213,161,58,.16), transparent 22%),
    radial-gradient(circle at 92% 15%, rgba(17,26,42,.08), transparent 16%),
    linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0));
}

.journey-section::after {
  width: 440px;
  height: 440px;
  right: -180px;
  top: -40px;
  opacity: .22;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 56%, rgba(213,161,58,.18) 56.5%, transparent 58.5%),
    radial-gradient(circle, transparent 66%, rgba(213,161,58,.12) 66.5%, transparent 68.5%),
    radial-gradient(circle, transparent 76%, rgba(213,161,58,.09) 76.5%, transparent 78.5%);
}

.journey-head {
  margin-bottom: 34px;
  position: relative;
  z-index: 1;
}

.journey-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
  text-shadow: 0 4px 18px rgba(10,16,24,.08);
}

.journey-head p {
  max-width: 760px;
}

.journey-shell {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.journey-step {
  position: relative;
  display: grid;
  align-content: start;
}

.journey-step::after {
  content: "";
  position: absolute;
  top: 78px;
  left: calc(100% - 9px);
  width: calc(100% - 14px);
  height: 2px;
  background: linear-gradient(90deg, rgba(213,161,58,.8), rgba(213,161,58,.22));
  box-shadow: 0 0 0 5px rgba(255,255,255,.72);
}

.journey-step::before {
  content: "";
  position: absolute;
  top: 69px;
  right: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(213,161,58,.88);
  background:
    radial-gradient(circle, var(--deep) 0 36%, rgba(213,161,58,.95) 38% 54%, rgba(255,255,255,.96) 56% 100%);
  box-shadow: 0 0 0 8px rgba(255,255,255,.66);
  z-index: 2;
}

.journey-step:last-child::after,
.journey-step:last-child::before {
  display: none;
}

.journey-trigger {
  appearance: none;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.journey-badge {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 118px;
  height: 86px;
  margin: 0 auto -18px;
  border-radius: 26px;
  border: 1px solid rgba(242,202,114,.76);
  background:
    linear-gradient(145deg, #2e2b27 0%, #080808 43%, #1b1712 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.12),
    inset 0 -6px 10px rgba(0,0,0,.34),
    0 0 0 2px rgba(213,161,58,.92),
    0 0 0 6px rgba(213,161,58,.32),
    0 18px 34px rgba(10,16,24,.22);
  color: var(--gold-soft);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(242,202,114,.22);
}

.journey-badge::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
}

.journey-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 320px;
  padding: 54px 22px 24px;
  border-radius: 30px;
  border: 1px solid var(--journey-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(252,247,238,.94)),
    linear-gradient(180deg, rgba(242,202,114,.08), transparent);
  box-shadow: var(--journey-shadow);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
  position: relative;
  overflow: hidden;
}

.journey-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.82) 22%, transparent 44%),
    radial-gradient(circle at 50% -16%, rgba(213,161,58,.14), transparent 34%);
  transform: translateX(-62%);
  transition: transform .6s ease;
  pointer-events: none;
}

.journey-card::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(213,161,58,.68), rgba(242,202,114,.98), rgba(213,161,58,.68));
  opacity: .92;
}

.journey-trigger:hover .journey-card,
.journey-trigger:focus-visible .journey-card,
.journey-step.is-active .journey-card {
  transform: translateY(-8px);
  border-color: var(--journey-border-strong);
  box-shadow: var(--journey-shadow-active);
}

.journey-trigger:hover .journey-card::before,
.journey-trigger:focus-visible .journey-card::before,
.journey-step.is-active .journey-card::before {
  transform: translateX(68%);
}

.journey-trigger:focus-visible {
  outline: none;
}

.journey-trigger:focus-visible .journey-badge,
.journey-trigger:focus-visible .journey-card {
  box-shadow:
    0 0 0 3px rgba(10,16,24,.12),
    0 0 0 6px rgba(213,161,58,.24),
    var(--journey-shadow-active);
}

.journey-icon {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 1px solid rgba(213,161,58,.28);
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.98), rgba(255,248,236,.84) 70%, rgba(213,161,58,.09) 100%);
  color: var(--gold);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.8),
    0 16px 32px rgba(10,16,24,.08);
}

.journey-icon svg {
  width: 66px;
  height: 66px;
}

.journey-copy {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.journey-card-title {
  font-size: clamp(28px, 1.8vw, 38px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.journey-card-divider {
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(213,161,58,.58), rgba(213,161,58,.92), rgba(213,161,58,.58));
}

.journey-card-description {
  max-width: 24ch;
  color: #303640;
  font-size: 17px;
  line-height: 1.7;
  text-wrap: balance;
}

.journey-chevron {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: rgba(17,26,42,.8);
  background: rgba(213,161,58,.12);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}

.journey-chevron svg {
  width: 20px;
  height: 20px;
}

.journey-step.is-active .journey-chevron {
  transform: rotate(180deg);
  background: rgba(213,161,58,.22);
  color: var(--gold);
}

.journey-panel {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  transition: grid-template-rows .34s ease, margin-top .34s ease, opacity .24s ease;
}

.journey-step.is-active .journey-panel {
  grid-template-rows: 1fr;
  margin-top: 14px;
  opacity: 1;
}

.journey-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.journey-list {
  margin: 0;
  padding: 18px 18px 18px 22px;
  border-radius: 24px;
  border: 1px solid rgba(213,161,58,.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(252,246,234,.94));
  box-shadow: 0 18px 30px rgba(10,16,24,.06);
  list-style: none;
  display: grid;
  gap: 10px;
}

.journey-list li {
  position: relative;
  padding-left: 18px;
  color: #27303c;
  font-size: 15px;
  line-height: 1.6;
}

.journey-list li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft) 0 40%, var(--gold) 42% 100%);
  box-shadow: 0 0 0 4px rgba(213,161,58,.12);
}

.team-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,248,234,.94)),
    radial-gradient(circle at 50% 0%, rgba(242,202,114,.16), transparent 34%);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  position: relative;
}

.team-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 62px rgba(10,16,24,.16);
}

.portrait-frame {
  height: 340px;
  display: grid;
  place-items: end center;
  background:
    radial-gradient(circle at 50% 82%, rgba(240,202,114,.5), transparent 42%),
    linear-gradient(135deg, rgba(17,26,42,.98), rgba(20,116,111,.34));
  padding: 18px 18px 0;
  position: relative;
  overflow: hidden;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: -35% -70%;
  background: linear-gradient(90deg, transparent, rgba(242,202,114,.28), rgba(255,255,255,.18), transparent);
  transform: translateX(-58%) rotate(18deg);
  animation: portraitShine 5.2s ease-in-out infinite;
  pointer-events: none;
}

.portrait-frame img {
  max-height: 320px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.32));
}

.team-card:hover .portrait-frame img {
  transform: translateY(-5px) scale(1.025);
  transition: transform .32s ease;
}

.portrait-frame-ready {
  place-items: center;
  padding: 8px;
  background:
    radial-gradient(circle at 52% 80%, rgba(240,202,114,.32), transparent 44%),
    linear-gradient(135deg, rgba(17,26,42,.96), rgba(20,116,111,.28));
}

.portrait-frame-ready img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 324px;
  object-fit: contain;
}

.team-body {
  padding: 18px;
}

.team-body h3 { font-size: 20px; margin-bottom: 8px; }
.team-body p { color: var(--muted); line-height: 1.55; font-size: 14px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.team-tags span {
  border-radius: 999px;
  background: rgba(20,116,111,.08);
  color: var(--teal);
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 900;
}

.work-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(17,26,42,.92), rgba(17,26,42,.76)),
    url("panoramic-elevators.jpg") center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.work-placeholder h3 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 12px; }
.work-placeholder p { max-width: 620px; color: rgba(255,255,255,.76); line-height: 1.75; }

.works-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(9,15,24,.92), rgba(15,42,55,.82)),
    radial-gradient(circle at 18% 16%, rgba(213,161,58,.32), transparent 30%),
    radial-gradient(circle at 88% 76%, rgba(20,116,111,.32), transparent 28%),
    url("home-hero-lobby.png") center/cover no-repeat;
  color: var(--white);
}

.works-section .section-head {
  margin-bottom: 24px;
}

.works-section .section-head h2 {
  font-size: clamp(30px, 3.2vw, 48px);
}

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

.works-section::before {
  inset: -18%;
  background-image:
    linear-gradient(rgba(242,202,114,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(115deg, transparent 38%, rgba(242,202,114,.16), transparent 58%);
  background-size: 54px 54px, 54px 54px, 180% 100%;
  animation: worksGridMove 12s linear infinite, worksLightSweep 6.5s ease-in-out infinite;
  opacity: .85;
}

.works-section::after {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,16,24,.72), rgba(10,16,24,.42) 45%, rgba(10,16,24,.74)),
    radial-gradient(circle at 50% 22%, rgba(242,202,114,.2), transparent 34%);
  opacity: .95;
}

.works-section > .container {
  position: relative;
  z-index: 1;
}

.works-section .container::before {
  width: min(520px, 78vw);
  aspect-ratio: 1;
  right: -12%;
  top: -34px;
  background: url("brand/magic-lift-logo.png") center/contain no-repeat;
  filter: brightness(0) saturate(100%) invert(72%) sepia(67%) saturate(620%) hue-rotate(355deg) brightness(98%) contrast(94%);
  opacity: .065;
  animation: worksLogoFloat 8s ease-in-out infinite;
}

.works-section .section-head p {
  color: rgba(255,255,255,.75);
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.work-card {
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--deep);
  box-shadow: 0 22px 58px rgba(10,16,24,.16);
  transition: transform .28s ease, box-shadow .28s ease;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: -20% 58% -20% -38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: rotate(15deg) translateX(-120%);
  transition: transform .72s cubic-bezier(.22, 1, .36, 1);
  z-index: 1;
  pointer-events: none;
}

.work-card:nth-child(6n + 1),
.work-card:nth-child(6n + 4) {
  grid-row: auto;
  min-height: 0;
}

.work-card:nth-child(8n + 2) {
  grid-column: auto;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .65s ease, filter .65s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10,16,24,.9));
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(10,16,24,.26);
}

.work-card:hover::before {
  transform: rotate(15deg) translateX(260%);
}

.work-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.05);
}

.work-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  color: var(--white);
  opacity: .86;
  transform: translateY(8px);
  transition: transform .32s ease, opacity .32s ease;
}

.work-card:hover .work-caption {
  opacity: 1;
  transform: translateY(0);
}

.work-caption b {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.work-caption span {
  color: rgba(255,255,255,.74);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

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

.service-card,
.product-card,
.process-card {
  padding: 22px;
  min-height: 210px;
  position: relative;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.service-card::before,
.product-card::before,
.process-card::before,
.profile-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-soft), var(--teal));
  opacity: .72;
}

.service-card:hover,
.product-card:hover,
.process-card:hover,
.profile-card:hover,
.contact-card:hover,
.cabin-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 62px rgba(10,16,24,.16);
  border-color: rgba(213,161,58,.34);
}

.service-card h3,
.product-card h3,
.process-card h3 { font-size: 23px; margin-bottom: 12px; }
.service-card p,
.product-card p,
.process-card p { color: var(--muted); line-height: 1.7; }

.product-directory {
  padding: 28px 0 0;
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 46px rgba(10,16,24,.08);
}

.product-tabs a {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 7px;
  color: var(--navy);
  background: #fffaf0;
  border: 1px solid rgba(17,21,27,.08);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.product-tabs a:hover,
.product-tabs a:focus,
.product-tabs a.active {
  transform: translateY(-3px);
  border-color: rgba(213,161,58,.42);
  background: linear-gradient(135deg, #fff, #fff4d8);
  color: #0e1420;
}

.all-elevators-section {
  padding-top: 48px;
}

.compact-section-head {
  margin-bottom: 22px;
}

.catalogs-section {
  padding-top: 48px;
  background:
    radial-gradient(circle at 10% 16%, rgba(213,161,58,.16), transparent 24%),
    radial-gradient(circle at 90% 72%, rgba(20,116,111,.12), transparent 26%),
    linear-gradient(180deg, #fffaf4, #f3f5f3 62%, #eef3f4);
}

.catalogs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}

.catalog-overview {
  padding: 34px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(17,21,27,.08);
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,249,240,.95)),
    radial-gradient(circle at 78% 18%, rgba(213,161,58,.16), transparent 28%);
  box-shadow: 0 30px 76px rgba(10,16,24,.11);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .88fr);
  gap: 24px;
  align-items: center;
}

.catalog-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(17,21,27,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,21,27,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.14));
  pointer-events: none;
}

.catalog-overview::after {
  content: "";
  position: absolute;
  width: min(360px, 42vw);
  aspect-ratio: 1;
  right: -6%;
  top: -18%;
  background: url("brand/magic-lift-logo.png") center/contain no-repeat;
  opacity: .045;
  filter: sepia(1) saturate(1.2) hue-rotate(340deg);
  pointer-events: none;
}

.catalog-overview > * {
  position: relative;
  z-index: 1;
}

.catalog-overview-copy {
  display: grid;
  gap: 18px;
}

.catalog-overview-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(213,161,58,.11);
  border: 1px solid rgba(213,161,58,.22);
  color: #946300;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  width: fit-content;
}

.catalog-overview h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  max-width: 15ch;
  color: #101720;
  margin: 0;
}

.catalog-overview p {
  margin: 0;
  color: #54606d;
  line-height: 1.8;
}

.catalog-overview-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-overview-points span,
.catalog-meta span,
.product-tags span,
.detail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.catalog-overview-points span {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,21,27,.08);
  color: #13202e;
}

.catalog-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.catalog-inline-note {
  color: #6b7580;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  max-width: 280px;
}

.catalog-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.catalog-overview-stats div {
  min-height: 108px;
  padding: 16px 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,247,233,.76));
  border: 1px solid rgba(17,21,27,.08);
  display: grid;
  align-content: space-between;
  box-shadow: 0 14px 32px rgba(10,16,24,.06);
}

.catalog-overview-stats b {
  font-size: 30px;
  color: var(--gold);
}

.catalog-overview-stats span {
  color: #67717b;
  font-size: 12px;
  font-weight: 800;
}

.catalog-overview-preview {
  display: grid;
  place-items: center;
  min-height: 100%;
}

.catalog-preview-stack {
  position: relative;
  width: min(100%, 360px);
  min-height: 330px;
}

.catalog-preview-sheet {
  position: absolute;
  inset: auto 0 0 auto;
  width: 100%;
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(17,21,27,.08);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,247,233,.9));
  box-shadow: 0 26px 56px rgba(10,16,24,.11);
  overflow: hidden;
}

.catalog-preview-sheet::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), #d88a1d);
}

.catalog-preview-sheet span,
.catalog-preview-sheet strong,
.catalog-preview-sheet small {
  display: block;
}

.catalog-preview-sheet span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-preview-sheet strong {
  margin-top: 18px;
  font-size: 26px;
  line-height: 1.12;
  color: #111821;
}

.catalog-preview-sheet small {
  margin-top: 14px;
  color: #67717b;
  font-size: 13px;
  line-height: 1.6;
}

.catalog-preview-sheet.is-primary {
  top: 22px;
  left: 0;
  z-index: 3;
  transform: rotate(-3deg);
}

.catalog-preview-sheet.is-secondary {
  top: 76px;
  left: 18px;
  z-index: 2;
  transform: rotate(4deg);
  opacity: .96;
}

.catalog-preview-sheet.is-tertiary {
  top: 136px;
  left: 36px;
  z-index: 1;
  transform: rotate(-2deg);
  opacity: .92;
}

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

.catalog-card {
  min-height: 290px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(160deg, rgba(255,255,255,.98), rgba(255,250,242,.94)),
    radial-gradient(circle at 86% 12%, rgba(213,161,58,.12), transparent 24%);
  box-shadow: 0 20px 50px rgba(10,16,24,.08);
  position: relative;
  overflow: hidden;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.catalog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #d88a1d 48%, rgba(20,116,111,.78));
}

.catalog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-card-index,
.catalog-card-type {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.catalog-card-index {
  color: var(--gold);
  background: rgba(213,161,58,.1);
  border: 1px solid rgba(213,161,58,.18);
}

.catalog-card-type {
  color: var(--teal);
  background: rgba(20,116,111,.08);
  border: 1px solid rgba(20,116,111,.14);
}

.catalog-card h3 {
  font-size: 24px;
  line-height: 1.08;
  color: #101720;
  margin: 0;
}

.catalog-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.catalog-card-bottom {
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-meta span {
  color: var(--teal);
  background: rgba(20,116,111,.08);
  border: 1px solid rgba(20,116,111,.14);
  text-transform: none;
  font-size: 11px;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.catalog-actions .btn {
  min-height: 42px;
  padding: 10px 14px;
}

.catalog-card:hover,
.catalog-card:focus-within {
  transform: translateY(-7px);
  border-color: rgba(213,161,58,.34);
  box-shadow: 0 28px 66px rgba(10,16,24,.12);
}

.cabin-filter-shell {
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid rgba(17,21,27,.09);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,249,239,.93)),
    radial-gradient(circle at 86% 16%, rgba(213,161,58,.14), transparent 22%);
  box-shadow: 0 18px 48px rgba(10,16,24,.08);
}

.cabin-filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(140px, .52fr)) auto;
  gap: 12px;
  align-items: end;
}

.filter-search,
.filter-select {
  display: grid;
  gap: 8px;
}

.filter-search span,
.filter-select span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.filter-search input,
.filter-select select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(17,21,27,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.filter-search input:focus,
.filter-select select:focus {
  outline: none;
  border-color: rgba(213,161,58,.5);
  box-shadow: 0 0 0 4px rgba(213,161,58,.12);
}

.cabin-filter-foot {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17,21,27,.1);
  background: #fffaf0;
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.filter-chip:hover,
.filter-chip:focus-visible,
.filter-chip.is-active {
  transform: translateY(-2px);
  border-color: rgba(213,161,58,.36);
  background: linear-gradient(135deg, #fff, #fff1cd);
  color: #0e1420;
}

.filter-results {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.cabin-empty-state {
  margin-bottom: 20px;
  padding: 22px;
  border-radius: calc(var(--radius) + 2px);
  border: 1px dashed rgba(17,21,27,.16);
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,248,238,.88));
  text-align: center;
}

.cabin-empty-state strong {
  display: block;
  font-size: 22px;
  color: var(--navy);
}

.cabin-empty-state p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

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

.all-cabin-card {
  min-height: 235px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 36px rgba(10,16,24,.08);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  position: relative;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.all-cabin-card:hover,
.all-cabin-card:focus,
.all-cabin-card.active {
  transform: translateY(-5px);
  border-color: rgba(213,161,58,.5);
  box-shadow: 0 22px 52px rgba(10,16,24,.14);
  outline: none;
}

.all-cabin-card figure {
  height: 175px;
  margin: 0;
  display: grid;
  place-items: end center;
  padding: 12px 12px 0;
  background:
    radial-gradient(circle at 50% 76%, rgba(240,202,114,.2), transparent 44%),
    linear-gradient(180deg, #fff, #f3eee2);
}

.all-cabin-card img {
  max-height: 164px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(10,16,24,.16));
}

.all-cabin-card b {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  text-align: left;
}

.all-cabin-card-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.all-cabin-card small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.all-cabin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.all-cabin-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(20,116,111,.08);
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.all-cabin-detail {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(213,161,58,.34);
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 58px rgba(10,16,24,.12);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
}

.all-cabin-detail[hidden] {
  display: none;
}

.all-cabin-detail.is-active {
  opacity: 1;
  transform: translateY(0);
}

.all-cabin-detail figure {
  height: 240px;
  margin: 0;
  display: grid;
  place-items: end center;
  padding: 14px 14px 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 76%, rgba(240,202,114,.28), transparent 42%),
    linear-gradient(135deg, rgba(17,26,42,.94), rgba(20,116,111,.25));
}

.all-cabin-detail img {
  max-height: 230px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(0,0,0,.24));
}

.all-cabin-detail span {
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
  font-size: 12px;
}

.all-cabin-detail h3 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 3vw, 40px);
}

.all-cabin-detail p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 8px;
}

.detail-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.detail-tag {
  color: var(--teal);
  background: rgba(20,116,111,.08);
  border: 1px solid rgba(20,116,111,.14);
}

.all-cabin-detail:not([hidden]) + .all-cabin-grid {
  margin-top: 20px;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.product-modal[hidden] {
  display: none;
}

.product-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,16,24,.42);
  backdrop-filter: blur(16px) saturate(1.05);
  opacity: 0;
  transition: opacity .3s ease;
}

.product-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 32px));
  max-height: min(88vh, 920px);
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(145deg, rgba(11,17,27,.96), rgba(17,38,51,.94)),
    radial-gradient(circle at 14% 18%, rgba(242,202,114,.16), transparent 24%);
  box-shadow: 0 36px 100px rgba(0,0,0,.36);
  color: var(--white);
  transform: translateY(26px) scale(.965);
  opacity: 0;
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), opacity .3s ease, box-shadow .3s ease;
}

.product-modal.is-open .product-modal-backdrop {
  opacity: 1;
}

.product-modal.is-open .product-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

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

.product-modal-dialog::before {
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.14));
}

.product-modal-dialog::after {
  inset: auto -18% -12% 44%;
  height: 280px;
  background: linear-gradient(90deg, transparent, rgba(242,202,114,.15), transparent);
  filter: blur(12px);
  transform: rotate(-9deg);
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: transform .2s ease, background .2s ease;
}

.product-modal-close:hover,
.product-modal-close:focus-visible {
  transform: scale(1.06);
  background: rgba(255,255,255,.14);
}

.product-modal-body {
  padding: 26px;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.product-modal-figure {
  min-height: 480px;
  margin: 0;
  display: grid;
  place-items: end center;
  padding: 24px 24px 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 82%, rgba(240,202,114,.22), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 24px 64px rgba(0,0,0,.18);
  transform: translateY(12px) scale(.985);
  opacity: 0;
  transition: transform .46s cubic-bezier(.22, 1, .36, 1), opacity .36s ease;
  position: relative;
  overflow: hidden;
}

.product-modal-figure img {
  max-width: 100%;
  max-height: 450px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0,0,0,.35));
  position: relative;
  z-index: 2;
}

.product-modal-halo,
.product-modal-orbit,
.product-modal-caption {
  position: absolute;
  pointer-events: none;
}

.product-modal-halo {
  width: 72%;
  aspect-ratio: 1;
  bottom: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,202,114,.28), rgba(242,202,114,.05) 46%, transparent 72%);
  filter: blur(8px);
  animation: modalHaloPulse 5.4s ease-in-out infinite;
}

.product-modal-orbit {
  inset: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 0 0 1px rgba(242,202,114,.05);
}

.product-modal-orbit::before {
  content: "";
  position: absolute;
  inset: -30% -60%;
  background: linear-gradient(90deg, transparent, rgba(242,202,114,.2), rgba(255,255,255,.14), transparent);
  transform: translateX(-45%) rotate(18deg);
  animation: modalShineSweep 6s ease-in-out infinite;
}

.product-modal-caption {
  left: 20px;
  bottom: 18px;
  z-index: 2;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11,17,27,.6);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.product-modal-copy {
  display: grid;
  gap: 14px;
  align-content: start;
  transform: translateY(14px);
  opacity: 0;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1) .04s, opacity .36s ease .04s;
}

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

.product-modal-kicker span,
.service-request-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.product-modal-kicker span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(242,202,114,.18);
  color: var(--gold-soft);
}

.product-modal.is-open .product-modal-figure,
.product-modal.is-open .product-modal-copy {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.product-modal-copy h3 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  margin: 0;
  max-width: 12ch;
}

.product-modal-lead {
  font-size: 15px;
  color: rgba(255,255,255,.82);
}

.product-modal-code {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
}

.product-modal-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-modal-stat {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.product-modal-stat b {
  display: block;
  margin-bottom: 6px;
  color: rgba(255,255,255,.56);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.product-modal-stat span {
  color: var(--white);
  font-weight: 800;
  line-height: 1.45;
}

.product-modal-copy p {
  color: rgba(255,255,255,.78);
  line-height: 1.82;
  margin: 0;
}

.product-modal-meta {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.product-modal-meta div {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.product-modal-meta b {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.product-modal-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-modal-tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(20,116,111,.16);
  border: 1px solid rgba(20,116,111,.18);
  color: #d7fffc;
  font-size: 12px;
  font-weight: 900;
}

.product-modal-insight {
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(20,116,111,.16), rgba(255,255,255,.04));
  border: 1px solid rgba(20,116,111,.26);
  color: #dff9f7;
  line-height: 1.7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.product-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.product-modal-actions .btn {
  min-width: 180px;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease, border-color .24s ease;
}

.product-modal-actions .btn:hover,
.product-modal-actions .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,.2);
}

.product-modal-actions .btn-primary {
  box-shadow: 0 18px 40px rgba(213,161,58,.22);
}

.product-modal-actions .btn-dark {
  background: rgba(255,255,255,.1);
}

@keyframes modalHaloPulse {
  0%, 100% { transform: scale(.96); opacity: .72; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes modalShineSweep {
  0%, 100% { transform: translateX(-48%) rotate(18deg); opacity: .18; }
  50% { transform: translateX(24%) rotate(18deg); opacity: .54; }
}

.service-request-card {
  background:
    linear-gradient(145deg, rgba(11,17,27,.96), rgba(17,38,51,.94)),
    radial-gradient(circle at 14% 18%, rgba(242,202,114,.16), transparent 24%);
  color: var(--white);
  border-color: rgba(242,202,114,.18);
  box-shadow: 0 28px 72px rgba(10,16,24,.2);
}

.service-request-figure {
  margin: 18px 0 0;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}

.service-request-figure img {
  max-width: 100%;
  max-height: 240px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,.28));
}

.service-request-card .eyebrow {
  color: var(--gold-soft);
}

.service-request-card h3,
.service-request-card p {
  color: var(--white);
}

.service-request-card p {
  color: rgba(255,255,255,.78);
}

.service-request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-request-meta span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(242,202,114,.18);
  color: var(--gold-soft);
}

.product-catalog {
  padding-top: 42px;
}

.product-catalog .container {
  display: grid;
  gap: 22px;
}

.product-pdf-library {
  margin-top: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(160deg, rgba(255,255,255,.98), rgba(255,248,238,.94)),
    radial-gradient(circle at 88% 12%, rgba(213,161,58,.12), transparent 24%);
  box-shadow: 0 20px 54px rgba(10,16,24,.08);
}

.product-pdf-library .section-head {
  margin-bottom: 18px;
}

.custom-design-section {
  margin-top: 4px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(160deg, rgba(255,255,255,.98), rgba(255,249,241,.95)),
    radial-gradient(circle at 88% 12%, rgba(213,161,58,.1), transparent 24%);
  box-shadow: 0 22px 58px rgba(10,16,24,.08);
}

.custom-design-layout {
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: stretch;
}

.custom-design-card,
.custom-design-form-card {
  min-height: 100%;
}

.custom-design-card {
  background:
    linear-gradient(145deg, rgba(11,17,27,.96), rgba(17,38,51,.94)),
    radial-gradient(circle at 14% 18%, rgba(242,202,114,.16), transparent 24%);
  color: var(--white);
  border-color: rgba(242,202,114,.18);
  box-shadow: 0 28px 72px rgba(10,16,24,.18);
}

.custom-design-card h3,
.custom-design-card p {
  color: var(--white);
}

.custom-design-card p {
  color: rgba(255,255,255,.78);
}

.custom-design-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.custom-design-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(242,202,114,.18);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
}

.custom-design-note {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  font-size: 13px;
}

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

.custom-design-form label:nth-child(3),
.custom-design-form label:nth-child(4),
.custom-design-preview,
.custom-design-status,
.custom-design-form .btn {
  grid-column: 1 / -1;
}

.custom-design-form input[type="file"] {
  padding: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,248,239,.95));
}

.custom-design-preview {
  margin: 0;
  min-height: 230px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 82%, rgba(240,202,114,.18), transparent 42%),
    linear-gradient(145deg, rgba(17,26,42,.96), rgba(20,116,111,.14));
  border: 1px solid rgba(17,21,27,.08);
  overflow: hidden;
}

.custom-design-preview img {
  max-width: 100%;
  max-height: 240px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(0,0,0,.22));
}

.custom-design-preview figcaption {
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.custom-design-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 54px rgba(10,16,24,.1);
  overflow: hidden;
  position: relative;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.product-showcase::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold-soft), var(--teal));
}

.product-showcase-alt {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
}

.product-showcase-alt .product-media {
  order: 2;
}

.product-showcase:hover {
  transform: translateY(-6px);
  border-color: rgba(213,161,58,.32);
  box-shadow: 0 28px 70px rgba(10,16,24,.14);
}

.product-media {
  min-height: 360px;
  display: grid;
  place-items: end center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 82%, rgba(240,202,114,.3), transparent 42%),
    linear-gradient(135deg, rgba(17,26,42,.96), rgba(20,116,111,.28));
  padding: 24px 24px 0;
  overflow: hidden;
}

.product-media img {
  max-height: 350px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0,0,0,.3));
}

.product-copy {
  padding: 30px 20px 24px;
  display: grid;
  align-content: center;
  position: relative;
}

.product-number {
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(17,26,42,.08);
  font-size: clamp(58px, 8vw, 104px);
  font-weight: 950;
  line-height: 1;
}

.product-copy h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  margin-bottom: 14px;
}

.product-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 2px;
}

.product-tags span {
  color: #b86d12;
  background: rgba(213,161,58,.12);
  border: 1px solid rgba(213,161,58,.18);
}

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

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: #293341;
  font-weight: 750;
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--teal));
}

.cabin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cabin-card {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 38px rgba(10,16,24,.09);
  overflow: hidden;
  display: grid;
  grid-template-rows: 230px 1fr;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.cabin-card figure {
  margin: 0;
  background: radial-gradient(circle at 50% 70%, rgba(240,200,117,.2), transparent 46%), linear-gradient(180deg, #fff, #f2ecdf);
  display: grid;
  place-items: end center;
  padding: 14px 14px 0;
}

.cabin-card img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(10,16,24,.18));
}

.cabin-card-body { padding: 16px; display: grid; gap: 9px; align-content: start; }
.cabin-card-body h3 { font-size: 18px; line-height: 1.25; }
.cabin-card-body p { color: var(--muted); line-height: 1.55; font-size: 13px; }

footer {
  position: relative;
  overflow: hidden;
  padding: 52px 0 24px;
  background:
    radial-gradient(circle at 12% 16%, rgba(216,72,29,.13), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(213,161,58,.18), transparent 28%),
    linear-gradient(180deg, #fff, #fff8ef);
  color: #1d2633;
}

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

footer::before {
  inset: -16%;
  background-image:
    linear-gradient(rgba(17,26,42,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,26,42,.055) 1px, transparent 1px),
    linear-gradient(120deg, transparent 32%, rgba(216,72,29,.14), transparent 54%);
  background-size: 64px 64px, 64px 64px, 180% 100%;
  animation: footerGridMove 16s linear infinite, footerLightSweep 7s ease-in-out infinite;
}

footer::after {
  width: min(420px, 76vw);
  aspect-ratio: 1;
  right: -110px;
  bottom: -120px;
  background: url("brand/magic-lift-logo.png") center/contain no-repeat;
  filter: brightness(0) saturate(100%) invert(36%) sepia(85%) saturate(1724%) hue-rotate(348deg) brightness(91%) contrast(94%);
  opacity: .045;
  animation: footerLogoDrift 8s ease-in-out infinite;
}

footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-col {
  transition: transform .22s ease, opacity .22s ease;
}

.footer-col:hover {
  transform: translateY(-4px);
}

.footer-col h3 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  position: relative;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 4px;
  background: linear-gradient(90deg, #d8481d, var(--gold));
}

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

.footer-list a,
.footer-list li { color: #273548; font-weight: 800; line-height: 1.5; }

.footer-list a:hover {
  color: #d8481d;
}

.footer-bottom {
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  flex-wrap: wrap;
  font-size: 13px;
  color: #273548;
  font-weight: 800;
  align-items: center;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.footer-credit-link {
  color: #c92718;
  font-weight: 900;
  letter-spacing: .01em;
  transition: color .18s ease, transform .18s ease;
}

.footer-credit-link:hover,
.footer-credit-link:focus-visible {
  color: #e75124;
  transform: translateY(-1px);
}

.footer-social {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(37, 211, 102, .12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, .24);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  background: rgba(37, 211, 102, .18);
  box-shadow: 0 12px 24px rgba(37, 211, 102, .18);
}

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

.reveal {
  opacity: 0;
  transform: translate3d(var(--reveal-offset-x, 0px), 24px, 0) scale(.985);
  filter: blur(4px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition: opacity .78s ease, transform .78s cubic-bezier(.22, 1, .36, 1), filter .78s ease;
}

@keyframes driftGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 96px 96px, 96px 96px; }
}

@keyframes sectionGridFloat {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 78px 78px, 78px 78px, 0 0, 0 0; }
}

@keyframes sectionGlowPulse {
  0%, 100% { opacity: .62; }
  50% { opacity: 1; }
}

@keyframes logoShine {
  0%, 54% { transform: translateX(-90%) rotate(24deg); opacity: 0; }
  68% { opacity: 1; }
  100% { transform: translateX(260%) rotate(24deg); opacity: 0; }
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroItemReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes panelShine {
  0%, 58% { transform: translateX(-80%) rotate(17deg); opacity: 0; }
  72% { opacity: 1; }
  100% { transform: translateX(360%) rotate(17deg); opacity: 0; }
}

@keyframes goldSweep {
  0%, 100% { transform: translateX(-14%) rotate(-7deg); opacity: .24; }
  50% { transform: translateX(14%) rotate(-7deg); opacity: .54; }
}

@keyframes worksGridMove {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 54px 54px, 54px 54px, 100% 0; }
}

@keyframes worksLightSweep {
  0%, 100% { opacity: .42; }
  50% { opacity: .95; }
}

@keyframes worksLogoFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.96); opacity: .045; }
  50% { transform: translate3d(-28px, 24px, 0) scale(1.04); opacity: .095; }
}

@keyframes aboutGridDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 62px 62px, 62px 62px, 100% 0; }
}

@keyframes aboutLightSweep {
  0%, 100% { opacity: .52; }
  50% { opacity: .95; }
}

@keyframes aboutLogoPulse {
  0%, 100% { opacity: .045; }
  50% { opacity: .085; }
}

@keyframes messageLightSweep {
  0%, 100% { opacity: .48; }
  50% { opacity: .95; }
}

@keyframes messageLogoFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.96); opacity: .04; }
  50% { transform: translate3d(26px, -18px, 0) scale(1.05); opacity: .085; }
}

@keyframes portraitShine {
  0%, 58% { transform: translateX(-58%) rotate(18deg); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateX(58%) rotate(18deg); opacity: 0; }
}

@keyframes footerGridMove {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 64px 64px, 64px 64px, 100% 0; }
}

@keyframes footerLightSweep {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

@keyframes footerLogoDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.96); opacity: .035; }
  50% { transform: translate3d(-26px, -18px, 0) scale(1.05); opacity: .075; }
}

@media (max-width: 1000px) {
  .nav { display: flex; justify-content: space-between; }
  .links {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 84px;
    padding: 12px;
    border: 1px solid var(--light-line);
    border-radius: var(--radius);
    background: rgba(14,20,32,.97);
    box-shadow: var(--shadow);
  }
  .links.open { display: grid; }
  .links.open a { width: 100%; }
  .nav-dropdown { width: 100%; }
  .nav-drop-trigger { justify-content: space-between; }
  .nav-dropdown-panel {
    position: static;
    min-width: 0;
    margin-top: 6px;
    padding: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
    box-shadow: none;
  }
  .nav-dropdown-panel::before { display: none; }
  .nav-dropdown-panel a { padding: 11px 12px; }
  .menu-btn { display: grid; place-items: center; }
  .works-section .section-head h2 { font-size: clamp(30px, 4vw, 58px); }
  .section-head,
  .profile-grid,
  .hero-layout,
  .message-card,
  .message-contact-grid { grid-template-columns: 1fr; }
  .journey-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 142px;
  }
  .journey-shell::before {
    content: "";
    position: absolute;
    left: 55px;
    top: 72px;
    bottom: 72px;
    width: 2px;
    background: linear-gradient(180deg, rgba(213,161,58,.18), rgba(213,161,58,.84), rgba(213,161,58,.18));
    box-shadow: 0 0 0 5px rgba(255,255,255,.7);
  }
  .journey-step::after {
    top: 84px;
    left: -74px;
    width: 74px;
    height: 2px;
  }
  .journey-step::before {
    top: 75px;
    left: -93px;
    right: auto;
  }
  .journey-badge {
    position: absolute;
    top: 22px;
    left: -142px;
    width: 100px;
    height: 82px;
    margin: 0;
  }
  .journey-card {
    min-height: 0;
    grid-template-columns: 116px 1fr auto;
    gap: 18px;
    align-items: center;
    justify-items: start;
    padding: 26px 20px 26px 20px;
    text-align: left;
  }
  .journey-icon {
    width: 110px;
    height: 110px;
  }
  .journey-icon svg {
    width: 56px;
    height: 56px;
  }
  .journey-copy {
    justify-items: start;
  }
  .journey-card-title {
    font-size: clamp(24px, 3vw, 36px);
  }
  .journey-card-description {
    max-width: none;
    text-wrap: pretty;
  }
  .team-grid,
  .cabin-grid,
  .stat-grid,
  .cards-grid,
  .work-gallery,
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalogs-layout,
  .custom-design-layout,
  .cabin-filter-bar,
  .cabin-filter-foot {
    grid-template-columns: 1fr;
  }
  .catalog-overview {
    grid-template-columns: 1fr;
  }
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
  .product-modal-figure {
    min-height: 320px;
  }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-overview-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-preview-stack { width: min(100%, 420px); min-height: 300px; }
  .product-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .all-cabin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .all-cabin-detail { grid-template-columns: 1fr; }
  .product-showcase,
  .product-showcase-alt {
    grid-template-columns: 1fr;
  }
  .product-showcase-alt .product-media { order: 0; }
  .cabin-filter-foot {
    display: grid;
    justify-content: stretch;
  }
  .filter-results { justify-self: start; }
  .hero-logo-panel { min-height: 260px; }
}

@media (max-width: 640px) {
  :root { --container: calc(100% - 28px); }
  .container { max-width: calc(100vw - 28px); }
  .brand > span { display: none; }
  .brand > .brand-logo { display: grid; width: 52px; height: 52px; }
  h1 { font-size: 40px; }
  .hero p { font-size: 17px; }
  .section { padding: 62px 0; }
  #about-us::after {
    width: 360px;
    right: -150px;
    top: 120px;
  }
  #about-us .about-layout::before { inset: -18px; }
  .message-form { grid-template-columns: 1fr; }
  .message-form .btn { width: 100%; }
  .works-section .container::before {
    width: 360px;
    right: -150px;
    top: 70px;
  }
  .journey-head {
    margin-bottom: 24px;
  }
  .journey-title {
    font-size: clamp(28px, 10vw, 42px);
  }
  .journey-head p {
    font-size: 15px;
  }
  .journey-shell {
    gap: 14px;
    padding-left: 84px;
  }
  .journey-shell::before {
    left: 27px;
    top: 62px;
    bottom: 62px;
  }
  .journey-step::after {
    top: 72px;
    left: -38px;
    width: 38px;
  }
  .journey-step::before {
    top: 63px;
    left: -54px;
    width: 14px;
    height: 14px;
    box-shadow: 0 0 0 5px rgba(255,255,255,.7);
  }
  .journey-badge {
    left: -84px;
    top: 16px;
    width: 72px;
    height: 66px;
    border-radius: 18px;
    font-size: 30px;
    box-shadow:
      inset 0 1px 1px rgba(255,255,255,.12),
      inset 0 -6px 10px rgba(0,0,0,.34),
      0 0 0 2px rgba(213,161,58,.92),
      0 0 0 5px rgba(213,161,58,.28),
      0 16px 28px rgba(10,16,24,.18);
  }
  .journey-badge::before {
    inset: 6px;
    border-radius: 13px;
  }
  .journey-card {
    grid-template-columns: 1fr auto;
    padding: 18px 16px 18px 16px;
    gap: 14px;
  }
  .journey-icon {
    width: 74px;
    height: 74px;
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .journey-icon svg {
    width: 38px;
    height: 38px;
  }
  .journey-copy {
    gap: 8px;
    align-self: center;
  }
  .journey-card-title {
    font-size: 20px;
  }
  .journey-card-description {
    font-size: 14px;
    line-height: 1.55;
  }
  .journey-chevron {
    width: 34px;
    height: 34px;
    align-self: start;
  }
  .journey-list {
    padding: 14px 14px 14px 16px;
    border-radius: 18px;
  }
  .journey-list li {
    font-size: 13px;
    line-height: 1.5;
    padding-left: 16px;
  }
  .team-grid,
  .cabin-grid,
  .stat-grid,
  .cards-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .catalog-overview { padding: 22px; }
  .catalog-overview h3 { max-width: none; }
  .catalog-overview-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-overview-stats { grid-template-columns: 1fr; }
  .catalog-preview-stack { min-height: 250px; }
  .catalog-preview-sheet { padding: 18px 16px; }
  .catalog-preview-sheet strong { font-size: 21px; }
  .catalog-preview-sheet.is-secondary { top: 58px; left: 12px; }
  .catalog-preview-sheet.is-tertiary { top: 104px; left: 24px; }
  .catalog-actions .btn { width: 100%; }
  .custom-design-section { padding: 18px; }
  .custom-design-form { grid-template-columns: 1fr; }
  .cabin-filter-shell { padding: 14px; }
  .product-modal { padding: 14px; }
  .product-modal-body { padding: 18px; }
  .product-modal-dialog { width: min(100vw - 20px, 980px); border-radius: 18px; }
  .product-modal-figure { min-height: 260px; padding: 18px 18px 0; }
  .product-modal-figure img { max-height: 250px; }
  .product-modal-actions .btn { width: 100%; }
  .cabin-filter-bar { grid-template-columns: 1fr; }
  .filter-chip-row { gap: 6px; }
  .filter-chip { width: auto; }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .work-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .team-card { border-radius: 8px; }
  .portrait-frame {
    height: 178px;
    padding: 10px 10px 0;
  }
  .portrait-frame::before { inset: 8px; border-radius: 8px; }
  .portrait-frame img { max-height: 168px; }
  .portrait-frame-ready { height: 178px; padding: 8px; }
  .portrait-frame-ready img { max-height: 162px; }
  .team-body { padding: 11px; }
  .team-body h3 { font-size: 14px; line-height: 1.18; margin-bottom: 6px; }
  .team-body p { font-size: 11px; line-height: 1.45; }
  .team-tags { gap: 4px; margin-top: 8px; }
  .team-tags span { font-size: 9px; padding: 5px 6px; }
  .work-card,
  .work-card:nth-child(6n + 1),
  .work-card:nth-child(6n + 4) {
    min-height: 0;
    aspect-ratio: 1 / 1;
    grid-row: auto;
  }
  .work-card:nth-child(8n + 2) { grid-column: auto; }
  .work-card img {
    height: 100%;
    min-height: 0;
  }
  .work-caption { left: 10px; right: 10px; bottom: 10px; }
  .work-caption b { font-size: 13px; margin-bottom: 3px; }
  .work-caption span { display: none; }
  .product-tabs { grid-template-columns: 1fr; }
  .all-cabin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .all-cabin-card { min-height: 190px; }
  .all-cabin-card figure { height: 145px; }
  .all-cabin-card img { max-height: 136px; }
  .all-cabin-card b { font-size: 12px; }
  .all-cabin-card-body { padding: 10px 8px; }
  .all-cabin-detail { padding: 12px; }
  .all-cabin-detail figure { height: 220px; }
  .all-cabin-detail img { max-height: 210px; }
  .product-media { min-height: 300px; }
  .product-media img { max-height: 285px; }
  .product-showcase { padding: 12px; }
  .product-copy { padding: 22px 10px 18px; }
  .hero-logo-panel { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .cursor-ring { display: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .all-cabin-detail { opacity: 1; transform: none; }
}

.ml-chatbot-shell {
  position: fixed;
  right: 10px;
  bottom: 18px;
  z-index: 95;
  display: grid;
  justify-items: end;
  gap: 14px;
  direction: ltr;
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}

.ml-chatbot-toggle {
  min-width: 134px;
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(242,202,114,.28), transparent 36%),
    linear-gradient(145deg, #0d1624, #132033 52%, #1d7f79 120%);
  border: 1px solid rgba(242,202,114,.18);
  box-shadow: 0 24px 58px rgba(10,16,24,.24), 0 10px 24px rgba(20,116,111,.16);
  transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease, border-radius .22s ease;
}

.ml-chatbot-toggle::before {
  content: "";
  position: absolute;
  inset: -40% 44% -40% -30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transform: rotate(20deg);
  animation: mlChatbotShine 5.5s ease-in-out infinite;
}

.ml-chatbot-toggle:hover,
.ml-chatbot-toggle:focus-visible {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 64px rgba(10,16,24,.28), 0 12px 26px rgba(20,116,111,.22);
}

.ml-chatbot-toggle:focus-visible,
.ml-chatbot-close:focus-visible,
.ml-chatbot-send:focus-visible,
.ml-chatbot-suggestion:focus-visible {
  outline: 2px solid rgba(242,202,114,.58);
  outline-offset: 3px;
}

.ml-chatbot-toggle svg,
.ml-chatbot-badge,
.ml-chatbot-toggle-label {
  position: relative;
  z-index: 1;
}

.ml-chatbot-toggle svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.ml-chatbot-toggle-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.05;
  text-align: start;
}

.ml-chatbot-badge {
  display: none;
}

.ml-chatbot-panel {
  width: min(430px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 120px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(242,202,114,.24);
  background:
    linear-gradient(180deg, rgba(255,252,246,.98), rgba(247,241,227,.98)),
    radial-gradient(circle at top, rgba(213,161,58,.16), transparent 34%);
  box-shadow: 0 28px 88px rgba(10,16,24,.28);
  opacity: 0;
  transform: translateY(22px) scale(.94);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

body.chatbot-open .ml-chatbot-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

body.chatbot-open .ml-chatbot-toggle {
  opacity: 0;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
}

.ml-chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 16px;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 18%, rgba(242,202,114,.26), transparent 26%),
    linear-gradient(135deg, rgba(10,16,24,.98), rgba(17,38,51,.95));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ml-chatbot-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.ml-chatbot-brand-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  padding: 7px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04)),
    rgba(255,255,255,.04);
  border: 1px solid rgba(242,202,114,.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.ml-chatbot-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(72%) sepia(67%) saturate(620%) hue-rotate(355deg) brightness(98%) contrast(94%);
}

.ml-chatbot-brand-copy {
  min-width: 0;
}

.ml-chatbot-brand-copy strong,
.ml-chatbot-brand-copy span {
  display: block;
}

.ml-chatbot-brand-copy strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold-soft);
}

.ml-chatbot-brand-copy span {
  margin-top: 3px;
  color: rgba(255,255,255,.74);
  font-size: 12px;
  line-height: 1.6;
}

.ml-chatbot-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.08);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.ml-chatbot-close:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-1px);
}

.ml-chatbot-close svg {
  width: 18px;
  height: 18px;
}

.ml-chatbot-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  padding: 18px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 0%, rgba(213,161,58,.12), transparent 20%),
    radial-gradient(circle at 0% 100%, rgba(20,116,111,.09), transparent 22%);
  scrollbar-width: thin;
  scrollbar-color: rgba(213,161,58,.38) transparent;
}

.ml-chatbot-message {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.ml-chatbot-message[data-role="user"] {
  justify-content: flex-end;
}

.ml-chatbot-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d1624, #22344b);
  color: var(--gold-soft);
  box-shadow: 0 12px 24px rgba(10,16,24,.15);
}

.ml-chatbot-avatar svg {
  width: 18px;
  height: 18px;
}

.ml-chatbot-message[data-role="user"] .ml-chatbot-avatar {
  display: none;
}

.ml-chatbot-bubble {
  max-width: min(82%, 300px);
  padding: 14px 15px;
  border-radius: 20px;
  line-height: 1.9;
  font-size: 14px;
  box-shadow: 0 16px 32px rgba(10,16,24,.08);
}

.ml-chatbot-message[data-role="bot"] .ml-chatbot-bubble {
  color: #18202d;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,248,239,.96)),
    radial-gradient(circle at top, rgba(213,161,58,.12), transparent 28%);
  border: 1px solid rgba(17,21,27,.08);
  border-bottom-right-radius: 8px;
}

.ml-chatbot-message[data-role="user"] .ml-chatbot-bubble {
  color: var(--white);
  background:
    linear-gradient(135deg, #0f1b2c, #1a3147),
    radial-gradient(circle at top, rgba(242,202,114,.14), transparent 30%);
  border: 1px solid rgba(242,202,114,.12);
  border-bottom-left-radius: 8px;
}

.ml-chatbot-message p {
  margin: 0;
  white-space: pre-wrap;
}

.ml-chatbot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ml-chatbot-suggestion {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(213,161,58,.22);
  border-radius: 999px;
  background: rgba(213,161,58,.1);
  color: #7d5312;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ml-chatbot-suggestion:hover {
  transform: translateY(-2px);
  border-color: rgba(213,161,58,.34);
  background: rgba(213,161,58,.16);
}

.ml-chatbot-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ml-chatbot-typing span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(20,116,111,.7);
  animation: mlChatbotTyping 1.2s ease-in-out infinite;
}

.ml-chatbot-typing span:nth-child(2) {
  animation-delay: .15s;
}

.ml-chatbot-typing span:nth-child(3) {
  animation-delay: .3s;
}

.ml-chatbot-footer {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(17,21,27,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,250,242,.98)),
    radial-gradient(circle at top, rgba(213,161,58,.1), transparent 26%);
}

.ml-chatbot-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.ml-chatbot-input-wrap {
  border: 1px solid rgba(17,21,27,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}

.ml-chatbot-input {
  width: 100%;
  min-height: 54px;
  max-height: 150px;
  resize: none;
  border: 0;
  outline: 0;
  padding: 14px 16px;
  color: #1c2430;
  background: transparent;
  font: inherit;
  font-size: 14px;
  line-height: 1.75;
}

.ml-chatbot-input::placeholder {
  color: #7c8592;
}

.ml-chatbot-input-wrap:focus-within {
  border-color: rgba(213,161,58,.44);
  box-shadow: 0 0 0 3px rgba(213,161,58,.12);
}

.ml-chatbot-send {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 18px;
  color: #111;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 28px rgba(213,161,58,.24);
  transition: transform .18s ease, box-shadow .18s ease;
}

.ml-chatbot-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(213,161,58,.28);
}

.ml-chatbot-send svg {
  width: 20px;
  height: 20px;
}

.ml-chatbot-send:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 10px 18px rgba(213,161,58,.18);
}

.ml-chatbot-note {
  margin: 0;
  color: #6b7380;
  font-size: 12px;
  line-height: 1.7;
}

.ml-chatbot-note.is-warning {
  color: #9b5e11;
}

.ml-chatbot-insights {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(213,161,58,.18);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.98), rgba(255,249,240,.95)),
    radial-gradient(circle at top, rgba(213,161,58,.12), transparent 30%);
  box-shadow: 0 14px 28px rgba(10,16,24,.06);
}

.ml-chatbot-insights[hidden] {
  display: none !important;
}

.ml-chatbot-insights-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
}

.ml-chatbot-insights-toggle-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.ml-chatbot-insights-toggle strong {
  font-size: 14px;
  color: #17202d;
}

.ml-chatbot-insights-intent {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20,116,111,.1);
  color: #0f5d59;
  font-size: 12px;
  font-weight: 800;
}

.ml-chatbot-insights-toggle-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(17,26,42,.06);
  color: #17202d;
  font-size: 14px;
  transition: transform .18s ease, background .18s ease;
}

.ml-chatbot-insights-toggle:hover .ml-chatbot-insights-toggle-icon,
.ml-chatbot-insights-toggle:focus-visible .ml-chatbot-insights-toggle-icon {
  background: rgba(213,161,58,.12);
}

.ml-chatbot-insights-body {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
  max-height: 360px;
  overflow-y: auto;
}

.ml-chatbot-insights.is-collapsed .ml-chatbot-insights-body {
  display: none;
}

.ml-chatbot-insights.is-collapsed .ml-chatbot-insights-toggle {
  padding-bottom: 12px;
}

.ml-chatbot-insights.is-collapsed .ml-chatbot-insights-toggle-icon {
  transform: rotate(180deg);
}

.ml-chatbot-insights-text {
  margin: 0;
  color: #4d5867;
  font-size: 13px;
  line-height: 1.8;
}

.ml-chatbot-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ml-chatbot-lead-grid,
.ml-chatbot-product-grid {
  display: grid;
  gap: 10px;
}

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

.ml-chatbot-lead-card,
.ml-chatbot-product-card {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border-radius: 16px;
  border: 1px solid rgba(17,21,27,.08);
  background: rgba(255,255,255,.92);
}

.ml-chatbot-lead-card span,
.ml-chatbot-product-card span {
  color: #687383;
  font-size: 11px;
  line-height: 1.6;
}

.ml-chatbot-lead-card strong,
.ml-chatbot-product-card strong {
  color: #17202d;
  font-size: 13px;
  line-height: 1.7;
}

.ml-chatbot-lead-card.is-missing {
  border-style: dashed;
  border-color: rgba(213,161,58,.28);
  background: rgba(255,249,240,.92);
}

.ml-chatbot-lead-card.is-complete {
  border-color: rgba(20,116,111,.18);
}

.ml-chatbot-product-card {
  color: inherit;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ml-chatbot-product-card small {
  color: #9b5e11;
  font-size: 11px;
  font-weight: 800;
}

.ml-chatbot-product-card:hover,
.ml-chatbot-product-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(213,161,58,.32);
  box-shadow: 0 14px 26px rgba(10,16,24,.08);
}

.ml-chatbot-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(17,26,42,.06);
  color: #243244;
  border: 1px solid rgba(17,26,42,.08);
  font-size: 12px;
  font-weight: 800;
}

.ml-chatbot-link-grid {
  display: grid;
  gap: 10px;
}

.ml-chatbot-link {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border-radius: 16px;
  border: 1px solid rgba(17,21,27,.08);
  background: rgba(255,255,255,.92);
  color: inherit;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ml-chatbot-link:hover,
.ml-chatbot-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(213,161,58,.32);
  box-shadow: 0 14px 26px rgba(10,16,24,.08);
}

.ml-chatbot-link strong {
  color: #111a2a;
  font-size: 13px;
}

.ml-chatbot-link span {
  color: #5d6875;
  font-size: 12px;
  line-height: 1.7;
}

.ml-chatbot-handoff {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, #0f6a62, #0a8f79);
  box-shadow: 0 16px 32px rgba(10,143,121,.2);
  transition: transform .18s ease, box-shadow .18s ease;
}

.ml-chatbot-handoff:hover,
.ml-chatbot-handoff:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(10,143,121,.24);
}

@keyframes mlChatbotShine {
  0%, 56% {
    transform: translateX(-90%) rotate(20deg);
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(250%) rotate(20deg);
    opacity: 0;
  }
}

@keyframes mlChatbotTyping {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: .3;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .ml-chatbot-shell {
    right: 10px;
    left: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }

  .ml-chatbot-panel {
    width: 100%;
    max-height: min(86vh, calc(100vh - 18px));
    border-radius: 30px;
    transform-origin: bottom center;
    box-shadow: 0 26px 70px rgba(10,16,24,.34);
  }

  .ml-chatbot-toggle {
    min-width: 118px;
    min-height: 60px;
    padding: 9px 14px 9px 10px;
    border-radius: 22px;
    box-shadow: 0 22px 48px rgba(10,16,24,.26), 0 10px 20px rgba(20,116,111,.16);
  }

  .ml-chatbot-toggle svg {
    width: 20px;
    height: 20px;
    padding: 9px;
    border-radius: 13px;
  }

  .ml-chatbot-toggle-label {
    font-size: 11px;
  }

  .ml-chatbot-header {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 16px 16px 14px;
  }

  .ml-chatbot-brand {
    align-items: flex-start;
  }

  .ml-chatbot-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .ml-chatbot-brand-copy strong {
    font-size: 16px;
    line-height: 1.2;
  }

  .ml-chatbot-brand-copy span {
    font-size: 11.5px;
    line-height: 1.55;
  }

  .ml-chatbot-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .ml-chatbot-body,
  .ml-chatbot-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ml-chatbot-body {
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 10px;
    overscroll-behavior: contain;
  }

  .ml-chatbot-footer {
    gap: 12px;
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .ml-chatbot-composer {
    grid-template-columns: minmax(0, 1fr) 60px;
    gap: 8px;
    align-items: stretch;
  }

  .ml-chatbot-input-wrap {
    border-radius: 22px;
  }

  .ml-chatbot-input {
    min-height: 60px;
    padding: 14px 14px 13px;
    font-size: 16px;
    line-height: 1.65;
  }

  .ml-chatbot-send {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    align-self: end;
  }

  .ml-chatbot-lead-grid {
    grid-template-columns: 1fr;
  }

  .ml-chatbot-bubble {
    max-width: 92%;
    padding: 13px 14px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.8;
  }

  .ml-chatbot-avatar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .ml-chatbot-actions {
    gap: 6px;
  }

  .ml-chatbot-suggestion {
    width: 100%;
    justify-content: center;
    min-height: 40px;
  }

  .ml-chatbot-note {
    font-size: 11.5px;
    line-height: 1.65;
  }

  .ml-chatbot-insights-toggle-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .ml-chatbot-insights {
    border-radius: 20px;
  }

  .ml-chatbot-insights-toggle {
    padding: 12px;
  }

  .ml-chatbot-insights-toggle strong {
    font-size: 13px;
  }

  .ml-chatbot-insights-intent {
    min-height: 28px;
    font-size: 11px;
  }

  .ml-chatbot-insights-body {
    padding: 0 12px 12px;
    max-height: 240px;
  }

  .ml-chatbot-link-grid,
  .ml-chatbot-product-grid {
    grid-template-columns: 1fr;
  }

  .ml-chatbot-handoff {
    min-height: 56px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-chatbot-toggle,
  .ml-chatbot-panel,
  .ml-chatbot-suggestion,
  .ml-chatbot-send {
    transition: none !important;
  }

  .ml-chatbot-toggle::before,
  .ml-chatbot-typing span {
    animation: none !important;
  }
}
