/* Rayburn Ideas. Shared design system. Built for fast load and a strong Lighthouse score. */

:root {
  --bg-dark: #0b1119;
  --bg-darker: #070b11;
  --surface: #ffffff;
  --surface-alt: #f4f7fa;
  --ink: #0f1722;
  --ink-soft: #4a5a6b;
  --line: #e3eaf0;
  --cyan: #16b6d8;
  --cyan-bright: #34d2f0;
  --cyan-deep: #0c6f86;
  --on-dark: #e8eef4;
  --on-dark-soft: #9bb0c2;
  --radius: 12px;
  --maxw: 1080px;
  --pad: 22px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--cyan-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 72px 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--bg-dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 700; color: var(--cyan-deep); margin: 0 0 14px;
}
.section--dark .eyebrow { color: var(--cyan-bright); }
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 60ch; }
.section--dark .lead { color: var(--on-dark-soft); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 17, 25, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 7px; object-fit: cover; display: block;
}
.brand small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; color: var(--on-dark-soft); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--on-dark); font-size: 0.95rem; font-weight: 600; }
.nav-links a:hover { color: var(--cyan-bright); text-decoration: none; }

.btn {
  display: inline-block; font-weight: 700; font-size: 0.98rem;
  padding: 12px 22px; border-radius: 9px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.05s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cyan); color: #06121a; }
.btn--primary:hover { background: var(--cyan-bright); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,0.25); }
.btn--ghost:hover { border-color: var(--cyan-bright); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1d2a38; }
.nav .btn--primary { padding: 9px 18px; }

/* Hero */
.hero { padding: 88px 0 64px; }
.hero h1 { max-width: 18ch; }
.hero .lead { margin-top: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.metric-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 46px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 26px;
}
.metric .n { font-size: 1.5rem; font-weight: 800; color: var(--cyan-bright); }
.metric .l { font-size: 0.86rem; color: var(--on-dark-soft); }

/* Grid + cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card--pad { padding: 30px; }

.pill { display: inline-block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--cyan-deep); background: #e7f6fa; padding: 5px 11px; border-radius: 999px; }

/* Package cards */
.pkg { display: flex; flex-direction: column; }
.pkg .price { font-size: 2rem; font-weight: 850; color: var(--ink); margin: 6px 0 2px; }
.pkg .rate { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 16px; }
.pkg ul { margin: 0 0 22px; padding-left: 18px; color: var(--ink-soft); }
.pkg ul li { margin-bottom: 7px; }
.pkg .btn { margin-top: auto; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--cyan); border-bottom: 2.5px solid var(--cyan);
  transform: rotate(-45deg);
}

/* Case study */
.case { border-left: 3px solid var(--cyan); }
.case .meta { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 14px; }
.results { background: var(--surface-alt); border-radius: 10px; padding: 18px 20px; margin-top: 8px; }
.results strong { color: var(--ink); }

/* Figures */
.fig { width: 100%; display: block; border-radius: 8px; border: 1px solid var(--line); margin-top: 16px; }

/* CTA band */
.cta-band { background: var(--bg-dark); color: var(--on-dark); border-radius: 16px; padding: 46px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-soft); max-width: 52ch; margin: 0 auto 22px; }

/* Booking */
.booking-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; min-height: 640px; }
.booking-fallback { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--bg-darker); color: var(--on-dark-soft); padding: 44px 0; font-size: 0.92rem; }
.site-footer a { color: var(--on-dark); }
.footer-row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.section-head { max-width: 62ch; margin-bottom: 38px; }

@media (max-width: 860px) {
  .grid-3, .grid-2, .metric-strip { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .cta-band { padding: 34px 22px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .metric-strip { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .section { padding: 54px 0; }
  .hero { padding: 60px 0 48px; }
}
