/* Vessel Pallet — base styles */

:root {
  --navy-950: #081426;
  --navy-900: #0b1f3a;
  --navy-800: #122a4d;
  --navy-700: #1c3b66;
  --navy-600: #2a4f82;
  --copper-600: #b96a2c;
  --copper-500: #c97a3d;
  --copper-400: #dd9a5f;
  --copper-100: #fbe8d6;
  --ink: #142238;
  --ink-soft: #48566c;
  --paper: #f7f5f1;
  --paper-raised: #ffffff;
  --line: #e4dfd6;
  --success: #1f7a4d;
  --error: #b3361f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 45px -25px rgba(8, 20, 38, 0.35);
  --shadow-sm: 0 8px 20px -14px rgba(8, 20, 38, 0.4);
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
button { font-family: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  max-width: 100%;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--copper-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--copper-600); }
.btn--outline { border-color: var(--navy-700); color: var(--navy-900); background: transparent; }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn--ghost { color: var(--paper); border-color: rgba(255,255,255,0.35); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--small { padding: 10px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy-900); flex-shrink: 0; }
.brand__mark { width: 30px; height: 30px; color: var(--copper-500); }
.brand__word { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand__word--footer { color: #fff; font-size: 1.3rem; }

.main-nav { display: none; flex: 1; align-items: center; gap: 16px; font-weight: 600; font-size: 0.87rem; flex-wrap: wrap; row-gap: 6px; }
.main-nav a { color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.is-active { color: var(--navy-900); border-color: var(--copper-500); }

.nav-dropdown { position: relative; }
.nav-dropdown__toggle {
  display: flex; align-items: center; gap: 5px; background: none; border: none; border-bottom: 2px solid transparent;
  padding: 6px 0; font: inherit; font-weight: 600; color: var(--ink-soft); cursor: pointer;
}
.nav-dropdown__toggle:hover, .nav-dropdown__toggle.is-active { color: var(--navy-900); border-color: var(--copper-500); }
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 10px); left: 0; background: var(--paper-raised);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  min-width: 180px; padding: 6px; display: none; flex-direction: column; z-index: 20;
}
.nav-dropdown__menu.is-open { display: flex; }
.nav-dropdown__menu a { display: block; padding: 9px 10px; border-radius: 6px; font-size: 0.9rem; color: var(--ink); border: none !important; }
.nav-dropdown__menu a:hover { background: var(--paper); }
.nav-dropdown__menu a.is-active { color: var(--copper-600); font-weight: 700; }

.nav-mega { position: relative; }
.nav-mega__panel {
  position: absolute; top: calc(100% + 10px); left: 0; background: var(--paper-raised);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  display: none; gap: 34px; padding: 22px 26px; z-index: 20; min-width: 480px;
}
.nav-mega__panel.is-open { display: flex; }
.nav-mega__col { display: flex; flex-direction: column; gap: 1px; min-width: 150px; }
.nav-mega__col h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin: 0 0 8px; font-weight: 700; }
.nav-mega__col a { display: block; padding: 7px 0; font-size: 0.9rem; color: var(--ink); }
.nav-mega__col a:hover { color: var(--copper-600); }
.nav-mega__col a.is-active { color: var(--copper-600); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.header-social { display: flex; flex-shrink: 0; }
.header-social svg { width: 26px; height: 26px; }

.lang-switch { position: relative; }
.lang-switch__toggle {
  display: flex; align-items: center; gap: 6px; background: transparent; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 0.82rem; color: var(--navy-900); cursor: pointer;
}
.lang-switch__menu {
  position: absolute; top: calc(100% + 8px); right: 0; background: var(--paper-raised);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  min-width: 150px; padding: 6px; display: none; flex-direction: column;
}
.lang-switch__menu.is-open { display: flex; }
.lang-switch__menu a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 0.9rem; color: var(--ink); }
.lang-switch__menu a:hover { background: var(--paper); }
.lang-switch__menu a.is-active { color: var(--copper-600); font-weight: 700; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; background: transparent; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 18px; margin: 0 auto; background: var(--navy-900); border-radius: 2px; }

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 959px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper-raised);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start;
    padding: 8px 24px 18px; gap: 4px; display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 0; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown__toggle { width: 100%; padding: 10px 0; justify-content: space-between; }
  .nav-dropdown__menu { position: static; box-shadow: none; border: none; padding: 0 0 0 14px; min-width: 0; }
  .nav-mega { width: 100%; }
  .nav-mega__panel {
    position: static; box-shadow: none; border: none; min-width: 0;
    flex-direction: column; gap: 18px; padding: 4px 0 4px 14px;
  }
  .nav-mega__col h4 { margin-top: 4px; }
}

/* Header actions don't fit brand + lang + CTA + hamburger below ~480px — drop the CTA, it's still reachable via the menu. */
@media (max-width: 480px) {
  .header-cta { display: none; }
  .brand__word { font-size: 1.05rem; }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800) 62%, var(--navy-700));
  color: #fff; position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; opacity: 0.18;
}
.hero::before { width: 520px; height: 520px; background: var(--copper-500); top: -220px; right: -160px; }
.hero::after { width: 360px; height: 360px; border: 2px solid var(--copper-300, #e0a86d); background: none; opacity: 0.25; bottom: -160px; left: -100px; }
.hero__inner { position: relative; padding: 76px 0 64px; }
.hero--page .hero__inner { padding: 56px 0 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.76rem; font-weight: 700; color: var(--copper-400); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--copper-400); display: inline-block; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 18ch; color: #fff; }
.hero__subtitle { max-width: 60ch; font-size: 1.08rem; color: rgba(255,255,255,0.78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 52px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero__stat-value { font-size: 2.1rem; font-weight: 800; color: #fff; }
.hero__stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* Sections */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy-900); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.home-video { max-width: 860px; margin: 0 auto; }
.home-video video { width: 100%; display: block; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--navy-950); }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }

.card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--copper-100); color: var(--copper-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; color: var(--navy-900); }
.card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--copper-600); margin-top: 6px; }

.blog-post { max-width: 72ch; margin: 0 auto; padding: 40px 0; border-top: 1px solid var(--line); }
.blog-post:first-of-type { border-top: none; padding-top: 0; }
.blog-post__tag {
  display: inline-block; background: var(--copper-100); color: var(--copper-600); font-size: 0.78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.blog-post h2 { font-size: 1.5rem; color: var(--navy-900); margin-bottom: 14px; }
.blog-post p { margin-bottom: 16px; line-height: 1.7; }
.blog-post p:last-child { margin-bottom: 0; }

.process-steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.process-step { position: relative; padding-left: 6px; }
.process-step__num {
  counter-increment: step; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: var(--copper-400);
  font-weight: 800; margin-bottom: 14px;
}
.process-step__num::before { content: counter(step); }

/* Locations teaser strip / cards */
.loc-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.loc-chip {
  display: flex; align-items: center; gap: 10px; background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px 10px 12px; font-weight: 600; box-shadow: var(--shadow-sm);
}
.loc-chip__flag { font-size: 1.3rem; }

.loc-card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative;
}
.loc-card__badge {
  display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--copper-600); background: var(--copper-100); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px;
}
.loc-card__flag { font-size: 2rem; margin-bottom: 10px; }
.loc-card dl { margin: 18px 0 0; display: grid; gap: 10px; }
.loc-card dt { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); font-weight: 700; }
.loc-card dd { margin: 2px 0 0; color: var(--ink); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff; border-radius: var(--radius); padding: 48px; text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); max-width: 32ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 48ch; margin-left: auto; margin-right: auto; }

/* Why / values */
.value-item { display: flex; gap: 16px; }
.value-item__num { font-weight: 800; font-size: 1.4rem; color: var(--copper-500); flex-shrink: 0; width: 2ch; }
.value-item h3 { font-size: 1.05rem; color: var(--navy-900); margin-bottom: 6px; }

/* Calculator */
.calc-layout { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 900px) { .calc-layout { grid-template-columns: 1.05fr 0.95fr; } }
.calc-panel {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.mode-toggle { display: flex; gap: 10px; margin-bottom: 24px; }
.mode-toggle button {
  flex: 1; padding: 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper);
  font-weight: 700; cursor: pointer; color: var(--ink-soft);
}
.mode-toggle button.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--navy-900); }
.field input, .field select {
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); font-size: 16px;
  background: var(--paper); color: var(--ink); font-family: inherit; width: 100%;
}
.field input:focus, .field select:focus { outline: 2px solid var(--copper-400); outline-offset: 1px; border-color: var(--copper-400); }
.field-actions { display: flex; gap: 12px; margin-top: 8px; }

.calc-result {
  background: var(--navy-900); color: #fff; border-radius: var(--radius); padding: 32px;
  min-height: 100%;
}
.calc-result h3 { color: #fff; }
.calc-result__row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 0.95rem; }
.calc-result__row span:first-child { color: rgba(255,255,255,0.65); }
.calc-result__price-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin: 18px 0 2px; text-transform: uppercase; letter-spacing: 0.06em; }
.calc-result__price { font-size: 2.1rem; font-weight: 800; color: var(--copper-400); margin: 0 0 16px; }
.calc-note { font-size: 0.82rem; color: var(--ink-soft); margin: -8px 0 18px; }
.calc-result__contact-note { font-size: 0.86rem; font-weight: 700; color: var(--copper-400); margin: 0 0 16px; }
.calc-result__air-note { font-size: 0.82rem; color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 10px 12px; margin: 0 0 14px; }
.mode-toggle button { flex: 1 1 auto; min-width: 0; padding: 12px 8px; font-size: 0.88rem; }
#calcNoRate h4 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.calc-result__disclaimer {
  display: flex; align-items: flex-start; gap: 9px; font-size: 0.82rem; line-height: 1.5;
  color: rgba(255,255,255,0.88); margin-top: 18px; background: rgba(201,122,61,0.18);
  border: 1px solid rgba(201,122,61,0.45); border-radius: var(--radius-sm); padding: 12px 14px;
}
.calc-result__disclaimer svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--copper-400); }
.calc-result__empty { color: rgba(255,255,255,0.55); }
.calc-error { color: #ffd7cc; background: rgba(179,54,31,0.35); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; font-size: 0.9rem; }

.calc-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 44px 20px; color: rgba(255,255,255,0.75); font-size: 0.92rem; text-align: center; }
.calc-spinner { width: 34px; height: 34px; border: 3px solid rgba(255,255,255,0.2); border-top-color: var(--copper-400); border-radius: 50%; animation: calc-spin 0.7s linear infinite; }
@keyframes calc-spin { to { transform: rotate(360deg); } }

[hidden] { display: none !important; }

/* Contact form */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.1fr 0.9fr; } }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; font-size: 0.92rem; }
.form-status--success { background: #e4f4ea; color: var(--success); }
.form-status--error { background: #fbe6e1; color: var(--error); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.75); padding-top: 56px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding-bottom: 36px; }
.site-footer h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer__list { display: grid; gap: 10px; font-size: 0.92rem; }
.footer__list a:hover { color: var(--copper-400); }
.footer__brand p { color: rgba(255,255,255,0.6); max-width: 30ch; margin-top: 10px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 24px 28px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.footer__disclaimer { max-width: 52ch; }

@media (max-width: 680px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 32px 22px; }
  .calc-panel, .loc-card, .card { padding: 22px; }
}

/* Vessy chat assistant */
.vessy { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

.vessy__toggle {
  width: 60px; height: 60px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: var(--navy-900); box-shadow: var(--shadow); overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.vessy__toggle-avatar { width: 100%; height: 100%; object-fit: cover; display: block; }
.vessy__icon-close { display: none; width: 26px; height: 26px; color: #fff; }
.vessy.is-open .vessy__toggle-avatar { display: none; }
.vessy.is-open .vessy__icon-close { display: block; }

.vessy__panel {
  width: min(340px, calc(100vw - 40px)); max-height: min(70vh, 520px);
  background: var(--paper-raised); border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line);
}
.vessy__header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--navy-900); color: #fff; flex-shrink: 0; }
.vessy__header .vessy__avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.vessy__title { flex: 1; font-size: 0.95rem; }
.vessy__close { background: none; border: none; color: rgba(255,255,255,0.75); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 4px; }
.vessy__close:hover { color: #fff; }

.vessy__messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 160px; }
.vessy__bubble { max-width: 88%; padding: 10px 13px; border-radius: 12px; font-size: 0.87rem; line-height: 1.5; }
.vessy__bubble--bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 2px; }
.vessy__bubble--user { align-self: flex-end; background: var(--navy-900); color: #fff; border-bottom-right-radius: 2px; }
.vessy__cta {
  align-self: flex-start; display: inline-block; background: var(--copper-500); color: #fff;
  font-weight: 700; font-size: 0.8rem; padding: 8px 14px; border-radius: 999px; text-decoration: none;
}
.vessy__cta:hover { background: var(--copper-600); }

.vessy__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); flex-shrink: 0; }
.vessy__quick button {
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft); border-radius: 999px;
  padding: 6px 12px; font-size: 0.78rem; cursor: pointer;
}
.vessy__quick button:hover { border-color: var(--copper-400); color: var(--navy-900); }

.vessy__form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); flex-shrink: 0; }
.vessy__form input {
  flex: 1; min-width: 0; padding: 10px 13px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 16px; font-family: inherit; background: var(--paper); color: var(--ink);
}
.vessy__form input:focus { outline: 2px solid var(--copper-400); outline-offset: 1px; }

@media (max-width: 480px) {
  .vessy { right: 14px; bottom: 14px; }
  .vessy__toggle { width: 52px; height: 52px; }
}
