/* Hospo Solutions — agency rebuild v2
   Brand tokens from original Lovable / hosposolutions.com */

@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/HostGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/HostGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/HostGrotesk-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep: #0b3266;
  --deep-dark: #061428;
  --ink: #0b3266;
  --ink-soft: #3d5478;
  --muted: #5a6f8c;
  --bg: #f7f8fb;
  --bg-card: #ffffff;
  --line: #d9e0ea;
  --accent: #00e8d9;
  --accent-dark: #00c9bc;
  --brand-blue: #0070e8;
  --white: #ffffff;
  --radius: 0.75rem;
  --max: 1180px;
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  --heading: "Host Grotesk", "Montserrat", sans-serif;
  --shadow-soft: 0 4px 24px -4px rgba(11, 50, 102, 0.12);
  --shadow-premium: 0 8px 32px -8px rgba(0, 232, 217, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--heading);
  letter-spacing: -0.022em;
  line-height: 1.12;
  font-weight: 800;
}
h1 { letter-spacing: -0.035em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--deep); padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.container.narrow { width: min(100% - 2.5rem, 720px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font); font-weight: 600; font-size: .9375rem;
  border-radius: 999px; padding: .7rem 1.25rem; border: 1px solid transparent;
  transition: transform .35s var(--ease), background .25s ease, border-color .25s ease, box-shadow .35s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.btn-accent:active { transform: translateY(0); }
.nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.btn-lg { padding: .9rem 1.55rem; font-size: 1rem; }
.btn-accent {
  background: var(--accent); color: var(--deep);
  box-shadow: 0 12px 40px -12px rgba(0, 232, 217, 0.55);
}
.btn-accent:hover { background: #2af0e3; }
.btn-outline {
  background: rgba(255,255,255,.06); color: var(--white);
  border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,.14); }
.btn-ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.28);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.site-header[data-scrolled="true"] .btn-ghost {
  color: var(--white); border-color: rgba(255,255,255,.3);
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), backdrop-filter .45s ease;
  background: transparent;
}
.site-header[data-scrolled="true"] {
  background: rgba(11, 50, 102, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px -12px rgba(11, 50, 102, 0.55);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1rem 0; min-height: 4.5rem;
}
.brand-logo { height: 2.65rem; width: auto; image-rendering: -webkit-optimize-contrast; }
.nav { display: none; align-items: center; gap: 1.75rem; }
.nav a {
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.82);
  transition: color .2s ease;
}
.nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.header-actions .btn-ghost { display: none; }
.menu-toggle {
  width: 2.5rem; height: 2.5rem; border: 0; background: transparent;
  display: grid; place-content: center; gap: 5px; cursor: pointer; padding: 0;
}
.menu-toggle span {
  display: block; width: 1.25rem; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .header-actions .btn-ghost { display: inline-flex; }
  .brand-logo { height: 3rem; }
}

/* Mobile nav */
.nav.is-open {
  display: flex; flex-direction: column; align-items: flex-start;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--deep); border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 1.25rem 1.5rem; gap: 1rem;
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; color: var(--white); isolation: isolate;
  padding-top: 4.5rem; /* clear fixed header */
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.ken-burns {
  position: absolute; inset: -4%; width: 108%; height: 108%;
  animation: ken-burns 28s ease-in-out infinite alternate;
}
.ken-burns img, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-video { opacity: .45; mix-blend-mode: soft-light; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(6,20,40,.95) 0%, rgba(6,20,40,.45) 45%, rgba(6,20,40,.2) 100%),
    linear-gradient(to right, rgba(6,20,40,.75) 0%, rgba(6,20,40,.35) 45%, transparent 100%),
    radial-gradient(ellipse at 20% 80%, rgba(6,20,40,.55) 0%, transparent 55%);
}
.hero-content {
  /* keep same horizontal gutters as .container / header-inner — never width:100% */
  position: relative;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: 2.5rem 0 4.5rem;
}
.hero-kicker {
  font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.15rem;
}
.hero h1 {
  font-size: clamp(2.75rem, 8vw, 6.5rem); font-weight: 800;
  line-height: .92; color: #fff; margin-bottom: 1.1rem; max-width: 12ch;
}
.hero-title {
  font-family: var(--heading); font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-weight: 600; color: rgba(255,255,255,.92); max-width: 22ch;
  line-height: 1.25; margin-bottom: 1.15rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem); color: rgba(255,255,255,.8);
  max-width: 36rem; line-height: 1.65; margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(6,20,40,.55);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; }
.scroll-cue {
  margin-top: 3.5rem; width: 1px; height: 3rem;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  overflow: hidden;
}
.scroll-cue span {
  display: block; width: 1px; height: 100%;
  background: var(--accent);
  animation: cue-drop 2.2s var(--ease) infinite;
}

@keyframes ken-burns {
  0% { transform: scale(1) translate3d(0,0,0); }
  100% { transform: scale(1.12) translate3d(-2%, 1.5%, 0); }
}
@keyframes cue-drop {
  0% { transform: translateY(-4px); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  mix-blend-mode: overlay; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Clients */
.clients-band {
  background: var(--deep); padding: 2rem 0; overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.clients-label {
  text-align: center; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 1.25rem; padding: 0 1rem;
}
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track {
  display: flex; gap: 1rem; width: max-content;
  animation: marquee-x 42s linear infinite;
}
.logo-marquee-item {
  min-width: 7.25rem; height: 3.25rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; padding: 0 1.1rem;
}
.logo-marquee-item img {
  max-height: 2.15rem; max-width: 9.5rem; width: auto; height: auto;
  object-fit: contain; filter: brightness(0) invert(1); opacity: .9;
}

@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Filmstrip */
.filmstrip-section { padding: 2rem 0 2.5rem; background: var(--bg); overflow: hidden; }
.section-eyebrow {
  font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.15rem; padding: 0 1rem;
}
.section-eyebrow.center { text-align: center; }
.filmstrip {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.filmstrip-track {
  display: flex; gap: .65rem; width: max-content;
  animation: marquee-x 55s linear infinite;
}
.filmstrip-item {
  width: min(78vw, 26rem); height: 16rem; flex-shrink: 0; margin: 0; overflow: hidden;
  border-radius: .35rem;
}
.filmstrip-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.filmstrip-item:hover img { transform: scale(1.05); }
@media (min-width: 768px) {
  .filmstrip-item { width: 30rem; height: 20rem; }
}

/* Sections */
.section { padding: 5.5rem 0; }
.section-soft { background: #eef2f7; }
.section-ink { background: var(--deep-dark); color: #fff; }
.section-intro { max-width: 40rem; margin-bottom: 3.5rem; }
.section-kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.section-kicker::before {
  content: ""; display: block; width: 1.75rem; height: 1px; background: var(--accent);
}
.section-kicker.light { color: rgba(255,255,255,.55); }
.section-intro h2, .section h2 {
  font-size: clamp(1.85rem, 4vw, 3rem); font-weight: 800; color: var(--ink);
  margin-bottom: 1rem;
}
.section-intro h2.light, h2.light { color: #fff; }
.lead {
  font-size: 1.0625rem; color: var(--muted); line-height: 1.7; max-width: 40rem;
}
.lead.light { color: rgba(255,255,255,.78); }
.lead strong { color: var(--ink); font-weight: 600; }

/* Editorial rows */
.editorial-rows { display: grid; gap: 5rem; }
.editorial-row {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 960px) {
  .editorial-row { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .editorial-row.reverse { direction: rtl; }
  .editorial-row.reverse > * { direction: ltr; }
}
.editorial-media {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: .25rem;
  box-shadow: var(--shadow-soft);
}
.editorial-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.editorial-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(11,50,102,.25), transparent);
  pointer-events: none;
}
.editorial-copy h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem); margin-bottom: .85rem; color: var(--ink);
}
.editorial-copy p {
  color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.25rem;
}
.tick-list { display: grid; gap: .7rem; }
.tick-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .95rem; color: var(--ink-soft); line-height: 1.45;
}
.tick-list li::before {
  content: ""; width: .4rem; height: .4rem; border-radius: 50%;
  background: var(--accent); margin-top: .55rem; flex-shrink: 0;
}
.tick-list.dark li { color: rgba(255,255,255,.82); }

/* Statement */
.statement {
  position: relative; min-height: 70vh; display: flex; align-items: center;
  overflow: hidden; isolation: isolate; color: #fff;
}
.statement-bg { position: absolute; inset: 0; z-index: -1; }
.statement-bg img { width: 100%; height: 125%; object-fit: cover; margin-top: -12%; }
.statement::before {
  content: ""; position: absolute; inset: 0; background: rgba(6,20,40,.75); z-index: 0;
}
.statement-inner { position: relative; z-index: 2; padding: 5rem 0; max-width: 48rem; }
.statement h2 {
  font-size: clamp(2rem, 5vw, 3.75rem); color: #fff; line-height: 1.05; margin-bottom: 1.25rem;
}
.statement h2 span { display: block; color: rgba(255,255,255,.85); margin-top: .5rem; }

/* Products */
.product-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}
.product-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1rem; padding: 1.75rem 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .45s var(--ease), border-color .3s ease, box-shadow .45s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,232,217,.35);
  box-shadow: var(--shadow-premium);
}
.product-card.featured {
  background: linear-gradient(160deg, rgba(0,232,217,.12), rgba(0,112,232,.1));
  border-color: rgba(0,232,217,.35);
}
.product-badge {
  align-self: flex-start;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--accent); color: var(--deep);
  padding: .35rem .7rem; border-radius: 999px;
}
.product-price {
  font-size: .9rem; color: rgba(255,255,255,.55); font-weight: 500;
}
.product-price span {
  font-family: var(--heading); font-size: 1.85rem; font-weight: 800; color: #fff;
  margin-right: .25rem;
}
.product-price em { font-style: normal; color: var(--accent); font-weight: 600; font-size: .85rem; }
.product-card h3 { font-size: 1.45rem; color: #fff; }
.product-card > p { color: rgba(255,255,255,.72); font-size: .98rem; line-height: 1.65; flex: 1; }
.product-shot {
  margin-top: .5rem; border-radius: .75rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(6,20,40,.55);
  padding: .55rem .55rem 0;
}
.product-shot img {
  width: 100%; height: auto; object-fit: contain; object-position: top center;
  border-radius: .4rem .4rem 0 0; display: block;
}
.phone-row {
  display: flex; gap: .65rem; margin-top: .35rem;
}
.phone-row img {
  width: 42%; border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}

/* Site examples */
.site-examples {
  display: grid; gap: 1.5rem;
}
@media (min-width: 900px) {
  .site-examples { grid-template-columns: 1fr 1fr; }
}
.site-card {
  background: var(--bg-card); border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  display: flex; flex-direction: column;
}
.site-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px -20px rgba(11,50,102,.28);
}
.site-chrome {
  display: flex; align-items: center; gap: .4rem;
  padding: .65rem .9rem; background: #eef2f7; border-bottom: 1px solid var(--line);
  font-size: .72rem; color: var(--muted); font-family: ui-monospace, monospace;
}
.site-chrome i {
  width: .55rem; height: .55rem; border-radius: 50%; background: #d0d7e2;
}
.site-chrome i:nth-child(1) { background: #ff5f57; }
.site-chrome i:nth-child(2) { background: #febc2e; }
.site-chrome i:nth-child(3) { background: #28c840; }
.site-chrome span { margin-left: .5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-frame {
  aspect-ratio: 16/10; overflow: hidden; background: #061428;
  display: flex; align-items: stretch; justify-content: center;
  /* letterbox so screenshot corners / logos stay visible */
  padding: 0.85rem 0.85rem 0;
}
.site-frame img {
  width: 100%; height: 100%; object-fit: contain; object-position: top center;
  border-radius: 0.35rem 0.35rem 0 0;
  box-shadow: 0 8px 28px -12px rgba(0,0,0,.45);
  transition: transform .6s var(--ease), opacity .6s ease;
}
.site-card:hover .site-frame img { transform: none; opacity: .97; }
.site-meta { padding: 1.35rem 1.35rem 1.5rem; }
.site-meta h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.site-meta p { color: var(--muted); font-size: .95rem; line-height: 1.55; margin-bottom: .85rem; }
.site-link { color: var(--brand-blue); font-weight: 600; font-size: .9rem; }

/* Demo band */
.demo-band {
  display: grid; gap: 2.5rem; align-items: center;
  background: var(--bg-card); border-radius: 1.25rem; padding: 2.5rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
@media (min-width: 960px) {
  .demo-band { grid-template-columns: 1.1fr .9fr; padding: 3rem; }
}
.demo-links { margin: 1.5rem 0 1.25rem; }
.demo-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.demo-pills li {
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  padding: .4rem .75rem; border-radius: 999px;
  background: rgba(11,50,102,.06); color: var(--deep);
}
.demo-stack {
  position: relative; min-height: 16rem;
}
.demo-stack img {
  position: absolute; border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(11,50,102,.25);
  background: #fff;
}
.demo-stack img:nth-child(1) {
  width: 38%; left: 8%; top: 0; z-index: 2;
  animation: phone-float 5.5s ease-in-out infinite;
}
.demo-stack img:nth-child(2) {
  width: 38%; right: 6%; top: 1.5rem; z-index: 3;
  animation: phone-float 5.5s ease-in-out infinite .6s;
}
.demo-stack img:nth-child(3) {
  width: 72%; left: 14%; bottom: -1rem; z-index: 1;
  border-radius: .75rem; opacity: .95;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Stats */
.stats {
  position: relative; padding: 5.5rem 0; overflow: hidden; isolation: isolate; color: #fff;
}
.stats-bg { position: absolute; inset: 0; z-index: -1; }
.stats-bg img { width: 100%; height: 120%; object-fit: cover; margin-top: -10%; }
.stats::before {
  content: ""; position: absolute; inset: 0; background: rgba(6,20,40,.9); z-index: 0;
}
.stats .container { position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 56rem; margin-inline: auto;
}
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}
.stat { text-align: center; }
.stat strong {
  display: block; font-family: var(--heading); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: #fff; margin-bottom: .4rem; letter-spacing: -0.03em;
}
.stat span { display: block; font-size: .875rem; color: rgba(255,255,255,.75); line-height: 1.4; }

/* Contact */
.contact-grid {
  display: grid; gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}
.contact-details { margin-top: 1.75rem; display: grid; gap: .85rem; }
.contact-details a { color: var(--brand-blue); font-weight: 600; }
.contact-details li { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.75rem; box-shadow: var(--shadow-soft);
  display: grid; gap: 1rem;
}
.contact-card label {
  display: grid; gap: .4rem; font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.contact-card input, .contact-card textarea {
  font: inherit; font-size: 1rem; font-weight: 500; text-transform: none; letter-spacing: 0;
  color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: .65rem; padding: .85rem 1rem; width: 100%;
}
.contact-card input:focus, .contact-card textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 2px; border-color: transparent;
}
.form-note { font-size: .85rem; color: var(--muted); }

/* Page shell */
.page-shell { padding: 8rem 0 5rem; }
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(0,232,217,.08), transparent 60%);
}
.page-shell h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 1rem; }

/* Footer */
.site-footer {
  background: var(--deep-dark); color: rgba(255,255,255,.75); padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid; gap: 2.5rem; margin-bottom: 3rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}
.footer-brand img { height: 2.4rem; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 28rem; font-size: .95rem; line-height: 1.65; }
.site-footer h4 {
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 1rem; font-weight: 600;
}
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a:hover { color: var(--accent); }
.footer-address { font-size: .875rem; line-height: 1.55; max-width: 22rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem; color: rgba(255,255,255,.4);
}

/* Reveal — progressive enhancement (visible without JS) */
html.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ken-burns, .logo-marquee-track, .filmstrip-track, .scroll-cue span,
  .phone-float, .demo-stack img { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video { display: none; }
  .hospo-pl { display: none !important; }
  html.hospo-pl-on { overflow: auto; }
}



/* ---------- Intro preloader (front page, once per session) ---------- */
.hospo-pl {
  position: fixed; inset: 0; z-index: 9998; display: none; color: #fff;
  pointer-events: none;
}
html.hospo-pl-on .hospo-pl { display: block; pointer-events: auto; }
html.hospo-pl-on { overflow: hidden; }
html.hospo-pl-on body { overflow: hidden; }
.hospo-pl-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 38%, #0f3d7a 0%, #0b3266 48%, #061428 100%);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.15s cubic-bezier(0.76, 0, 0.24, 1);
}
.hospo-pl-c {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.1rem; padding: 1.5rem;
  transition: opacity .75s var(--ease), transform .9s cubic-bezier(0.76, 0, 0.24, 1);
}
.hospo-pl.is-exiting .hospo-pl-c {
  opacity: 0; transform: translateY(-14%);
}
.hospo-pl.is-exiting .hospo-pl-bg {
  clip-path: inset(0 0 100% 0);
}
.hospo-pl-logo {
  position: relative; width: min(58vw, 320px); aspect-ratio: 1000.5 / 216.9;
}
.hospo-pl-logo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
}
.hospo-pl-ghost { opacity: .22; }
.hospo-pl-fill {
  position: absolute; inset: 0;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}
.hospo-pl-row {
  display: flex; justify-content: space-between;
  width: min(82vw, 520px);
  font-size: .66rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.55); font-weight: 500;
}
.hospo-pl-n {
  font-family: var(--heading); font-size: 1.15rem; letter-spacing: .08em;
  font-weight: 600; font-variant-numeric: tabular-nums; color: #fff;
}
.hospo-pl-n b { font-weight: 600; display: inline-block; min-width: 3ch; text-align: right; }
.hospo-pl-bar {
  width: min(82vw, 520px); height: 1px;
  background: rgba(0,232,217,.18); overflow: hidden;
}
.hospo-pl-bar i {
  display: block; height: 100%; width: 100%;
  background: var(--accent);
  transform-origin: left center; transform: scaleX(0);
  will-change: transform;
}
@media (max-width: 600px) {
  .hospo-pl-logo { width: min(72vw, 260px); }
  .hospo-pl-c { gap: 1.6rem; }
  .site-frame { padding: .55rem .55rem 0; }
}



/* ---------- Layout polish v2.2 — gutters, mobile, page shells ---------- */
@media (max-width: 720px) {
  .hero-content { padding: 1.5rem 0 3.25rem; }
  .hero-sub { max-width: 100%; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
  }
  .hero-cta .btn { width: 100%; white-space: normal; }
  .header-actions .btn-accent { display: none; } /* avoid cramped header; CTA in menu */
  .demo-band { padding: 1.5rem; }
  .demo-stack { min-height: 12rem; }
}

/* Ensure no section text sits flush to viewport edge */
.section > .container,
.statement-inner,
.stats .container,
.page-shell .container,
.clients-label,
.section-eyebrow {
  box-sizing: border-box;
}

/* Page templates share home design language */
.page-hero .lead { margin-bottom: 1.5rem; }
.page-cta-row {
  display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem;
}
.page-cta-row .btn-outline {
  background: rgba(11,50,102,.04); color: var(--deep);
  border-color: rgba(11,50,102,.2);
}
.page-cta-row .btn-outline:hover { background: rgba(11,50,102,.08); }
.prose-page { max-width: 48rem; }
.prose-page p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.1rem; }
.prose-page h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.25rem 0 0.85rem; color: var(--ink);
}
.prose-page ul.tick-list { margin: 1rem 0 1.5rem; }
.privacy-stub { font-size: .95rem; color: var(--ink-soft); line-height: 1.65; }
.privacy-stub p { margin-bottom: 1rem; }

/* Screenshot / review mode */
body.shot-mode .hero { min-height: 78vh; }
body.shot-mode html.js .reveal,
body.shot-mode .reveal { opacity: 1 !important; transform: none !important; }
body.shot-mode .ken-burns { animation: none; }
body.shot-mode .hero-video { display: none; }
