/* North Crest — Bigfinity-style conversion layout */
:root {
  --navy: #1e3a5f;
  --navy-2: #2a4a73;
  --navy-deep: #243b5c;
  --blue: #3b82f6;
  --blue-2: #2563eb;
  --orange: #f97316;
  --orange-2: #fb923c;
  --gold: #fbbf24;
  --white: #ffffff;
  --off: #f8fafc;
  --soft: #eef5ff;
  --muted: #64748b;
  --line: #e2e8f0;
  --dark: #1e293b;
  --shadow: 0 12px 36px rgba(30, 58, 95, 0.08);
  --radius: 16px;
  --font: "Poppins", system-ui, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 28%, #f8fafc 100%);
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Cookie */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark);
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(30, 58, 95, 0.08);
  backdrop-filter: blur(10px);
}
.cookie-bar .container {
  display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cookie-bar p { font-size: .92rem; max-width: 70ch; color: var(--muted); }
.cookie-actions { display: flex; gap: .6rem; }

/* Topbar */
.topbar {
  background: var(--soft);
  color: var(--navy);
  font-size: .88rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
}
.topbar .container {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center;
}
.topbar a:hover { color: var(--blue); }
.top-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(11,28,58,.08);
  border-bottom-color: var(--line);
}
.nav-row {
  min-height: 78px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: contain;
  background: linear-gradient(145deg, #eef5ff, #dbeafe);
  border: 1px solid var(--line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; color: var(--navy); font-weight: 700; }
.brand-text span {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .15rem;
}
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-item { position: relative; }
.nav-links > .nav-item > a,
.nav-links > a {
  display: block;
  padding: .7rem .75rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 8px;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: rgba(26,92,255,.06); }
.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .6rem;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: .2s ease;
  z-index: 20;
}
.nav-item:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown a {
  display: block; padding: .55rem .7rem; border-radius: 8px; font-size: .88rem; font-weight: 500; color: var(--dark);
}
.dropdown a:hover { background: var(--off); color: var(--blue); }
.mega {
  min-width: 520px;
  display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem;
}
.nav-cta { display: flex; gap: .55rem; margin-left: .5rem; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--navy); transition: .2s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .92rem; cursor: pointer; transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-2); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-2); }
.btn-outline {
  background: transparent; border-color: var(--navy); color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
}
.btn-outline-white:hover { background: var(--soft); border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--soft); }
.btn-sm { padding: .65rem 1.1rem; font-size: .85rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.16), transparent 32%),
    radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.14), transparent 36%),
    linear-gradient(135deg, #f0f7ff 0%, #ffffff 48%, #fff7ed 100%);
  color: var(--dark);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15; margin: .8rem 0 1rem; font-weight: 800;
  color: var(--navy);
}
.hero .lead { color: var(--muted); max-width: 48ch; margin-bottom: 1.5rem; font-size: 1.05rem; }
.eyebrow {
  display: inline-block; background: rgba(249, 115, 22, 0.12); color: var(--orange);
  border: 1px solid rgba(249, 115, 22, 0.28); padding: .35rem .8rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.hero-visual {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(30, 58, 95, 0.16);
  border: 4px solid #fff;
  animation: floatY 5s ease-in-out infinite;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 2.2rem;
}
.stat {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 16px; padding: 1rem 1.1rem; text-align: center;
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.05);
}
.stat strong {
  display: block; font-size: 1.8rem; color: var(--orange); font-weight: 800; line-height: 1.1;
}
.stat span { font-size: .85rem; color: var(--muted); }

/* Platforms */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.75rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.platforms span {
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: .82rem;
  opacity: .85;
  white-space: nowrap;
}

/* Sections */
section { padding: 5rem 0; }
.section-head { margin-bottom: 2.5rem; max-width: 720px; }
.section-head.center {
  text-align: center;
  margin-inline: auto;
  max-width: 760px;
}
.section-head.center .section-title,
.section-head.center .lead,
.section-head.center .section-label { margin-inline: auto; }
.section-label {
  color: var(--orange); font-weight: 800; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: .55rem;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2; color: var(--navy); font-weight: 800; margin-bottom: .75rem;
  text-wrap: balance;
}
.lead { color: var(--muted); max-width: 60ch; }
.bg-off {
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.06), transparent 40%),
    var(--off);
}
.bg-navy {
  background:
    radial-gradient(circle at 100% 0%, rgba(249, 115, 22, 0.1), transparent 35%),
    linear-gradient(135deg, #eaf2ff 0%, #f5f9ff 55%, #fff4e8 100%);
  color: var(--dark);
}
.bg-navy .section-title { color: var(--navy); }
.bg-navy .section-label { color: var(--orange); }
.bg-navy .lead { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.split > *:not(.split-media) { min-width: 0; }
.split-media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  width: 100%;
  background: var(--off);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.check { margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.check li {
  display: flex; gap: .7rem; align-items: flex-start; color: var(--dark); font-weight: 500;
}
.check li::before {
  content: "✓"; color: #fff; background: var(--orange); width: 22px; height: 22px;
  border-radius: 50%; display: grid; place-items: center; font-size: .75rem; flex-shrink: 0; margin-top: .1rem;
}
.bg-navy .check li { color: var(--dark); }

/* Why / awards */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}
.why-grid .split-media { aspect-ratio: 3 / 4; max-height: 520px; }
.award-row {
  display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem;
}
.award {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(145deg, #fff7e6, #ffe0a3);
  border: 2px solid #f0c35a;
  display: grid; place-items: center;
  font-size: .62rem; font-weight: 800; text-align: center; color: #8a5a00;
  box-shadow: 0 8px 18px rgba(245,180,0,.25);
  animation: pulseSoft 3s ease-in-out infinite;
}
@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
  align-items: stretch;
}
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: 0 8px 24px rgba(11,28,58,.04);
  transition: .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar .ico {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(26,92,255,.1);
  color: var(--blue); display: grid; place-items: center; font-weight: 800; margin-bottom: .9rem;
}
.pillar h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .4rem; }
.pillar p { color: var(--muted); font-size: .92rem; }

/* CTA band */
.cta-band {
  background:
    linear-gradient(105deg, rgba(240, 247, 255, 0.94), rgba(255, 247, 237, 0.92)),
    url("https://images.unsplash.com/photo-1488190211105-8b0e65b80b4e?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--dark);
  padding: 4rem 0;
  text-align: center;
  border-block: 1px solid var(--line);
}
.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 auto .7rem;
  font-weight: 800;
  max-width: 20ch;
  text-wrap: balance;
  color: var(--navy);
}
.cta-band p { color: var(--muted); max-width: 55ch; margin: 0 auto 1.4rem; }
.cta-band .phone {
  display: block; font-size: 1.4rem; font-weight: 800; color: var(--orange); margin-bottom: 1.2rem;
}
.cta-band .btn-group { justify-content: center; }

/* Genre tabs */
.genre-tabs, .folio-tabs {
  display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; justify-content: center;
}
.genre-tabs button, .folio-tabs button {
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  padding: .65rem 1.1rem; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .88rem;
  transition: .2s ease;
}
.genre-tabs button.active, .folio-tabs button.active,
.genre-tabs button:hover, .folio-tabs button:hover {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.genre-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.genre-panel.active { display: grid; animation: fadeUp .35s ease; }
.genre-panel > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.genre-copy {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.genre-copy h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: .7rem; }
.genre-copy p { color: var(--muted); margin-bottom: 1.2rem; }

/* Packages */
.packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.package {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 1.6rem; display: flex; flex-direction: column;
  box-shadow: 0 10px 28px rgba(11,28,58,.05); transition: .25s ease;
  min-width: 0;
}
.package:hover { transform: translateY(-6px); }
.package.featured {
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  color: var(--dark);
  border: 2px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.12);
}
.package.featured:hover { transform: translateY(-6px); }
.package .btn { margin-top: auto; width: 100%; }
.package .tag {
  display: inline-block; background: rgba(249, 115, 22, 0.12); color: var(--orange);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px; margin-bottom: .7rem;
}
.package.featured .tag { background: rgba(59, 130, 246, 0.12); color: var(--blue); }
.package h3 { font-size: 1.45rem; margin-bottom: .5rem; color: var(--navy); }
.package.featured h3 { color: var(--navy); }
.package > p { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.package.featured > p { color: var(--muted); }
.package ul { display: grid; gap: .45rem; margin-bottom: 1.4rem; flex: 1; }
.package li {
  font-size: .88rem; color: #475569; padding-left: 1.1rem; position: relative;
}
.package li::before { content: "•"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.package.featured li { color: #475569; }
.package .group-title {
  margin-top: .6rem; font-weight: 800; font-size: .82rem; color: var(--blue); text-transform: uppercase; letter-spacing: .06em;
}
.package.featured .group-title { color: var(--blue-2); }

/* Portfolio */
.folio-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.book {
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: var(--navy);
  width: 100%;
}
.book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}
.book:hover img { transform: scale(1.05); }
.book figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.2rem .8rem .8rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: #fff; font-size: .78rem; font-weight: 700;
}
.book[hidden] { display: none !important; }

/* Services cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.5rem; transition: .25s ease; box-shadow: 0 8px 24px rgba(11,28,58,.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(26,92,255,.25); }
.service-card .thumb {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 16 / 10;
  width: 100%;
  background: var(--off);
}
.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.service-card .more { margin-top: auto; }
.service-card h3 { color: var(--navy); margin-bottom: .45rem; font-size: 1.15rem; }
.service-card p { color: var(--muted); font-size: .92rem; margin-bottom: .9rem; }
.service-card .more { color: var(--blue); font-weight: 700; font-size: .9rem; }

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  position: relative;
  height: 100%;
  min-width: 0;
  box-shadow: 0 8px 22px rgba(30, 58, 95, 0.05);
}
.step .num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--orange);
  color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: .8rem;
}
.step h3 { font-size: 1rem; margin-bottom: .4rem; color: var(--navy); }
.step p { color: var(--muted); font-size: .88rem; }

/* Testimonials */
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem;
  box-shadow: 0 8px 24px rgba(11,28,58,.04);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .6rem; }
.testimonial blockquote {
  color: var(--dark); font-weight: 500; margin-bottom: 1rem; flex: 1;
}
.testimonial cite { margin-top: auto; }
.testimonial cite { font-style: normal; color: var(--muted); font-size: .9rem; }
.testimonial cite strong { display: block; color: var(--navy); }
.rating-banner {
  display: inline-flex; align-items: center; gap: .6rem;
  background: #fff7e6; border: 1px solid #ffe0a3; color: #8a5a00;
  padding: .45rem .9rem; border-radius: 999px; font-weight: 800; margin-bottom: 1.2rem;
}

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: .7rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.25rem; font-weight: 700;
  color: var(--navy); position: relative; padding-right: 2.5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 1.05rem;
  color: var(--orange); font-size: 1.3rem; font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.25rem 1.15rem; color: var(--muted); }

/* Contact */
.contact-wrap {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start;
}
.contact-card {
  background: linear-gradient(160deg, #ffffff, #eef5ff);
  color: var(--dark);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.5rem; margin-bottom: .6rem; color: var(--navy); }
.contact-card p { color: var(--muted); margin-bottom: 1.2rem; }
.contact-card .line { margin-bottom: .8rem; font-weight: 600; color: var(--navy); }
.contact-card a:hover { color: var(--blue); }
.form {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 1.6rem; display: grid; gap: .9rem; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: .8rem .9rem;
  background: var(--off); outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field textarea { min-height: 120px; resize: vertical; }
.consent {
  display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--muted);
}
.consent input { margin-top: .2rem; }
.form-note { min-height: 1.2em; color: var(--blue); font-size: .88rem; font-weight: 600; }

/* Footer */
.site-footer {
  background: #f1f5f9;
  color: var(--muted);
  padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem;
}
.site-footer h4 {
  color: var(--navy); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { display: grid; gap: .45rem; }
.site-footer a:hover { color: var(--blue); }
.footer-brand p { margin-top: .9rem; max-width: 34ch; font-size: .92rem; color: var(--muted); }
.footer-brand .brand-text strong { color: var(--navy); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 1.2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem;
}

/* Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 40, 0.68);
  backdrop-filter: blur(8px);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.popup-overlay.open { display: flex; }
.popup {
  width: min(100%, 720px);
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  animation: popIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.popup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: 420px;
}
.popup-visual {
  position: relative;
  min-height: 280px;
  background: var(--soft);
  overflow: hidden;
}
.popup-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.popup-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(30, 58, 95, 0.72) 100%);
}
.popup-offer {
  position: absolute;
  inset: auto 1.25rem 1.4rem 1.25rem;
  z-index: 1;
  color: #fff;
}
.popup-offer .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.popup-offer h3 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 0.45rem;
}
.popup-offer h3 span {
  color: var(--orange-2);
}
.popup-offer p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  max-width: 24ch;
}
.popup-body {
  padding: 1.75rem 1.6rem 1.5rem;
  display: grid;
  gap: 0.75rem;
  align-content: center;
}
.popup-body .popup-intro {
  margin-bottom: 0.25rem;
}
.popup-body .popup-intro strong {
  display: block;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.popup-body .popup-intro p {
  color: var(--muted);
  font-size: 0.9rem;
}
.popup-body .field input,
.popup-body .field select {
  background: #fff;
  border: 1px solid var(--line);
}
.popup-body .field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 92, 255, 0.12);
}
.popup-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: 0.2s ease;
}
.popup-close:hover {
  background: #fff;
  transform: scale(1.05);
}

/* Floaters */
.float-call, .float-chat {
  position: fixed; z-index: 1100; border-radius: 999px;
  font-weight: 800; box-shadow: var(--shadow); padding: .85rem 1.15rem;
}
.float-call {
  right: 1.1rem; bottom: 1.1rem; background: var(--orange); color: #fff;
}
.float-chat {
  right: 1.1rem; bottom: 4.4rem; background: var(--blue); color: #fff;
}

/* Page hero */
.page-hero {
  background:
    radial-gradient(circle at 90% 20%, rgba(249, 115, 22, 0.12), transparent 35%),
    linear-gradient(135deg, #f0f7ff, #ffffff 60%, #fff7ed);
  color: var(--dark);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: .4rem 0 .7rem;
  color: var(--navy);
}
.page-hero p { color: var(--muted); max-width: 55ch; }
.page-hero .section-label { color: var(--orange); }

/* Legal */
.legal { max-width: 780px; }
.legal h2 { color: var(--navy); font-size: 1.35rem; margin: 1.8rem 0 .6rem; }
.legal p { color: var(--muted); margin-bottom: .9rem; }

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Inner content helpers */
.content-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.5rem; margin-bottom: 1rem;
}
.content-card h3 { color: var(--navy); margin-bottom: .4rem; }

/* Service detail pages */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: 2rem;
  align-items: start;
}
.service-detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
.service-detail-main .detail-grid {
  grid-column: 1 / -1;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.detail-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: 0 8px 22px rgba(30, 58, 95, 0.04);
}
.detail-block h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.detail-block p { color: var(--muted); font-size: 0.95rem; }
.service-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 100px;
}
.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.sidebar-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}
.sidebar-card p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  transition: 0.25s ease;
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.04);
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow);
}
.related-card strong { color: var(--navy); font-size: 1.05rem; }
.related-card span { color: var(--blue); font-weight: 700; font-size: 0.88rem; }

@media (max-width: 980px) {
  .service-detail,
  .service-detail-main,
  .detail-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .service-sidebar { position: static; }
}

@media (max-width: 1100px) {
  .folio-grid { grid-template-columns: repeat(4, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .mega { min-width: 420px; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .why-grid, .genre-panel.active, .contact-wrap, .footer-grid {
    grid-template-columns: 1fr;
  }
  .packages, .pillars, .service-grid, .t-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual {
    width: min(100%, 360px);
    aspect-ratio: 4 / 5;
  }
  .genre-panel > img {
    min-height: 220px;
    max-height: 320px;
    aspect-ratio: 16 / 10;
  }
  .why-grid .split-media { aspect-ratio: 4 / 3; max-height: none; }
  .popup-grid { grid-template-columns: 1fr; min-height: 0; }
  .popup-visual { min-height: 180px; aspect-ratio: 16 / 9; }
  .process { grid-template-columns: 1fr 1fr; }
  .folio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .popup { border-radius: 18px; }
  .popup-body { padding: 1.25rem 1.1rem 1.2rem; }
  .popup-visual { aspect-ratio: 2 / 1; min-height: 140px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 118px 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 1rem;
    border-bottom: 1px solid var(--line); max-height: calc(100vh - 118px); overflow: auto;
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .25s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .dropdown, .mega {
    position: static; opacity: 1; pointer-events: auto; transform: none;
    box-shadow: none; border: 0; min-width: 0; display: none; grid-template-columns: 1fr;
    padding-left: .5rem;
  }
  .nav-item.open .dropdown { display: grid; }
  .nav-cta { margin: .8rem 0 0; flex-direction: column; }
  .nav-cta .btn { width: 100%; }
}
@media (max-width: 640px) {
  .packages, .pillars, .service-grid, .t-grid, .process, .stats, .folio-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .folio-grid { grid-template-columns: 1fr 1fr; }
  .brand-text { display: none; }
  .topbar .container { justify-content: center; text-align: center; }
  .float-chat { display: none; }
}
