/* Gateway 360 portfolio demo sites — shared professional framework */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --nav-height: 72px;
  --font-display: "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --max: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* Demo banner */
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
  z-index: 200;
  transition: background 0.2s;
}
.demo-banner:hover { background: #1e293b; color: #e2e8f0; }
.demo-banner strong { color: #c4b5fd; font-weight: 600; }

/* Header */
.site-header {
  position: sticky;
  top: 33px;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header.dark {
  --nav-bg: rgba(15, 23, 42, 0.95);
  --border: rgba(255, 255, 255, 0.08);
}
.site-header.dark .nav-link { color: rgba(255, 255, 255, 0.7); }
.site-header.dark .nav-link:hover { color: #fff; }
.site-header.dark .site-logo { color: #fff; }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.site-logo .accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-link:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 40%, transparent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent-soft); }
.btn-light {
  background: #fff;
  color: var(--accent);
}
.btn-light:hover { background: #f8fafc; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px 72px;
}
.hero-center { text-align: center; }
.hero-center .hero-inner { max-width: 760px; }
.hero-split .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-center .hero-lead { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-center .hero-actions { justify-content: center; }

.hero-visual {
  border-radius: var(--radius);
  min-height: 340px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  position: relative;
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.15) 0%, transparent 60%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Stats */
.stats-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 40px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 80px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.section-alt { background: var(--bg-alt); }
.section-alt .section-inner { max-width: var(--max); margin: 0 auto; padding: 80px 24px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-header p {
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3, .card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p { font-size: 0.9rem; color: var(--text-muted); }
.card .price {
  margin-top: 12px;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}

/* Listing cards */
.listing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow 0.2s;
}
.listing-card:hover { box-shadow: var(--shadow); }
.listing-img {
  height: 200px;
  background: linear-gradient(135deg, var(--accent-soft), var(--border));
}
.listing-body { padding: 20px; }
.listing-body h4 { font-weight: 700; margin-bottom: 4px; }
.listing-price { font-size: 1.25rem; font-weight: 700; color: var(--accent); }
.listing-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Menu items */
.menu-list { max-width: 700px; margin: 0 auto; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px dotted var(--border);
  gap: 16px;
}
.menu-item h4 { font-weight: 500; font-size: 1rem; }
.menu-item .price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.menu-item .desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

/* Team */
.team-card { text-align: center; }
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--border));
  margin: 0 auto 16px;
}
.team-card h4 { font-weight: 700; margin-bottom: 4px; }
.team-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Testimonials */
.testimonial {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.testimonial .stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}
.testimonial .author {
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

.review-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}
.review-card .stars { color: var(--accent); margin-bottom: 10px; }
.review-card p { font-size: 0.9rem; color: var(--text-muted); font-style: italic; }
.review-card .name { margin-top: 12px; font-weight: 600; font-size: 0.85rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-soft), var(--border));
}

/* CTA band */
.cta-band {
  background: var(--accent);
  padding: 80px 24px;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 24px 24px;
}
.site-footer.light {
  background: var(--bg-alt);
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer.light .footer-inner { border-color: var(--border); }
.footer-brand p { font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }
.footer-col h5 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.site-footer.light .footer-col h5 { color: var(--text); }
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s;
}
.site-footer.light .footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: #fff; }
.site-footer.light .footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 20px;
  font-size: 0.78rem;
  text-align: center;
}

/* Trust row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* Price table */
.price-table { max-width: 560px; margin: 0 auto; }
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.price-row span:last-child { font-weight: 700; color: var(--accent); }

/* Featured card */
.card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4, .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-split .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 240px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .header-cta { display: none; }
  .grid-2, .grid-3, .grid-4, .footer-inner { grid-template-columns: 1fr; }
  .stats-bar { gap: 28px; }
  .hero-inner { padding: 56px 24px 48px; }
}
