/* ==== Base Colors & Vars ==== */
:root {
  --bg: #0b0d12;
  --ink: #e9eef5;
  --mute: #9aa7b4;
  --card: #141924;
  --stroke: #232a36;
  --accent: #7dd3fc;
  --accent-ink: #062231;
  --ok: #34d399;
}

/* ==== Reset & Base ==== */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }

/* ==== Layout Helpers ==== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

/* ==== Nav Bar ==== */
.nav {
  position: sticky; top: 0;
  background: rgba(11, 13, 18, .7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
  z-index: 50;
}
.nav .brand { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.nav .links { display: flex; gap: 10px; align-items: center; }
.nav .links a { padding: 8px 12px; border-radius: 10px; }
.nav .links a.cta {
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700;
}

/* ==== Dropdown ==== */
.dropdown { position: relative; }
.dropbtn {
  background: transparent; border: 1px solid var(--stroke);
  color: var(--ink); padding: 8px 12px;
  border-radius: 10px; cursor: pointer;
}
.dropdown-content {
  display: none; position: absolute; right: 0;
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: 12px; min-width: 200px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.dropdown-content a { display: block; padding: 10px 12px; border-bottom: 1px solid #1c2330; }
.dropdown:hover .dropdown-content { display: block; }

/* ==== Hero ==== */
.hero {
  padding: 72px 0;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(125, 211, 252, .08), transparent 60%);
}
.hero h1 { font-size: 40px; line-height: 1.1; margin: 0 0 10px; }
.hero-flex { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.hero-text { flex: 1; }
.hero-image img { max-width: 200px; height: auto; }
.lead { color: var(--mute); max-width: 760px; margin: 0 0 16px; }

/* ==== Buttons ==== */
.cta-row { display: flex; gap: 12px; margin: 16px 0 8px; }
.btn {
  display: inline-block; padding: 12px 16px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
}
.btn.primary {
  background: var(--accent); color: var(--accent-ink);
  border-color: transparent; font-weight: 700;
}
.btn.ghost:hover { border-color: var(--accent); }

/* ==== Cards ==== */
.card {
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: 16px; padding: 16px;
}

/* ==== Sections ==== */
.section { padding: 56px 0; border-top: 1px solid var(--stroke); }
.section.alt { background: #0e121a; }

/* ==== Lists ==== */
.pill-list {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 8px 0 0; padding: 0; list-style: none;
}
.pill-list li {
  border: 1px solid var(--stroke); border-radius: 999px;
  padding: 8px 12px; background: #0f141e;
}
.muted { color: var(--mute); }

/* ==== Forms ==== */
.contact .quote-form { margin-top: 12px; }
.quote-form label { display: block; font-size: 14px; color: var(--mute); margin-bottom: 8px; }
.quote-form input, .quote-form textarea {
  width: 100%; padding: 10px 12px;
  border-radius: 10px; border: 1px solid var(--stroke);
  background: #0f141e; color: var(--ink); margin-top: 6px;
}
.quote-form button { margin-top: 10px; }
.privacy { color: var(--mute); font-size: 12px; margin-top: 8px; }

/* ==== Footer ==== */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 16px 0; color: var(--mute); background: #0c1017;
}

/* ==== Gallery ==== */
.gallery {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}
.gallery img {
  max-width: 320px; width: 100%; height: 220px; object-fit: cover;
  border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: transform .15s ease;
}
.gallery img:hover { transform: scale(1.02); }

/* ==== Modal ==== */
.modal{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;padding:1rem;z-index:1000;}
.modal.show{display:flex;}
.modal-dialog{position:relative;background:#fff;color:#222;max-width:640px;width:100%;border-radius:12px;padding:1.25rem 1.25rem 1rem;box-shadow:0 10px 30px rgba(0,0,0,.25);}
.modal-close{position:absolute;right:1rem;top:0.6rem;background:transparent;border:0;font-size:1.5rem;cursor:pointer;}
.qtext{font-size:1.1rem;line-height:1.5;margin:0 0 .25rem 0;}
.qsource{color:#666;font-size:.95rem;}
.qactions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:.75rem;}
.btn.ghost{background:transparent;border:1px solid #888;}

/* Banner under the sticky nav, no box */
.banner{
  position: fixed;
  top: 56px;          /* adjust if your nav is taller/shorter */
  left: 0;
  width: 100%;
  text-align: center;
  background: transparent;
  z-index: 10;        /* nav is z-index:50, so nav/dropdowns stay on top */

}
.banner p{
  display: inline-block;
  margin: 0;
  font-size: clamp(20px, 4.2vw, 34px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
  white-space: nowrap;
}
.char { display:inline-block; will-change: transform; transform-origin: 50% 50%; }

 #bannerText {
  cursor: default;     /* arrow instead of text caret */
  user-select: none;   /* no highlight when moving over text */
}



  /* we’ll animate transform via JS */


/* ==== Responsive ==== */
@media (max-width:900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
@media (max-width:768px) {
  .hero-flex{ flex-direction:column; text-align:center; }
  .hero-image{ margin-top:1rem; }
  .modal-dialog{ max-width:92vw; }
}
/* Stop any legacy banner animations from overriding transforms */
.banner p {
  animation: none !important;
  transform: none !important;
}
@media (max-width: 600px) {
  .banner {
    display: none;
  }
}

