/* RESDOGS home — the `new kwizi` landing page, ported to plain CSS.
   Source: new kwizi/src/app/page.tsx (Tailwind classes transcribed). */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; }

.home { min-height: 100vh; display: flex; flex-direction: column; background: #000; }
.home ::selection { background: rgba(126,242,157,.3); color: #7ef29d; }

/* ── nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid #f3f4f6;
}
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 1rem; height: 5rem;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 640px) { .nav-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .nav-inner { padding: 0 2rem; } }
.nav-left, .nav-right { display: flex; align-items: center; }
.nav-left { gap: 2.5rem; }
.brand { display: flex; align-items: center; gap: .5rem; }
.brand img { width: 2rem; height: 2rem; border-radius: .25rem; object-fit: cover; }
.brand span { font-size: 1.25rem; font-weight: 700; color: #111; letter-spacing: -.02em; }
.nav-links { display: none; align-items: center; gap: 2rem; font-size: 15px; font-weight: 500; color: #4a5568; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a:hover { color: #000; }
.nav-right { gap: .75rem; }
.nav-contact { display: none; font-size: 15px; font-weight: 500; color: #4a5568; margin-right: 1.5rem; }
@media (min-width: 1024px) { .nav-contact { display: block; } }
.nav-contact:hover { color: #000; }
.nav-sep { width: 1px; height: 1.5rem; background: #d1d5db; margin: 0 1rem; display: none; }
@media (min-width: 640px) { .nav-sep { display: block; } }
.btn-outline {
  display: none; padding: .625rem 1.25rem; border: 1px solid #cbd5e1; border-radius: .25rem;
  color: #0f172a; font-size: 15px; font-weight: 600; transition: background .15s;
}
@media (min-width: 640px) { .btn-outline { display: flex; align-items: center; justify-content: center; } }
.btn-outline:hover { background: #f9fafb; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #7ef29d; color: #000; padding: .625rem 1.5rem; border-radius: .25rem;
  font-size: 15px; font-weight: 600; transition: background .15s;
}
.btn-primary:hover { background: #68e08a; }
.btn-primary.big { padding: .75rem 1.5rem; font-size: 1rem; font-weight: 700; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; padding: 1rem 0 2rem; background: #05090f;
}
@media (min-width: 1024px) { .hero { padding: 1.5rem 0 2.5rem; } }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; opacity: .2; pointer-events: none;
  background-image: url('/static/hero_map_bg.png');
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-fade-r {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to right, #05090f, rgba(5,9,15,.9), transparent);
}
.hero-fade-t {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, #05090f, transparent, transparent);
}
.hero-inner {
  position: relative; z-index: 10; max-width: 1400px; margin: 0 auto; padding: 0 1rem;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center;
}
@media (min-width: 640px) { .hero-inner { padding: 0 1.5rem; } }
@media (min-width: 768px) { .hero-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .hero-inner { padding: 0 2rem; grid-template-columns: 1.1fr .9fr; gap: 2rem; } }
.hero-copy { max-width: 42rem; }
.hero-copy h1 {
  font-size: 1.875rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.1;
  color: #fff; margin: 0 0 1rem;
}
@media (min-width: 640px) { .hero-copy h1 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero-copy h1 { font-size: 50px; } }
.hero-copy p {
  font-size: 1rem; color: #d1d5db; line-height: 1.65; margin: 0 0 1.5rem; font-weight: 400;
}
@media (min-width: 640px) { .hero-copy p { font-size: 1.125rem; } }

.hero-phone-wrap { display: flex; justify-content: center; perspective: 2000px; margin-top: 2rem; }
@media (min-width: 768px) { .hero-phone-wrap { margin-top: 0; } }
.phone {
  position: relative; width: 240px; height: 480px; background: #0a0c10;
  border-radius: 2.5rem; border: 8px solid #1f2228; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 25px 50px -12px rgba(126,242,157,.15);
  transform: rotateY(-12deg) rotateX(4deg); transition: transform 1s ease-out;
  background-image: linear-gradient(to bottom right, #1a1d24, #0a0c10);
}
@media (min-width: 1024px) { .phone { width: 280px; height: 560px; } }
.phone:hover { transform: rotateY(0) rotateX(0); }
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; background: #1f2228; border-radius: 0 0 1rem 1rem;
  z-index: 50; display: flex; align-items: center; justify-content: center; gap: .75rem;
}
.notch-bar { width: 2.5rem; height: .25rem; border-radius: 9999px; background: rgba(0,0,0,.6); }
.notch-dot {
  width: .625rem; height: .625rem; border-radius: 50%; background: #111; border: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
}
.notch-dot i { width: .25rem; height: .25rem; border-radius: 50%; background: #1e3a8a; }
.phone-map { position: absolute; inset: 0; z-index: 0; opacity: .9; pointer-events: none; }
.phone-map canvas { width: 100%; height: 100%; }
.phone-shade {
  position: absolute; inset: 0; z-index: 10;
  background: linear-gradient(to top, #05090f, rgba(0,0,0,.4), transparent);
}
.phone-chat {
  position: absolute; left: 1rem; right: 1rem; bottom: 1.25rem; z-index: 20;
  background: rgba(17,17,17,.9); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; padding: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
}
.chat-row { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; }
.chat-bot {
  width: 2rem; height: 2rem; border-radius: .5rem; background: #7ef29d; color: #000;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem;
}
.chat-row p { font-size: 12px; color: #e5e7eb; line-height: 1.35; margin: 0 0 .5rem; font-weight: 500; }
.chat-status { display: flex; align-items: center; gap: .375rem; color: #7ef29d; font-size: 10px; font-weight: 700; letter-spacing: .03em; }
.mini-spin { width: .75rem; height: .75rem; border-radius: 50%; border: 2px solid #7ef29d; border-top-color: transparent; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chat-bars { display: flex; flex-direction: column; gap: .625rem; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.05); }
.chat-bars div { display: flex; align-items: center; justify-content: space-between; }
.chat-bars span { height: .375rem; border-radius: 9999px; background: rgba(255,255,255,.1); }
.chat-bars span.acc { background: rgba(126,242,157,.5); }

/* ── trust ───────────────────────────────────────────────────────────────── */
.trust { background: linear-gradient(to bottom, #032415, #01140b); padding: 4rem 1rem; border-top: 1px solid rgba(126,242,157,.1); border-bottom: 1px solid rgba(126,242,157,.1); }
.trust-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 640px) { .trust { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .trust { padding: 4rem 2rem; } .trust-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.trust h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.025em; color: #fff; line-height: 1.1; margin: 0; }
@media (min-width: 640px) { .trust h2 { font-size: 2.25rem; } }
.trust h2 span { color: #7ef29d; }
.trust p { font-size: 1.125rem; color: #d1d5db; line-height: 1.65; font-weight: 500; margin: 0 0 2rem; max-width: 32rem; }
.logos { display: flex; align-items: center; gap: 2rem; opacity: .6; filter: grayscale(1); }
.logos span { font-size: 1.25rem; font-weight: 700; letter-spacing: .1em; }
.logos .it { font-style: italic; letter-spacing: 0; }
.logos .up { text-transform: uppercase; letter-spacing: .05em; }

/* ── feature ─────────────────────────────────────────────────────────────── */
.feature { padding: 6rem 1rem; background: #000; border-bottom: 1px solid rgba(255,255,255,.05); }
@media (min-width: 640px) { .feature { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .feature { padding: 6rem 2rem; } }
.feature-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .feature-inner { grid-template-columns: 1fr 1fr; } }
.feature-mock { position: relative; aspect-ratio: 4/3; border-radius: 1rem; background: #0a0c10; border: 1px solid rgba(255,255,255,.1); overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); padding: 1.5rem; }
.mock-bg { position: absolute; inset: 0; opacity: .2; background-image: url('/static/hero_map_bg.png'); background-size: cover; }
.mock-stack { position: relative; z-index: 10; display: flex; flex-direction: column; gap: 1.5rem; }
.mock-card { width: 100%; background: rgba(17,17,17,.8); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); border-radius: .75rem; padding: 1rem; }
.mock-card.acc { width: 75%; margin-left: auto; background: rgba(126,242,157,.1); border-color: rgba(126,242,157,.2); }
.mock-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.mock-head .dot { width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid #7ef29d; }
.mock-head .dot.acc { border-radius: .25rem; border-color: #7ef29d; background: rgba(126,242,157,.2); }
.mock-head .bar { height: .5rem; border-radius: 9999px; background: rgba(255,255,255,.2); }
.mock-head .bar.acc { background: rgba(126,242,157,.4); }
.mock-lines { display: flex; flex-direction: column; gap: .75rem; }
.mock-lines div { height: .5rem; border-radius: 9999px; background: rgba(255,255,255,.1); }
.mock-block { height: 3rem; border-radius: .25rem; background: rgba(0,0,0,.4); border: 1px solid rgba(126,242,157,.1); }
.feature-copy .eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .75rem; border-radius: .25rem; background: rgba(126,242,157,.1); color: #7ef29d; font-size: .875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1.5rem; }
.feature-copy h3 { font-size: 1.875rem; font-weight: 800; line-height: 1.15; margin: 0 0 1.5rem; }
@media (min-width: 640px) { .feature-copy h3 { font-size: 2.25rem; } }
.feature-copy p { color: #9ca3af; font-size: 1.125rem; line-height: 1.65; margin: 0 0 2rem; }
.feature-copy ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.feature-copy li { color: #d1d5db; font-size: 1rem; }

/* ── cinematic ───────────────────────────────────────────────────────────── */
.cinema { position: relative; height: 420px; background: #000; border-bottom: 1px solid rgba(255,255,255,.05); overflow: hidden; display: flex; align-items: center; justify-content: center; }
@media (min-width: 640px) { .cinema { height: 600px; } }
.cinema video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: grayscale(1); }
.cinema-copy { position: relative; z-index: 10; text-align: center; max-width: 56rem; padding: 0 1rem; }
.cinema-copy h2 { font-size: 1.875rem; font-weight: 800; color: #fff; margin: 0 0 1rem; text-shadow: 0 4px 12px rgba(0,0,0,.6); }
@media (min-width: 640px) { .cinema-copy h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .cinema-copy h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .cinema-copy h2 { font-size: 3.75rem; } }
.cinema-copy p { font-size: 1rem; color: #e5e7eb; max-width: 42rem; margin: 0 auto 1.5rem; line-height: 1.6; }
@media (min-width: 640px) { .cinema-copy p { font-size: 1.25rem; margin-bottom: 2.5rem; } }
.btn-white { display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: #000; padding: .75rem 1.25rem; border-radius: .25rem; font-size: 1rem; font-weight: 700; }
@media (min-width: 640px) { .btn-white { padding: .875rem 2rem; font-size: 1.125rem; } }
.btn-white:hover { background: #f3f4f6; }
.cinema-shade { position: absolute; inset: 0; background: linear-gradient(to top, #000, transparent, #000); pointer-events: none; }

/* ── regional ────────────────────────────────────────────────────────────── */
.regional { padding: 6rem 1rem; background: #03060a; border-bottom: 1px solid rgba(255,255,255,.05); }
@media (min-width: 640px) { .regional { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .regional { padding: 6rem 2rem; } }
.regional-inner { max-width: 1400px; margin: 0 auto; }
.regional-head { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }
.regional-head .eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .75rem; border-radius: .25rem; background: rgba(126,242,157,.1); color: #7ef29d; font-size: .875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1.5rem; }
.regional-head h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.025em; margin: 0 0 1rem; }
@media (min-width: 640px) { .regional-head h2 { font-size: 2.25rem; } }
.regional-head p { color: #9ca3af; font-size: 1.125rem; margin: 0; }
.regional-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .regional-grid { grid-template-columns: 1fr 1fr; } }
.region-card { position: relative; height: 18rem; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #000; }
@media (min-width: 640px) { .region-card { height: 20rem; } }
.region-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .4; transition: opacity .7s, transform .7s; }
.region-card:hover .region-img { opacity: .7; transform: scale(1.05); }
.region-fade { position: absolute; inset: 0; background: linear-gradient(to top, #000, rgba(0,0,0,.4), transparent); }
.region-copy { position: absolute; bottom: 0; left: 0; padding: 1.25rem; width: 100%; }
@media (min-width: 640px) { .region-copy { padding: 2rem; } }
.region-copy h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0 0 .5rem; }
@media (min-width: 640px) { .region-copy h3 { font-size: 1.875rem; } }
.region-copy div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; color: #d1d5db; font-size: .875rem; }
@media (min-width: 640px) { .region-copy div { font-size: 1rem; } }
.region-copy p { font-weight: 500; margin: 0; }
.region-copy span { color: #7ef29d; font-weight: 700; }

/* ── gallery ─────────────────────────────────────────────────────────────── */
.gallery { padding: 6rem 1rem; background: #000; border-bottom: 1px solid rgba(255,255,255,.05); }
@media (min-width: 640px) { .gallery { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .gallery { padding: 6rem 2rem; } }
.gallery-inner { max-width: 1400px; margin: 0 auto; }
.gallery-head { margin-bottom: 4rem; }
.gallery-head h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.025em; margin: 0 0 1rem; }
@media (min-width: 640px) { .gallery-head h2 { font-size: 2.25rem; } }
.gallery-head p { color: #9ca3af; font-size: 1.125rem; max-width: 42rem; margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 1rem; height: 420px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); height: 600px; } }
.g-item { position: relative; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background-size: cover; background-position: center; opacity: .6; transition: opacity .5s; }
.g-item:hover { opacity: .85; }
.g-item.big { grid-column: span 2; grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-fade { position: absolute; inset: 0; background: linear-gradient(to top, #000, rgba(0,0,0,.2), transparent); }
.g-caption { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; background: rgba(0,0,0,.6); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1); padding: 1rem; border-radius: .75rem; }
.g-caption span { display: block; font-size: .875rem; color: #d1d5db; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
.g-caption p { color: #fff; font-weight: 500; margin: 0; }
.g-pill { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.g-pill { color: #fff; font-weight: 700; letter-spacing: .05em; }
.g-pill::before { content: ''; position: absolute; background: rgba(0,0,0,.8); backdrop-filter: blur(8px); padding: .5rem 1.5rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,.1); width: 12rem; height: 2.5rem; }
.g-pill { z-index: 2; }
.g-pill { text-shadow: 0 1px 4px #000; }

/* ── capabilities ────────────────────────────────────────────────────────── */
.capabilities { padding: 6rem 1rem; background: #05090f; }
@media (min-width: 640px) { .capabilities { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .capabilities { padding: 6rem 2rem; } }
.cap-inner { max-width: 1400px; margin: 0 auto; }
.cap-head { margin-bottom: 4rem; }
.cap-head h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.025em; margin: 0 0 1rem; }
@media (min-width: 640px) { .cap-head h2 { font-size: 2.25rem; } }
.cap-head p { color: #9ca3af; font-size: 1.125rem; max-width: 42rem; margin: 0; }
.cap-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cap-grid { grid-template-columns: repeat(4, 1fr); } }
.cap-card { background: #0a0c10; border: 1px solid rgba(255,255,255,.05); border-radius: .75rem; padding: 1.5rem; transition: background .2s; }
.cap-card:hover { background: #111; }
.cap-icon { width: 2.5rem; height: 2.5rem; border-radius: .25rem; background: rgba(126,242,157,.1); color: #7ef29d; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.25rem; }
.cap-card h3 { font-size: 1.125rem; font-weight: 700; color: #fff; margin: 0 0 .5rem; }
.cap-card p { font-size: .875rem; color: #9ca3af; line-height: 1.6; margin: 0; }

/* ── CTA ─────────────────────────────────────────────────────────────────── */
.cta { padding: 6rem 1rem; background: linear-gradient(to bottom, #000, #021008); border-top: 1px solid rgba(255,255,255,.05); text-align: center; }
.cta h2 { font-size: 2.25rem; font-weight: 800; margin: 0 0 1.5rem; }
@media (min-width: 640px) { .cta h2 { font-size: 3rem; } }
.cta p { font-size: 1.25rem; color: #9ca3af; margin: 0 0 2.5rem; }
.cta .btn-primary.big { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.footer { background: #000; padding: 5rem 1rem 2.5rem; border-top: 1px solid rgba(255,255,255,.1); }
@media (min-width: 640px) { .footer { padding: 5rem 1.5rem 2.5rem; } }
@media (min-width: 1024px) { .footer { padding: 5rem 2rem 2.5rem; } }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-bottom: 5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { grid-column: span 2; }
.footer-brand .brand { margin-bottom: 2rem; gap: .75rem; }
.footer-brand .brand img { width: 2.5rem; height: 2.5rem; border-radius: .25rem; }
.footer-brand .brand span { color: #fff; font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.footer-brand p { color: #9ca3af; font-size: 1.125rem; max-width: 24rem; line-height: 1.65; margin: 0; }
.footer h4 { font-weight: 700; color: #fff; margin: 0 0 1.5rem; text-transform: uppercase; letter-spacing: .1em; font-size: .875rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; color: #9ca3af; font-size: 1rem; font-weight: 500; }
.footer ul a:hover { color: #7ef29d; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; color: #6b7280; font-size: .875rem; font-weight: 500; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a:hover { color: #fff; }
