/* =========================================================
   GuestPoint Hospitality — Stylesheet
   ========================================================= */

/* ---------- Root tokens ---------- */
:root {
  --navy-deep: #071426;
  --navy: #0B1D32;
  --navy-soft: #102947;
  --gold: #D7AE63;
  --gold-light: #E6C77D;
  --off-white: #F7F5F0;
  --muted: #AAB4C0;
  --muted-on-light: #5B6572;
  --line-on-dark: rgba(247, 245, 240, 0.12);
  --line-on-light: rgba(11, 29, 50, 0.10);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-soft: 0 20px 60px -25px rgba(7, 20, 38, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; }
p { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 12px 30px -12px rgba(215, 174, 99, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(215, 174, 99, 0.65); }
.btn-ghost {
  background: transparent;
  color: var(--navy-deep);
  border: 1px solid var(--line-on-light);
}
.btn-ghost:hover { border-color: var(--navy-deep); }
.btn-ghost-light {
  color: var(--off-white);
  border-color: rgba(247, 245, 240, 0.35);
}
.btn-ghost-light:hover { border-color: var(--off-white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(7, 20, 38, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px -12px rgba(7, 20, 38, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--navy);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--off-white);
  line-height: 1.15;
  display: flex;
  flex-direction: column;
}
.brand-name-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--off-white); }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active-link { color: var(--off-white); }
.nav-link.is-active-link::after { width: 100%; }

.nav-cta { padding: 11px 22px; font-size: 0.88rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
}
.menu-toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 38, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 490;
}
.nav-scrim.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(215, 174, 99, 0.16), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 168px 0 110px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}
.hero-title {
  color: var(--off-white);
  font-size: clamp(2.3rem, 3.6vw, 3.4rem);
  line-height: 1.12;
  font-weight: 500;
  max-width: 15ch;
  margin: 0 0 24px;
}
.hero-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 46ch;
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-trust {
  color: var(--muted);
  font-size: 0.85rem;
  padding-top: 22px;
  border-top: 1px solid var(--line-on-dark);
  max-width: 40ch;
}

/* ---------- Device mockups ---------- */
.hero-visual { position: relative; }
.device-cluster {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 460px;
}
.device { position: relative; }
.device-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  margin-top: 14px;
}

.float-slow { animation: floaty 7s ease-in-out infinite; }
.float-slow-delay { animation: floaty 7s ease-in-out infinite; animation-delay: -3.2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.device-phone { width: 230px; z-index: 2; margin-right: -34px; }
.device-phone-frame {
  background: linear-gradient(160deg, #16283f, #0c1c30);
  border-radius: 34px;
  padding: 12px;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(215, 174, 99, 0.18);
}
.device-phone-notch {
  width: 60px;
  height: 6px;
  border-radius: 4px;
  background: rgba(247, 245, 240, 0.18);
  margin: 0 auto 8px;
}
.device-screen {
  background: linear-gradient(175deg, #0e2038, #0a1830);
  border-radius: 22px;
  overflow: hidden;
  color: var(--off-white);
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px 4px;
  font-size: 0.66rem;
  color: var(--muted);
}
.phone-status-icons { color: var(--muted); }
.phone-hero-band {
  background: linear-gradient(120deg, var(--navy-soft), var(--navy));
  margin: 8px 12px 14px;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(215, 174, 99, 0.22);
}
.phone-hotel-name { font-family: var(--font-display); font-size: 1rem; color: var(--gold-light); }
.phone-welcome { font-size: 0.72rem; color: var(--muted); }
.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 12px 16px;
}
.phone-tile {
  background: rgba(247, 245, 240, 0.05);
  border: 1px solid rgba(247, 245, 240, 0.08);
  border-radius: 12px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  color: var(--muted);
}
.phone-tile svg { width: 20px; height: 20px; color: var(--gold-light); }

.device-tv { width: 300px; }
.device-tv-frame {
  background: #0c1c30;
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(215, 174, 99, 0.18);
}
.device-tv-frame-lg { padding: 14px; }
.tv-screen {
  background: linear-gradient(160deg, #0e2038 0%, #071426 100%);
  border-radius: 6px;
  padding: 20px 18px;
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--off-white);
}
.tv-welcome { display: flex; flex-direction: column; gap: 4px; }
.tv-hotel-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-light); }
.tv-welcome-msg { font-size: 0.7rem; color: var(--muted); }
.tv-menu {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 12px;
  font-size: 0.66rem;
}
.tv-menu-item { color: var(--muted); padding-bottom: 3px; }
.tv-menu-item.is-active { color: var(--gold-light); border-bottom: 1px solid var(--gold); }
.tv-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tv-card {
  background: rgba(247, 245, 240, 0.05);
  border: 1px solid rgba(247, 245, 240, 0.08);
  border-radius: 8px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  color: var(--muted);
}
.tv-card svg { width: 18px; height: 18px; color: var(--gold-light); }
.device-tv-stand {
  width: 90px;
  height: 10px;
  background: #0c1c30;
  margin: 0 auto;
  border-radius: 0 0 6px 6px;
}
.device-tv-standalone { width: 100%; max-width: 460px; }

/* ---------- Sections ---------- */
.section { padding: 108px 0; }
.section-alt { background: #F1ECE1; }
.section-head { max-width: 640px; margin: 0 0 52px; }
.section-title {
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--navy-deep);
}
.section-lead {
  color: var(--muted-on-light);
  font-size: 1.05rem;
  max-width: 56ch;
}
.section .eyebrow { color: var(--gold); }
.fine-print {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted-on-light);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

/* ---------- Value grid ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-on-light);
  border: 1px solid var(--line-on-light);
}
.value-card {
  background: var(--off-white);
  padding: 36px 28px;
  transition: background 0.3s var(--ease);
}
.value-card:hover { background: #FCFAF5; }
.value-index {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 14px;
}
.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy-deep);
}
.value-card p { color: var(--muted-on-light); font-size: 0.94rem; }

/* ---------- Split layouts ---------- */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.split-layout-reverse .split-copy { order: 2; }
.split-layout-reverse .split-visual { order: 1; }

.check-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--navy-deep);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
}

.qr-panel {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-soft);
}
.qr-code-visual {
  background: var(--off-white);
  padding: 18px;
  border-radius: 14px;
}
.qr-panel-label {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  max-width: 26ch;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-item {
  padding: 26px 4px;
  border-top: 1px solid var(--line-on-light);
}
.feature-icon {
  width: 26px;
  height: 26px;
  color: var(--gold);
  margin-bottom: 16px;
}
.feature-item h3 { font-size: 1.02rem; margin-bottom: 8px; color: var(--navy-deep); }
.feature-item p { font-size: 0.88rem; color: var(--muted-on-light); }

/* ---------- Dashboard mock ---------- */
.dashboard-mock {
  background: var(--off-white);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.dashboard-mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--navy-deep);
}
.dashboard-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(247,245,240,0.25); }
.dashboard-mock-title {
  margin-left: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}
.dashboard-mock-body { display: grid; grid-template-columns: 160px 1fr; min-height: 260px; }
.dashboard-side {
  background: #F1ECE1;
  border-right: 1px solid var(--line-on-light);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
}
.dashboard-side-item {
  padding: 11px 20px;
  font-size: 0.82rem;
  color: var(--muted-on-light);
}
.dashboard-side-item.is-active {
  color: var(--navy-deep);
  font-weight: 600;
  background: var(--off-white);
  border-left: 2px solid var(--gold);
}
.dashboard-main { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.dashboard-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line-on-light);
  border-radius: 10px;
  font-size: 0.84rem;
}
.dashboard-field-label { color: var(--muted-on-light); }
.dashboard-field-value { color: var(--navy-deep); font-weight: 500; }
.dashboard-save {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.step {
  padding: 0 24px 0 0;
  border-top: 2px solid var(--gold);
  padding-top: 24px;
}
.step-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--navy-deep); }
.step p { font-size: 0.92rem; color: var(--muted-on-light); }

/* ---------- Compare table ---------- */
.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-on-light);
}
.compare-col { padding: 40px 36px; }
.compare-col-old { background: #F1ECE1; }
.compare-col-new { background: var(--navy-deep); color: var(--off-white); }
.compare-col h3 { font-size: 1.2rem; margin-bottom: 22px; }
.compare-col-old h3 { color: var(--navy-deep); }
.compare-col-new h3 { color: var(--gold-light); }
.compare-col ul { display: flex; flex-direction: column; gap: 14px; }
.compare-col li {
  font-size: 0.94rem;
  padding-left: 20px;
  position: relative;
}
.compare-col-old li { color: var(--muted-on-light); }
.compare-col-old li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted-on-light);
}
.compare-col-new li { color: var(--muted); }
.compare-col-new li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--gold-light);
}

/* ---------- Tag grid ---------- */
.tag-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.tag-pill {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-on-light);
  font-size: 0.92rem;
  color: var(--navy-deep);
  background: var(--off-white);
}

/* ---------- Custom panel ---------- */
.custom-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.custom-chip {
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(247, 245, 240, 0.06);
  border: 1px solid rgba(215, 174, 99, 0.25);
  color: var(--off-white);
  font-size: 0.86rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(140deg, var(--navy-deep), var(--navy) 60%, var(--navy-soft));
  padding: 100px 0;
  position: relative;
}
.cta-band-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-band h2 {
  color: var(--off-white);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 18px;
}
.cta-band p { color: var(--muted); font-size: 1.05rem; margin-bottom: 34px; }
.cta-band-actions { justify-content: center; margin-bottom: 0; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line-on-light); }
.accordion-item { border-bottom: 1px solid var(--line-on-light); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--navy-deep);
}
.accordion-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.accordion-panel p {
  padding: 0 4px 22px;
  color: var(--muted-on-light);
  font-size: 0.95rem;
  max-width: 62ch;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
}
.contact-email-line { margin-top: 26px; font-size: 0.94rem; color: var(--navy-deep); }
.contact-email-line a { color: var(--gold); font-weight: 600; }

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--navy-deep); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 13px 14px;
  border: 1px solid var(--line-on-light);
  border-radius: 8px;
  background: #FCFAF5;
  font-size: 0.94rem;
  transition: border-color 0.25s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-error {
  font-size: 0.76rem;
  color: #B24444;
  min-height: 1em;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #B24444;
}
.form-submit { width: 100%; margin-top: 6px; }
.form-status {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--navy-deep);
  text-align: center;
  min-height: 1.2em;
}
.form-status.is-success { color: #3A7752; }
.form-status.is-error { color: #B24444; }
.form-status.is-error a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-submit:disabled { opacity: 0.72; cursor: wait; transform: none; box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-tagline { color: var(--muted); font-size: 0.9rem; max-width: 32ch; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--muted); font-size: 0.9rem; transition: color 0.25s var(--ease); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-contact { display: flex; align-items: flex-start; }
.footer-contact a { color: var(--gold-light); font-size: 0.9rem; }
.footer-bottom { padding: 24px 0 28px; }
.footer-bottom p { color: var(--muted); font-size: 0.78rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-slow, .float-slow-delay { animation: none; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  .container { padding: 0 24px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .hero { padding: 150px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-title { max-width: none; }
  .device-cluster { min-height: auto; gap: 12px; }
  .device-phone { width: 190px; margin-right: -22px; }
  .device-tv { width: 240px; }

  .split-layout,
  .split-layout-reverse { grid-template-columns: 1fr; gap: 40px; }
  .split-layout-reverse .split-copy,
  .split-layout-reverse .split-visual { order: initial; }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .compare-table { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(340px, 82vw);
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    gap: 36px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 495;
    box-shadow: -20px 0 50px -20px rgba(0,0,0,0.5);
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 26px; width: 100%; }
  .nav-link { font-size: 1.15rem; color: var(--off-white); }
  .nav-cta { width: 100%; text-align: center; }
  .menu-toggle { display: flex; }
}

@media (max-width: 720px) {
  .value-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tv-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero { padding: 132px 0 64px; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { font-size: 0.8rem; }

  .device-phone { width: 150px; margin-right: -14px; }
  .device-tv { width: 190px; }
  .device-tv-standalone { max-width: 100%; }
  .phone-grid { gap: 6px; }
  .phone-tile { font-size: 0.56rem; padding: 9px 4px; }

  .section-title { font-size: 1.55rem; }
  .section-lead { font-size: 0.96rem; }

  .qr-panel { padding: 32px 20px; }
  .compare-col { padding: 28px 22px; }
  .custom-panel { padding: 26px; }
  .contact-form { padding: 24px; }

  .dashboard-mock-top { padding: 12px 14px; }
  .dashboard-mock-title { margin-left: 4px; font-size: 0.68rem; }
  .dashboard-mock-body { grid-template-columns: 100px minmax(0, 1fr); min-height: 230px; }
  .dashboard-side { padding: 12px 0; }
  .dashboard-side-item { padding: 9px 10px; font-size: 0.7rem; line-height: 1.3; overflow-wrap: anywhere; }
  .dashboard-main { padding: 14px 12px; gap: 10px; min-width: 0; }
  .dashboard-field { flex-direction: column; align-items: flex-start; gap: 4px; padding: 11px 12px; font-size: 0.76rem; min-width: 0; }
  .dashboard-field-label,
  .dashboard-field-value { max-width: 100%; overflow-wrap: anywhere; }
  .dashboard-save { font-size: 0.68rem; }

  .cta-band { padding: 72px 0; }
  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .cta-band-actions .btn { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}


/* ---------- Privacy page ---------- */
.privacy-hero {
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(215, 174, 99, 0.14), transparent 62%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 158px 0 84px;
}
.privacy-hero .eyebrow { margin-bottom: 14px; }
.privacy-title {
  color: var(--off-white);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  max-width: 16ch;
  margin-bottom: 18px;
}
.privacy-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}
.privacy-updated {
  color: var(--gold-light);
  font-size: 0.8rem;
  margin-top: 22px;
}
.privacy-content-wrap {
  max-width: 820px;
}
.privacy-content-wrap h2 {
  color: var(--navy-deep);
  font-size: 1.45rem;
  margin: 38px 0 12px;
}
.privacy-content-wrap h2:first-child { margin-top: 0; }
.privacy-content-wrap p,
.privacy-content-wrap li {
  color: var(--muted-on-light);
  font-size: 0.98rem;
}
.privacy-content-wrap p + p { margin-top: 14px; }
.privacy-content-wrap ul {
  list-style: disc;
  padding-left: 22px;
  margin: 14px 0 0;
}
.privacy-content-wrap li + li { margin-top: 8px; }
.privacy-content-wrap a {
  color: #A67D35;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-back {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line-on-light);
}

/* Extra-small device fit: prevent the hero mockups from overflowing. */
@media (max-width: 390px) {
  .device-cluster { gap: 8px; }
  .device-phone { width: 140px; margin-right: -10px; }
  .device-tv { width: 175px; }
  .device-caption { font-size: 0.62rem; line-height: 1.35; }
}

@media (max-width: 350px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .device-cluster { gap: 6px; }
  .device-phone { width: 120px; margin-right: -8px; }
  .device-tv { width: 150px; }
  .phone-grid { gap: 4px; padding-left: 8px; padding-right: 8px; }
  .phone-tile { padding: 7px 2px; font-size: 0.5rem; }
  .phone-tile svg { width: 17px; height: 17px; }
  .device-caption { font-size: 0.58rem; }
  .dashboard-mock-body { grid-template-columns: 92px minmax(0, 1fr); }
  .dashboard-side-item { padding-left: 8px; padding-right: 8px; font-size: 0.66rem; }
  .dashboard-main { padding-left: 10px; padding-right: 10px; }
  .dashboard-field { padding: 10px; font-size: 0.72rem; }
}
