/* ═══════════════════════════════════════════════════════════════
   SEOINN Web Services — Complete Design System
   Dark Navy + Electric Orange  |  Syne + DM Sans
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --orange:        #f46b1a;
  --orange-deep:   #c9520d;
  --orange-glow:   rgba(244,107,26,0.15);
  --orange-soft:   rgba(244,107,26,0.08);
  --gold:          #f9b840;
  --green-ok:      #25d366;
  --ink:           #08091a;
  --surface:       #0d1230;
  --surface-2:     #111840;
  --surface-3:     #162050;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(244,107,26,0.35);
  --text:          #edeaf2;
  --muted:         #8a8ba8;
  --muted-2:       #b0b2cc;
  --header-h:      72px;
  --radius:        14px;
  --font-display:  'Syne', sans-serif;
  --font:          'DM Sans', sans-serif;
  --shadow:        0 12px 36px rgba(0,0,0,0.4);
  --shadow-lg:     0 22px 60px rgba(0,0,0,0.5);
  --shadow-orange: 0 8px 32px rgba(244,107,26,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.65; background: var(--ink); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

.container { width: min(1100px, 92%); margin-inline: auto; }
.section    { padding: 5rem 0; }

.skip-link {
  position: fixed; top: -120px; left: 1rem; z-index: 1100;
  padding: .65rem 1.1rem; border-radius: 12px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: .9rem;
  text-decoration: none; transition: top .22s;
}
.skip-link:focus { top: 1rem; outline: 2px solid #fff; outline-offset: 2px; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(8,9,26,0.92); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand img { display: block; height: 42px; width: auto; }
.nav-links { display: flex; flex: 1; justify-content: center; flex-wrap: wrap; gap: 1.15rem; font-weight: 500; font-size: .9375rem; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); cursor: pointer; color: inherit; transition: border-color .2s;
}
.nav-toggle:hover { border-color: var(--border-hover); }
.nav-toggle__bar { display: block; width: 22px; height: 2px; border-radius: 1px; background: var(--text); transition: transform .3s, opacity .25s; }
.site-header.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 998;
  background: rgba(8,9,26,.7); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s, visibility .28s;
}
.nav-backdrop.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
body.nav-menu-open { overflow: hidden; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid transparent;
  padding: .72rem 1.35rem; font-family: var(--font); font-weight: 600; font-size: .9375rem; letter-spacing: .02em;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s, color .2s; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5rem 1rem; font-size: .88rem; }
.btn-primary { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { box-shadow: 0 12px 40px rgba(244,107,26,.42); }
.btn-outline { border-color: rgba(244,107,26,.45); color: var(--orange); background: transparent; }
.btn-outline:hover { border-color: var(--orange); background: var(--orange-soft); }
.btn-ghost { border-color: var(--border); color: var(--muted-2); background: var(--surface); }
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); }
.btn-wa { background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.35); color: var(--green-ok); }
.btn-wa:hover { background: rgba(37,211,102,.22); }

/* ── ANIMATED BG ── */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px; animation: gridDrift 28s linear infinite;
}
@keyframes gridDrift { from { background-position: 0 0, 0 0; } to { background-position: 0 60px, 60px 0; } }
.bg-glow-a {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  width: 640px; height: 640px; background: radial-gradient(circle, rgba(244,107,26,.12) 0%, transparent 70%);
  top: -160px; right: -100px; animation: glowPulse 5.5s ease-in-out infinite;
}
.bg-glow-b {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  width: 480px; height: 480px; background: radial-gradient(circle, rgba(71,105,255,.1) 0%, transparent 70%);
  bottom: -60px; left: 5%; animation: glowPulse 7s ease-in-out infinite reverse;
}
@keyframes glowPulse { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.18); opacity: 1; } }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden; min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center; padding: 5rem 0 4rem;
  background: radial-gradient(ellipse 120% 80% at 65% 40%, #15213f 0%, var(--ink) 65%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--orange); background: var(--orange-glow); border: 1px solid rgba(244,107,26,.28);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 1.4rem;
}
.eyebrow-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; animation: liveDot 1.5s ease infinite; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2rem,4.5vw,3.2rem); font-weight: 800; margin-bottom: 1.1rem; }
h2 { font-size: clamp(1.6rem,2.8vw,2.2rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }

.hero-morph { color: var(--orange); font-style: normal; display: inline; }
.hero-lead { font-size: 1.05rem; color: var(--muted-2); line-height: 1.7; max-width: 52ch; margin-bottom: 1.8rem; }
.hero-lead strong { color: var(--text); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }

.trust-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.trust-pill {
  display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted);
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  transition: border-color .2s, color .2s;
}
.trust-pill:hover { border-color: rgba(244,107,26,.4); color: var(--text); }

/* ── Hero aside ── */
.hero-aside { position: relative; height: 500px; }
.orbit-scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(244,107,26,.2); animation: spin 22s linear infinite; }
.orbit-ring-1 { width: 420px; height: 420px; }
.orbit-ring-2 { width: 300px; height: 300px; border-color: rgba(71,105,255,.2); animation-duration: 15s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; top: -4px; left: 50%; margin-left: -4px; }
.orbit-ring-1 .orbit-dot { background: var(--orange); }
.orbit-ring-2 .orbit-dot { background: #4769ff; bottom: -4px; top: auto; }

.browser-card {
  width: 240px; background: var(--surface-2); border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow-lg); overflow: hidden;
  animation: floatCard 4s ease-in-out infinite; position: relative; z-index: 2;
}
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.browser-bar { height: 28px; background: var(--surface-3); display: flex; align-items: center; padding: 0 10px; gap: 5px; }
.browser-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }
.browser-body { padding: 14px; }
.bcard-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.bcard-metric { background: var(--surface-3); border-radius: 8px; padding: 8px; text-align: center; }
.bcard-val { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--orange); }
.bcard-lbl { display: block; font-size: 9px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.bcard-bars { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-bottom: 10px; }
.bcard-bar { flex: 1; border-radius: 3px 3px 0 0; background: var(--orange); opacity: .5; animation: barGrow 2s ease-out both; }
.bcard-bar:nth-child(1) { --h: 35%; animation-delay: .1s; }
.bcard-bar:nth-child(2) { --h: 55%; animation-delay: .2s; }
.bcard-bar:nth-child(3) { --h: 42%; animation-delay: .3s; }
.bcard-bar:nth-child(4) { --h: 78%; animation-delay: .4s; opacity: 1; }
.bcard-bar:nth-child(5) { --h: 92%; animation-delay: .5s; opacity: 1; }
@keyframes barGrow { from { height: 0; } to { height: var(--h); } }
.bcard-badge { background: rgba(244,107,26,.12); border: 1px solid rgba(244,107,26,.3); border-radius: 6px; padding: 5px 8px; font-size: 9px; color: var(--orange); text-align: center; letter-spacing: .04em; }

.mini-card { position: absolute; background: var(--surface-2); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 10px 14px; box-shadow: 0 16px 40px rgba(0,0,0,.45); z-index: 3; }
.mc-seo   { top: 30px; right: 0; animation: floatA 3.5s ease-in-out infinite; }
.mc-speed { top: 50%; left: -20px; transform: translateY(-50%); animation: floatB 3s ease-in-out infinite .5s; }
.mc-lead  { bottom: 50px; right: 0; animation: floatA 4s ease-in-out infinite 1s; }
@keyframes floatA { 0%,100% { transform: translateY(0); }    50% { transform: translateY(-7px); } }
@keyframes floatB { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 7px)); } }
.mc-lbl { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 3px; }
.mc-val { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); }
.mc-badge { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 9px; color: #28c840; background: rgba(40,200,64,.12); border-radius: 4px; padding: 2px 6px; }
.mc-bar { height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; margin-top: 5px; width: 100px; }
.mc-bar-fill { height: 100%; background: var(--orange); border-radius: 4px; animation: mcBarFill 2s 1s ease-out both; }
@keyframes mcBarFill { from { width: 0; } to { width: 92%; } }

.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 32px; background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollDrop 2s ease infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── SECTION LABELS ── */
.section-label {
  display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .1em; font-weight: 700; color: var(--orange); background: var(--orange-glow);
  border: 1px solid rgba(244,107,26,.25); border-radius: 999px; padding: 4px 12px; margin-bottom: 1rem;
}
.section-lead { color: var(--muted-2); max-width: 60ch; line-height: 1.7; margin-bottom: 2.5rem; }
.section-dark   { background: var(--surface); }
.section-darker { background: var(--surface-2); }

/* ── STATS BAR ── */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-item { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-val { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--text); line-height: 1; display: block; }
.stat-val .acc { color: var(--orange); }
.stat-lbl { font-size: .82rem; color: var(--muted); margin-top: .35rem; display: block; line-height: 1.4; }

/* ── SERVICE CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.service-card { background: var(--surface); padding: 2rem; transition: background .25s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--orange),transparent); opacity: 0; transition: opacity .3s; }
.service-card:hover { background: var(--surface-2); }
.service-card:hover::before { opacity: 1; }
.service-icon-wrap { width: 44px; height: 44px; border-radius: 10px; background: var(--orange-glow); border: 1px solid rgba(244,107,26,.25); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--text); margin-bottom: .5rem; }
.service-card p  { color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* ── PROJECT SLIDER ── */
.project-slider { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.project-slider__viewport { overflow: hidden; }
.project-slider__track { list-style: none; }
.project-slider__slide { display: none; }
.project-slider__slide.is-active { display: block; animation: fadeSlide .5s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.project-slide-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); align-items: stretch; }
.project-slide-card__media { display: block; min-height: 240px; overflow: hidden; }
.project-slide-card__media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.project-slide-card__placeholder { min-height: 240px; background: radial-gradient(circle at 30% 30%,var(--orange-glow),transparent 55%),var(--surface-3); }
.project-slide-card__body { padding: 1.8rem 2rem; }
.project-slide-card__body h3 a { color: var(--text); transition: color .2s; }
.project-slide-card__body h3 a:hover { color: var(--orange); }
.project-slide-card__body p { color: var(--muted); margin-bottom: 0; font-size: .9rem; }
.project-slide-card__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.project-slider__controls { border-top: 1px solid var(--border); background: var(--surface-2); }
.tag { display: inline-block; margin-bottom: .65rem; padding: .22rem .7rem; border-radius: 999px; background: var(--orange-glow); color: var(--orange); font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: .7rem .75rem .85rem; }
.carousel-btn { width: 2.2rem; height: 2.2rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 1.35rem; line-height: 1; cursor: pointer; color: var(--orange); transition: transform .15s, box-shadow .15s, border-color .15s; }
.carousel-btn:hover { transform: scale(1.07); border-color: rgba(244,107,26,.4); box-shadow: 0 6px 18px rgba(244,107,26,.2); }
.carousel-dots { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: center; }
.carousel-dot { width: .45rem; height: .45rem; border-radius: 999px; border: none; padding: 0; background: var(--surface-3); cursor: pointer; transition: transform .15s, background .15s; }
.carousel-dot.is-active { background: var(--orange); transform: scale(1.4); }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--border); color: var(--muted-2); line-height: 1.55; font-size: .95rem; }
.check-list li:last-child { border-bottom: none; }
.check-icon { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--orange-glow); border: 1px solid rgba(244,107,26,.3); display: flex; align-items: center; justify-content: center; font-size: .65rem; color: var(--orange); margin-top: 2px; }
.pricing-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; position: relative; overflow: hidden; }
.pricing-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--orange),var(--gold)); }
.pricing-box h3 { color: var(--text); margin-bottom: .7rem; }
.pricing-box p  { color: var(--muted); margin-bottom: 1.2rem; font-size: .9rem; line-height: 1.65; }

/* ── FAQ ── */
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .2s; }
.faq-list details + details { margin-top: .65rem; }
.faq-list details[open] { border-color: rgba(244,107,26,.3); }
.faq-list summary { font-weight: 600; cursor: pointer; color: var(--text); padding: 1rem 1.2rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .95rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.3rem; color: var(--orange); flex-shrink: 0; line-height: 1; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--orange); }
.faq-body { padding: 0 1.2rem 1rem; color: var(--muted); line-height: 1.7; font-size: .9rem; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-meta-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: .75rem; }
.contact-item-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--orange-glow); border: 1px solid rgba(244,107,26,.25); display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.contact-item-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .15rem; }
.contact-item-val { font-size: .95rem; color: var(--text); }
.contact-item-val a { color: var(--orange); transition: color .2s; }
.contact-item-val a:hover { color: var(--gold); }
.contact-map { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin-top: 1rem; }
.contact-map iframe { display: block; width: 100%; height: 220px; border: 0; }
.contact-map-link { margin-top: .75rem; }

.lead-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; position: relative; overflow: hidden; }
.lead-form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--orange),var(--gold)); }
.lead-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted-2); margin: .9rem 0 .3rem; }
.lead-form label:first-of-type { margin-top: 0; }
.lead-form input, .lead-form textarea { width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: .68rem .85rem; font-family: var(--font); font-size: .95rem; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: rgba(244,107,26,.5); box-shadow: 0 0 0 3px rgba(244,107,26,.12); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--muted); }
.lead-form textarea { resize: vertical; }
.lead-form .btn-primary { margin-top: 1rem; width: 100%; justify-content: center; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .65rem; }
.form-status { min-height: 1.1rem; margin-top: .4rem; font-size: .88rem; }
.form-status.error { color: #f87171; }
.form-status.success { color: var(--green-ok); }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 1.2rem 0; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.footer-actions { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; font-weight: 600; }
.footer-actions a { color: var(--orange); }
.footer-actions a:hover { color: var(--gold); }

/* ── MOBILE CTA ── */
.mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 960; display: none; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border); background: rgba(8,9,26,.98); backdrop-filter: blur(8px); }
.mobile-cta a { padding: .9rem .6rem; text-align: center; font-weight: 700; font-size: .88rem; color: var(--muted); }
.mobile-cta a:nth-child(2) { color: var(--green-ok); }

/* ── SCROLL TOP ── */
.scroll-top { position: fixed; right: 1.1rem; bottom: 1.4rem; z-index: 997; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--orange); cursor: pointer; display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; line-height: 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .28s, visibility .28s, transform .28s, box-shadow .2s, border-color .2s; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { border-color: rgba(244,107,26,.45); box-shadow: var(--shadow-orange); }

/* ── PROJECT DETAIL ── */
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--orange); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); }
.project-detail { max-width: 820px; }
.project-detail__figure { margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.project-detail__img { display: block; width: 100%; height: auto; }
.prose p { color: var(--muted); margin: 0 0 .85rem; line-height: 1.7; }
.project-detail__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }

/* ── ANIMATIONS ── */
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes morphIn    { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes liveDot    { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes ctaPulse   { 0%,100% { box-shadow: 0 8px 32px rgba(244,107,26,.25); } 50% { box-shadow: 0 8px 32px rgba(244,107,26,.25), 0 0 0 8px rgba(244,107,26,0); } }

.hero .eyebrow    { animation: heroFadeUp .55s .05s both ease-out; }
.hero h1          { animation: heroFadeUp .55s .18s both ease-out; }
.hero .hero-lead  { animation: heroFadeUp .55s .30s both ease-out; }
.hero .hero-cta   { animation: heroFadeUp .55s .42s both ease-out; }
.hero .trust-row  { animation: heroFadeUp .55s .54s both ease-out; }
.hero .hero-aside { animation: heroFadeUp .65s .30s both ease-out; }
.hero-morph.is-swapping { animation: morphIn .35s ease both; }
.hero .btn-primary { animation: ctaPulse 2.8s ease-in-out infinite 1.2s; }
.hero .btn-primary:hover { animation: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-grid, .contact-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-aside { height: 340px; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .section { padding: 3.5rem 0; }
  .desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; flex: none; justify-content: flex-start; top: var(--header-h); right: 0; width: min(100%,22rem); height: calc(100dvh - var(--header-h)); flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding: 1rem 1.1rem 2rem; gap: .4rem; background: rgba(8,9,26,.98); backdrop-filter: blur(14px); box-shadow: -10px 0 48px rgba(0,0,0,.4); z-index: 999; transform: translateX(100%); visibility: hidden; transition: transform .32s cubic-bezier(.4,0,.2,1),visibility .32s; overflow-y: auto; }
  .site-header.nav-open .nav-links { transform: translateX(0); visibility: visible; }
  .nav-links a { padding: .95rem 1rem; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
  .nav-links a:hover { border-color: rgba(244,107,26,.4); color: var(--orange); }
  .mobile-cta { display: grid; }
  .site-footer { padding-bottom: 4.6rem; }
  .project-slide-card { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .scroll-top { bottom: 4.9rem; right: .85rem; }
}

/* ── Admin CMS (light shell — readable text on white cards & pills) ── */
body.admin-cms {
  background: #e8ecf4;
  color: #161826;
  --line: #cfd4e2;
  --border: rgba(22, 24, 38, 0.14);
}

body.admin-cms h1,
body.admin-cms h2 {
  font-family: var(--font-display);
  color: #0a0c14;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.admin-cms h2 { font-weight: 700; font-size: 1.15rem; }

body.admin-cms a {
  color: #b8480a;
  text-decoration: none;
  font-weight: 600;
}
body.admin-cms a:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.admin-cms .admin-shell > p:first-of-type a,
body.admin-cms .admin-nav a {
  text-decoration: none;
}
body.admin-cms .admin-nav a:hover {
  text-decoration: none;
}

body.admin-cms .admin-nav a:not(.primary) {
  background: #fff;
  color: #141624;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
body.admin-cms .admin-nav a:not(.primary):hover {
  border-color: rgba(244, 107, 26, 0.45);
  color: var(--orange-deep);
}

body.admin-cms .admin-nav a.primary {
  color: #fff;
  border-color: transparent;
}

body.admin-cms .muted,
body.admin-cms .hint {
  color: #4b5066;
}

body.admin-cms table {
  color: #1a1d2b;
}
body.admin-cms table th {
  background: #dfe5f2 !important;
  color: #0a0c14 !important;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
body.admin-cms table td {
  color: #222634;
}
body.admin-cms table code {
  background: #eef1f6;
  color: #3d4254;
  padding: 0.2em 0.45em;
  border-radius: 6px;
  font-size: 0.86em;
}
body.admin-cms table tr:last-child td {
  border-bottom: none;
}

body.admin-cms .tile {
  color: #1a1d2b;
  border-color: var(--line) !important;
}
body.admin-cms .tile p {
  color: #4b5066;
}
body.admin-cms .tile-caption {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: #4b5066;
}
body.admin-cms .tile-meta {
  margin: 0;
  font-size: 0.8rem;
  color: #363b4d;
}
body.admin-cms .actions form {
  display: inline;
}

body.admin-cms form.add {
  background: #fff !important;
  border-color: var(--line) !important;
}

body.admin-cms .btn-outline {
  background: #fff;
  border-color: rgba(244, 107, 26, 0.5);
  color: var(--orange-deep);
}
body.admin-cms .btn-outline:hover {
  background: var(--orange-soft);
  color: var(--orange-deep);
}

body.admin-cms .btn-ghost {
  background: #f4f6fa;
  border-color: var(--line);
  color: #363b4d;
}
body.admin-cms .btn-ghost:hover {
  background: #fff;
  border-color: #9aa3b8;
  color: #141624;
}

body.admin-cms .admin-card {
  border-color: var(--line) !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  color: #161826;
}
body.admin-cms .admin-card h1 {
  color: #0a0c14;
}
body.admin-cms .admin-card label {
  color: #2c3142;
}

body.admin-cms .preview {
  border-color: var(--line) !important;
}
