/* ============================================================
   AVENTRA — styles.css
   Palette: dark navy (#0a1628) + champagne gold (#c9a45c)
   Font: Inter
   ============================================================ */

:root {
  --navy-900: #07111f;
  --navy-800: #0a1628;
  --navy-700: #0e1a2d;
  --navy-600: #111c2e;
  --navy-500: #151f30;
  --navy-400: #1a2535;
  --navy-300: #1e2d42;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(201, 164, 92, 0.25);
  --gold: #c9a45c;
  --gold-light: #d9bc86;
  --gold-soft: rgba(201, 164, 92, 0.12);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --muted-2: rgba(255, 255, 255, 0.45);
  --radius: 16px;
  --maxw: 1240px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--navy-800);
  color: var(--white);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography helpers ---------- */
h1, h2, h3 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; }

.eyebrow, .kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker { margin-bottom: 18px; display: block; }

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin-top: 16px;
}
.muted { color: var(--muted); font-size: 0.92rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #1a1208; box-shadow: 0 10px 30px -10px rgba(201, 164, 92, 0.6); }
.btn-gold:hover { box-shadow: 0 14px 36px -10px rgba(201, 164, 92, 0.8); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-soft); }
.btn-sm { padding: 11px 20px; font-size: 0.86rem; }
.full { width: 100%; }

/* ---------- Section base ---------- */
.section { padding: 110px 0; position: relative; }
.band-note { margin-top: 36px; color: var(--muted-2); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; line-height: 0; }
.logo-img { height: 44px; width: auto; display: block; }
.footer-logo { height: 52px; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-size: 0.82rem; color: var(--muted); transition: color 0.2s ease; position: relative; white-space: nowrap; }
.nav-links a:hover { color: var(--white); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--gold); transition: width 0.25s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-brochure { color: var(--gold-light); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; font-weight: 600; letter-spacing: 0.02em; }
.nav-links .nav-brochure::after { display: none; }
.nav-links .nav-brochure:hover { border-color: var(--gold); background: var(--gold-soft); color: var(--white); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { padding-top: 150px; padding-bottom: 70px; background:
  radial-gradient(900px 500px at 80% -10%, rgba(201, 164, 92, 0.12), transparent 60%),
  radial-gradient(700px 500px at 0% 30%, rgba(29, 56, 92, 0.5), transparent 55%),
  var(--navy-800);
  position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { margin-bottom: 22px; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-note { color: var(--gold-light); font-weight: 600; font-size: 0.98rem; }
.hero-note-sub { color: var(--muted-2); font-size: 0.9rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); aspect-ratio: 3 / 4; object-fit: cover; }
.hero-media-tag {
  position: absolute; bottom: 22px; left: 22px;
  background: rgba(7, 17, 31, 0.7); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 9px 18px; font-size: 0.78rem; letter-spacing: 0.14em; color: var(--gold-light);
}
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted-2); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- ABOUT ---------- */
.about { background: var(--navy-900); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 40px; }
.tags { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 60px; }
.tags span { border: 1px solid var(--line-strong); color: var(--gold-light); border-radius: 999px; padding: 8px 18px; font-size: 0.82rem; letter-spacing: 0.05em; }

/* floorplan */
.floorplan { border-top: 1px solid var(--line); padding-top: 50px; }
.floorplan-label { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 24px; }
.floorplan-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.zone {
  background: var(--navy-600); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 14px; text-align: center; cursor: pointer; transition: all 0.25s ease;
  display: flex; flex-direction: column; gap: 6px; font-family: inherit; color: var(--white);
}
.zone span:nth-child(2) { font-weight: 700; font-size: 1rem; }
.zone .zone-no { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.1em; }
.zone .zone-sub { color: var(--muted-2); font-size: 0.72rem; }
.zone:hover, .zone.active { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-3px); }
.floorplan-detail { margin-top: 26px; padding: 24px 28px; background: var(--navy-700); border-left: 3px solid var(--gold); border-radius: 10px; color: var(--muted); }

/* ---------- CARDS ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: linear-gradient(180deg, var(--navy-600), var(--navy-700));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.7); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-no { color: var(--gold); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 16px; }
.card-icon { font-size: 1.8rem; margin-bottom: 16px; }
.card-feature { grid-column: span 1; border-color: var(--line-strong); background: linear-gradient(180deg, var(--navy-500), var(--navy-700)); }

/* ---------- QUOTE BAND ---------- */
.quote-band { background: var(--navy-900); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 90px 0; }
.quote-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.quote-img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.quote-text blockquote { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
.quote-text cite { display: block; margin-top: 22px; color: var(--gold); font-style: normal; font-size: 0.85rem; letter-spacing: 0.1em; }

/* ---------- PROCESS ---------- */
.process { background: var(--navy-800); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 50px 0 70px; }
.step { background: var(--navy-600); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; transition: all 0.3s ease; position: relative; }
.step:hover { border-color: var(--gold); transform: translateY(-4px); }
.step-no { display: inline-block; color: var(--gold); font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.85rem; }
.process-detail { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; }
.process-detail img { border-radius: 12px; }
.process-detail h3 { margin-bottom: 14px; }
.process-detail p { color: var(--muted); margin-bottom: 18px; }

.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--muted); font-size: 0.92rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- STATS ---------- */
.stats { background: var(--navy-900); }
.stat-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 50px 0 20px; }
.stat-block { background: var(--navy-600); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.stat-label { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.stat-big { font-size: clamp(3rem, 7vw, 5rem); font-weight: 800; line-height: 1; color: var(--white); }
.stat-big .count { color: var(--gold-light); }
.stat-foot { color: var(--muted-2); font-size: 0.9rem; margin-bottom: 16px; }
.stat-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.uplift { display: flex; gap: 18px; margin-bottom: 18px; }
.uplift > div { text-align: center; flex: 1; }
.uplift > div span { font-size: 1.8rem; font-weight: 800; color: var(--gold-light); }
.uplift small { display: block; color: var(--muted-2); font-size: 0.78rem; margin-top: 4px; }
.vs { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.vs > div { flex: 1; }
.vs span { font-size: 1.8rem; font-weight: 800; color: var(--white); }
.vs small { display: block; color: var(--muted-2); font-size: 0.74rem; }
.vs-arrow { color: var(--gold); font-size: 1.4rem; flex: 0 !important; }
.disclaimer { color: var(--muted-2); font-size: 0.82rem; font-style: italic; margin: 8px 0 50px; }
.quick-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quick-stats > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; background: var(--navy-600); }
.qs-no { display: block; font-size: 1.8rem; font-weight: 800; color: var(--gold-light); }
.qs-lbl { display: block; color: var(--white); font-weight: 600; letter-spacing: 0.08em; margin: 6px 0 10px; font-size: 0.85rem; }
.quick-stats small { color: var(--muted-2); font-size: 0.8rem; }

/* ---------- ZONING ---------- */
.zoning { background: var(--navy-800); }
.zoning-visual { position: relative; border-radius: var(--radius); overflow: hidden; margin: 50px auto 36px; max-width: 900px; border: 1px solid var(--line); }
.zoning-visual img { width: 100%; }
.zone-tags { position: absolute; inset: 0; }
.zt { position: absolute; background: rgba(7, 17, 31, 0.78); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--white); transition: all 0.3s ease; }
.zt.active { border-color: var(--gold); color: var(--gold-light); transform: scale(1.08); }
.zt-strength { top: 14%; left: 10%; }
.zt-cardio { top: 14%; right: 12%; }
.zt-functional { bottom: 30%; left: 16%; }
.zt-wellness { bottom: 14%; right: 14%; }
.zt-entry { bottom: 14%; left: 42%; }
.zoning-principles { max-width: 700px; margin: 0 auto; }
.zoning-principles h3 { text-align: center; margin-bottom: 20px; }
.zone-toggle { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.zt-btn { background: var(--navy-600); border: 1px solid var(--line); color: var(--muted); padding: 10px 22px; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 0.85rem; transition: all 0.25s ease; }
.zt-btn:hover { border-color: var(--gold); color: var(--white); }
.zt-btn.active { background: var(--gold); color: #1a1208; border-color: var(--gold); font-weight: 600; }

/* ---------- WHY ---------- */
.why { background: var(--navy-900); }

/* ---------- CONTACT ---------- */
.contact { background:
  radial-gradient(800px 500px at 100% 0%, rgba(201, 164, 92, 0.1), transparent 60%),
  var(--navy-800); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-channels { display: grid; gap: 12px; margin-top: 34px; }
.contact-channels a { display: flex; gap: 14px; align-items: baseline; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--navy-700); transition: border-color 0.25s ease, transform 0.25s ease; }
.contact-channels a:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-channels strong { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; min-width: 92px; }
.contact-channels span { color: var(--white); }

.contact-form { background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; color: var(--white); font-family: inherit; font-size: 0.92rem; transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form-note { grid-column: 1 / -1; color: var(--muted-2); font-size: 0.76rem; margin-top: 6px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-900); border-top: 1px solid var(--line); padding: 60px 0 40px; text-align: center; }
.footer p { color: var(--muted-2); font-size: 0.85rem; margin-top: 10px; }
.footer-links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
.footer-links a { color: var(--muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.copyright { font-size: 0.78rem !important; color: var(--muted-2); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .quote-inner, .process-detail, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-900); padding: 24px 28px; gap: 18px; border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { font-size: 1rem; }
  .floorplan-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-blocks, .cards-grid, .grid-3 { grid-template-columns: 1fr 1fr; }
  .quick-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 120px; }
  .floorplan-grid, .steps, .stat-blocks, .cards-grid, .grid-3, .quick-stats, .contact-form { grid-template-columns: 1fr; }
  .uplift { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .contact-form { padding: 26px; }
}

/* ============================================================
   NEW: Hero eyebrow sub, 3D module cube, Gym Concepts
   ============================================================ */
.eyebrow-sub {
  color: var(--muted-2);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  margin: -12px 0 26px;
  text-transform: uppercase;
}

/* ---------- 3D interactive layout ---------- */
.layout { background:
  radial-gradient(700px 420px at 78% 18%, rgba(201,164,92,0.10), transparent 60%),
  var(--navy-900); }
.scene-wrap {
  perspective: 1400px;
  height: 460px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  margin: 56px auto 26px;
}
.scene {
  position: relative; width: 380px; height: 380px;
  transform-style: preserve-3d;
  transform: rotateX(-14deg) rotateY(28deg);
  animation: autorotate 26s linear infinite;
}
@keyframes autorotate {
  from { transform: rotateX(-14deg) rotateY(28deg); }
  to   { transform: rotateX(-14deg) rotateY(388deg); }
}
.module {
  position: absolute; width: 150px; height: 150px;
  left: 50%; top: 50%; margin: -75px 0 0 -75px;
  border-radius: 8px;
  background: linear-gradient(155deg, rgba(34,44,55,0.92), rgba(18,22,27,0.88));
  border: 1px solid var(--steel-line, rgba(57,67,76,0.6));
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset, 0 30px 60px -20px rgba(0,0,0,0.7);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px;
  --start: 480px; --end: 120px;
  opacity: 0;
  animation: assemble 1.1s cubic-bezier(.16,.84,.44,1) both;
  animation-delay: calc(0.5s + var(--order,0) * 0.09s);
}
.module::after {
  content: ''; position: absolute; inset: 0; border-radius: 8px;
  background: linear-gradient(155deg, rgba(201,164,92,0.12), transparent 55%);
  pointer-events: none;
}
.module .m-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase;
}
.module .m-name { font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: #eef2f4; font-weight: 500; }
.module svg { width: 32px; height: 32px; stroke: var(--chrome-mist, #c9d3da); opacity: 0.85; fill: none; }
@keyframes assemble {
  0%   { opacity: 0; transform: rotateY(var(--ry,0deg)) rotateX(var(--rx,0deg)) translateZ(var(--start,480px)); }
  100% { opacity: 1; transform: rotateY(var(--ry,0deg)) rotateX(var(--rx,0deg)) translateZ(var(--end,120px)); }
}
.m1 { --ry: 0deg;    --order: 0; }
.m2 { --ry: 90deg;   --order: 1; }
.m3 { --ry: 180deg;  --order: 2; }
.m4 { --ry: -90deg;  --order: 3; }
.m5 { --rx: 90deg;   --order: 4; }
.m6 { --rx: -90deg;  --order: 5; }
.ring {
  position: absolute; left: 50%; top: 50%;
  width: 480px; height: 480px; margin: -240px 0 0 -240px;
  border: 1px solid rgba(201,164,92,0.18); border-radius: 50%;
  transform-style: preserve-3d; transform: rotateX(80deg);
  opacity: 0; animation: ring-in 1.4s ease-out 0.3s both;
}
@keyframes ring-in { 0% { opacity: 0; transform: rotateX(80deg) scale(0.7); } 100% { opacity: 1; transform: rotateX(80deg) scale(1); } }
.scene-wrap .hint { position: absolute; bottom: 4px; color: var(--muted-2); font-size: 0.74rem; letter-spacing: 0.1em; font-family: 'JetBrains Mono', monospace; }
.floor-detail {
  max-width: 640px; margin: 0 auto; padding: 22px 26px;
  background: var(--navy-700); border-left: 3px solid var(--gold);
  border-radius: 10px; color: var(--muted); text-align: center; transition: opacity .15s ease;
}

/* ---------- Gym Concepts ---------- */
.concepts { background: var(--navy-800); }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.concept {
  background: linear-gradient(180deg, var(--navy-600), var(--navy-700));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.concept:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 26px 54px -30px rgba(0,0,0,0.7); }
.concept-head { padding: 30px 28px 24px; border-bottom: 1px solid var(--line); }
.concept-no { font-family: 'JetBrains Mono', monospace; color: var(--gold); font-size: 0.8rem; letter-spacing: 0.14em; }
.concept-head h3 { margin: 10px 0 6px; font-family: 'Space Grotesk', sans-serif; }
.concept-tag { color: var(--muted-2); font-size: 0.82rem; letter-spacing: 0.04em; }
.concept > .concept-intro { padding: 22px 28px 0; color: var(--muted); font-size: 0.93rem; }
.concept-specs { display: flex; gap: 8px; padding: 20px 28px; flex-wrap: wrap; }
.concept-specs > div { flex: 1; min-width: 90px; background: var(--navy-800); border: 1px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; }
.cs-lbl { display: block; color: var(--muted-2); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.cs-val { display: block; color: var(--gold-light); font-weight: 600; font-size: 0.9rem; }
.concept ul.ticks, .concept .cs-sub { padding: 0 28px; }
.cs-sub { color: var(--muted-2); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; }
.concept ul.ticks li:last-child { margin-bottom: 18px; }
.concept-outcomes {
  margin-top: auto; padding: 18px 28px 26px; border-top: 1px dashed var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.concept-outcomes span { color: var(--muted); font-size: 0.82rem; position: relative; padding-left: 18px; }
.concept-outcomes span::before { content: '★'; position: absolute; left: 0; color: var(--gold); font-size: 0.7rem; }
.concept-head.compact { background: linear-gradient(135deg, rgba(34,44,55,0.5), transparent); }
.concept-head.premium { background: linear-gradient(135deg, rgba(201,164,92,0.16), transparent); }
.concept-head.luxury { background: linear-gradient(135deg, rgba(201,164,92,0.3), rgba(13,31,56,0.6)); }

.band-note.left { text-align: left; margin-top: 18px; }

/* ---------- Footer brand ---------- */
.footer-brand { display: inline-flex; line-height: 0; margin-bottom: 14px; }
.footer-tag { color: var(--gold) !important; font-weight: 600; letter-spacing: 0.1em; font-size: 0.9rem !important; }

/* ---------- Responsive for new sections ---------- */
@media (max-width: 980px) {
  .concept-grid { grid-template-columns: 1fr; }
  .scene-wrap { height: 380px; }
  .scene { width: 280px; height: 280px; }
  .module { width: 110px; height: 110px; margin: -55px 0 0 -55px; padding: 12px; --end: 80px; --start: 320px; }
  .module .m-name { font-size: 12px; }
  .module svg { width: 24px; height: 24px; }
  .ring { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene { animation: none; }
  .module { animation: none; opacity: 1; }
  .m1 { transform: translateZ(120px); }
  .m2 { transform: rotateY(90deg) translateZ(120px); }
  .m3 { transform: rotateY(180deg) translateZ(120px); }
  .m4 { transform: rotateY(-90deg) translateZ(120px); }
  .m5 { transform: rotateX(90deg) translateZ(120px); }
  .m6 { transform: rotateX(-90deg) translateZ(120px); }
}

/* ---------- Call / WhatsApp buttons ---------- */
.contact-buttons { display: flex; gap: 14px; margin: 32px 0 18px; flex-wrap: wrap; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 14px 24px; border-radius: 12px; font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease; text-decoration: none;
}
.contact-btn:hover { transform: translateY(-3px); }
.contact-btn .cb-icon { font-size: 1.45rem; line-height: 1; }
.contact-btn .cb-text { display: flex; flex-direction: column; line-height: 1.25; }
.contact-btn .cb-text strong { font-size: 1rem; }
.contact-btn .cb-text small { font-size: 0.76rem; opacity: 0.82; font-weight: 500; }
.btn-call { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #1a1208; box-shadow: 0 12px 30px -12px rgba(201,164,92,0.6); }
.btn-call:hover { box-shadow: 0 16px 36px -12px rgba(201,164,92,0.8); }
.btn-whatsapp { background: #25D366; color: #053919; box-shadow: 0 12px 30px -12px rgba(37,211,102,0.6); }
.btn-whatsapp:hover { box-shadow: 0 16px 36px -12px rgba(37,211,102,0.8); }

/* ---------- Collapse the wider 8-item menu earlier ---------- */
@media (max-width: 1060px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--navy-900);
    padding: 22px 28px; gap: 16px; border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { font-size: 1rem; }
  .nav-links.open a::after { display: none; }
  .nav-links.open .nav-brochure { margin-top: 4px; }
}

/* ============================================================
   TWEAKS: spacing, WhatsApp on-brand, collapsible Projects
   ============================================================ */
/* Tighten the gap before the Interactive Layout section */
.about { padding-bottom: 60px; }
.layout { padding-top: 50px; }
.tags { margin-bottom: 0; }

/* Call + WhatsApp both in website (gold) color coding */
.contact-btn.btn-call { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #1a1208; }
.btn-whatsapp { background: transparent; color: var(--gold-light); border: 1.5px solid var(--gold); box-shadow: none; }
.btn-whatsapp:hover { background: var(--gold-soft); color: #fff; box-shadow: 0 12px 30px -14px rgba(201,164,92,0.5); transform: translateY(-3px); }

/* "Our Projects" — hidden on the homepage, shown only when its menu link is clicked */
.collapsible { display: none; }
.collapsible.shown { display: block; }

/* ---------- Centered section headers (label + heading + intro sentence) ---------- */
.centered-head > .container > .kicker,
.centered-head > .container > h2,
.centered-head > .container > .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.centered-head > .container > .section-lead { max-width: 760px; }
.centered-head > .container > h2 { max-width: 900px; }

/* ============================================================
   Floating action buttons + AI chat assistant
   ============================================================ */
.fab {
  position: fixed; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; text-decoration: none;
  box-shadow: 0 10px 30px -6px rgba(0,0,0,0.55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab svg { width: 30px; height: 30px; }
.fab-wa { left: 22px; bottom: 22px; background: #25D366; color: #fff; }
.fab-wa svg { width: 32px; height: 32px; }
.fab-support { right: 22px; bottom: 22px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #1a1208; }
.fab-support .ic-close { display: none; }
.fab-support.open .ic-open { display: none; }
.fab-support.open .ic-close { display: block; }
.fab-support.open .fab-ping { display: none; }
.fab-ping { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold); animation: fabping 2.6s ease-out infinite; }
@keyframes fabping { 0% { transform: scale(1); opacity: .6; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }

/* Chat panel */
.chat-panel {
  position: fixed; z-index: 95; right: 22px; bottom: 92px;
  width: 360px; max-width: calc(100vw - 32px);
  height: 520px; max-height: calc(100vh - 130px);
  background: var(--navy-800); border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.8);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.16,.84,.44,1), opacity .3s ease;
}
.chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); border-bottom: 1px solid var(--line); }
.chat-id { display: flex; align-items: center; gap: 11px; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #1a1208; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.chat-id strong { display: block; font-size: .95rem; }
.chat-id small { display: flex; align-items: center; gap: 6px; color: var(--muted-2); font-size: .72rem; }
.chat-id .online { width: 7px; height: 7px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,.2); }
.chat-close { background: none; border: none; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.chat-close:hover { color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--navy-900); }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: .88rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { align-self: flex-start; background: var(--navy-600); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: #eef2f4; }
.msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #1a1208; border-bottom-right-radius: 4px; }
.msg a { color: var(--gold-light); }
.typing { align-self: flex-start; background: var(--navy-600); border: 1px solid var(--line); padding: 13px 15px; border-radius: 14px; display: flex; gap: 5px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 9px 12px; border-top: 1px solid var(--line); background: var(--navy-800); }
.chat-quick button { font-family: inherit; font-size: .74rem; color: var(--gold-light); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 11px; cursor: pointer; transition: all .2s; }
.chat-quick button:hover { background: var(--gold-soft); color: #fff; border-color: var(--gold); }
.chat-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--navy-800); }
.chat-input input { flex: 1; background: var(--navy-900); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; color: #fff; font-family: inherit; font-size: .88rem; }
.chat-input input:focus { outline: none; border-color: var(--gold); }
.chat-input button { width: 40px; height: 40px; flex: 0 0 40px; border: none; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #1a1208; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.chat-input button svg { width: 18px; height: 18px; transform: translateX(1px); }

@media (max-width: 600px) {
  .fab { width: 52px; height: 52px; }
  .fab svg { width: 26px; height: 26px; }
  .fab-wa { left: 16px; bottom: 16px; }
  .fab-support { right: 16px; bottom: 16px; }
  .chat-panel { right: 8px; left: 8px; bottom: 80px; width: auto; height: 72vh; max-height: none; }
}
