/* World Network Systems — site stylesheet */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #0b1626;
  --navy-800: #10203a;
  --navy-700: #16294a;
  --navy-100: #e8edf5;
  --gold: #f5a800;
  --gold-dark: #d99400;
  --ink: #1c2733;
  --ink-soft: #46586c;
  --paper: #ffffff;
  --paper-soft: #f4f7fb;
  --line: #dbe4ef;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(11, 22, 38, 0.14), 0 16px 40px rgba(11, 22, 38, 0.12);
  --shadow-lg: 0 10px 24px rgba(11, 22, 38, 0.18), 0 24px 56px rgba(11, 22, 38, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; }
a { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-brand); line-height: 1.25; color: var(--navy-900); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--alt { background: var(--paper-soft); }
.section--dark { background: var(--navy-900); color: var(--navy-100); }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46em; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 600; font-family: var(--font-brand); color: var(--gold-dark); margin-bottom: 10px; }
.section--dark .eyebrow { color: var(--gold); }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-family: var(--font-brand); font-weight: 600; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; border: 2px solid transparent; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--outline { border-color: currentColor; color: inherit; }
.btn--navy { background: var(--navy-800); color: #fff; }

/* Header */
.site-header { background: var(--navy-900); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 rgba(255,255,255,0.08); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--navy-100); text-decoration: none; padding: 10px 9px; border-radius: 6px; font-size: 0.88rem; font-weight: 500; font-family: var(--font-brand); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { margin-left: 8px; padding: 9px 18px; }
.dropdown { position: relative; }
.dropdown > button { background: none; border: 0; color: var(--navy-100); font: inherit; font-family: var(--font-brand); font-size: 0.88rem; font-weight: 500; padding: 10px 9px; cursor: pointer; border-radius: 6px; white-space: nowrap; }
.dropdown > button:hover { color: var(--gold); }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 300px; border-radius: 14px; padding: 12px; box-shadow: 0 18px 48px rgba(11,22,38,0.25); border: 1px solid var(--line); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu--wide { display: none; grid-template-columns: 1fr 1fr; gap: 2px; width: 620px; }
.dropdown:hover .dropdown-menu--wide, .dropdown:focus-within .dropdown-menu--wide { display: grid; }
.dropdown-menu a { display: block; padding: 11px 13px; border-radius: 10px; color: var(--navy-900); font-weight: 600; white-space: normal; }
.dropdown-menu a:hover { background: var(--paper-soft); color: var(--navy-900); }
.dropdown-menu a:hover .nav-desc { color: var(--ink-soft); }
.dropdown-menu a[aria-current="page"] { color: var(--gold-dark); }
.nav-desc { display: block; font-size: 0.78rem; font-weight: 400; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; font-family: var(--font); }

/* Hover tooltip for top-level links without submenus */
.nav > a { position: relative; }
.nav > a[data-tip]:not(.btn):hover::after { content: attr(data-tip); position: absolute; top: calc(100% + 6px); left: 0; width: max-content; max-width: 260px; background: #fff; color: var(--ink-soft); font-size: 0.78rem; font-weight: 400; font-family: var(--font); line-height: 1.4; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 18px 48px rgba(11,22,38,0.25); z-index: 60; white-space: normal; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { background: radial-gradient(1100px 500px at 75% -10%, var(--navy-700), var(--navy-900) 60%); color: var(--navy-100); padding: 88px 0; position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 1; transition: opacity 1.2s ease; }
.hero-media--waiting { opacity: 0; }
/* Stat tiles — solid colored panels in a light card */
.stat-panel { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 14px; }
.stat-panel__head { display: flex; align-items: center; gap: 8px; font-family: var(--font-brand); font-weight: 700; font-size: 0.9rem; color: var(--navy-100); padding: 2px 4px 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 12px; }
.stat-tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 8px; text-align: left; background: var(--tile-bg); border: 1px solid rgba(255,255,255,0.14); }
.stat-tile__icon { font-size: 1.4rem; line-height: 1; flex: 0 0 auto; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,0.12); }
.stat-tile__body { margin-left: auto; text-align: right; }
.stat-tile .stat-num { font-family: var(--font-brand); font-weight: 700; font-size: 1.45rem; line-height: 1.1; color: #fff; white-space: nowrap; }
.stat-tile .stat-label { font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.82); margin-top: 3px; line-height: 1.3; }
.stat-tile--blue { --tile-bg: #1c3f66; }
.stat-tile--green { --tile-bg: #14543c; }
.stat-tile--gold { --tile-bg: #8a6410; }
.stat-tile--red { --tile-bg: #7a2c25; }
@media (max-width: 520px) { .stat-grid { grid-template-columns: 1fr; } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(7,10,15,0.88) 18%, rgba(7,10,15,0.5) 48%, rgba(7,10,15,0.08) 75%); z-index: 1; }
.hero .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hero-media[data-video] { display: none; } }
.hero h1 { color: #fff; max-width: 17em; }
.hero .tagline { color: var(--gold); font-size: 1.25rem; font-weight: 700; margin: 14px 0 8px; }
.hero p { max-width: 40em; }
.hero .actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; right: -60px; top: -40px; width: 420px; opacity: 0.18; pointer-events: none; }

/* Cards */
.grid { display: grid; gap: 24px; margin-top: 36px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; color: var(--gold-dark); }
.card .more:hover { text-decoration: underline; }
.section--dark .card { background: var(--navy-800); border-color: rgba(255,255,255,0.1); }
.section--dark .card p { color: var(--navy-100); }
.card .icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }

/* Quotes / reviews */
.review-row { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 24px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.review-row .quote { flex: 0 0 min(360px, 82vw); scroll-snap-align: start; }
.review-row::-webkit-scrollbar { height: 8px; }
.review-row::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 999px; }
.review-row::-webkit-scrollbar-track { background: var(--line); border-radius: 999px; }
.quote { border-left: 4px solid var(--gold); padding: 18px 22px; background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.quote p { font-style: italic; color: var(--ink); }
.quote footer { margin-top: 10px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }

/* Logo strip */
.logo-strip { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: center; margin-top: 28px; }
.logo-strip img { height: 46px; width: auto; filter: grayscale(1); opacity: 0.75; transition: 0.2s; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* CTA band */
.cta-band { background: linear-gradient(100deg, var(--navy-800), var(--navy-900)); color: #fff; padding: 56px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { color: #fff; }
.cta-band .sub { color: var(--navy-100); }

/* Photo-side dark section (photo fills right ~3/4, fades to navy on left) */
.section--photo-side { position: relative; overflow: hidden; background: var(--navy-900); color: var(--navy-100); }
.section--photo-side::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 74%; background: var(--photo-side-img) center/cover no-repeat; z-index: 0; }
.section--photo-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 26%, rgba(11,22,38,0.82) 55%, rgba(11,22,38,0.6) 100%); z-index: 0; }
.section--photo-side .container { position: relative; z-index: 1; }
.section--photo-side h2, .section--photo-side h3 { color: #fff; }
.card--glass { background: rgba(255,255,255,0.07); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.15); }
.card--glass h3 { color: var(--gold); }
.card--glass p { color: #e8edf5; }

/* Content pages */
.page-hero { background: var(--navy-900); color: var(--navy-100); padding: 56px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 46em; margin-top: 10px; }
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin-bottom: 16px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 6px; }

/* Tables (pricing etc.) */
.table-wrap { overflow-x: auto; }
table.pricing { border-collapse: collapse; width: 100%; margin-top: 20px; }
table.pricing th, table.pricing td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
table.pricing th { background: var(--navy-900); color: #fff; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { font-weight: 700; font-size: 0.92rem; }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; margin-top: 6px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--navy-100); padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: var(--navy-100); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-grid h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.88rem; color: #9fb0c4; }
.social-links { display: flex; gap: 14px; }
.social-links a { font-weight: 700; }

/* Utility */
.badge { display: inline-block; background: var(--gold); color: var(--navy-900); font-weight: 800; font-size: 0.78rem; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 900; }

/* Booking modal */
.booking-modal { position: fixed; inset: 0; background: rgba(11, 22, 38, 0.72); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.booking-modal__box { display: flex; flex-direction: column; width: min(1000px, 96vw); height: min(860px, 92vh); background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.45); }
.booking-modal__bar { display: flex; align-items: center; justify-content: space-between; background: var(--navy-900); color: #fff; padding: 10px 16px; font-family: var(--font-brand); font-weight: 600; font-size: 0.95rem; }
.booking-modal__newtab { color: var(--navy-100); font-size: 0.85rem; margin-right: 14px; text-decoration: none; }
.booking-modal__newtab:hover { color: var(--gold); }
.booking-modal__close { background: var(--gold); color: var(--navy-900); border: 0; border-radius: 999px; padding: 7px 16px; font: inherit; font-weight: 700; cursor: pointer; }
.booking-modal__close:hover { background: var(--gold-dark); }
.booking-modal__box iframe { flex: 1; width: 100%; border: 0; }

/* Mobile */
@media (max-width: 920px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy-900); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 0; box-shadow: 0 12px 24px rgba(0,0,0,0.4); }
  .nav.open { display: flex; }
  .nav a, .dropdown > button { display: block; width: 100%; text-align: left; padding: 12px 8px; }
  .dropdown-menu, .dropdown-menu--wide { position: static; display: block; background: transparent; box-shadow: none; border: 0; width: auto; padding: 0 0 0 16px; }
  .dropdown-menu a { font-size: 0.9rem; opacity: 0.9; color: var(--navy-100); }
  .dropdown-menu a:hover { background: transparent; color: var(--gold); }
  .nav-desc { display: none; }
  .nav > a[data-tip]:hover::after { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 56px 0; }
}
