:root {
  --bg: #0b1120;
  --bg-2: #111a2f;
  --bg-3: #151f38;
  --surface: #ffffff;
  --surface-2: #f5f8ff;
  --surface-3: #eef3fd;
  --text: #111827;
  --text-soft: #5b677d;
  --text-dark-soft: rgba(235, 241, 255, 0.74);
  --line: rgba(17, 24, 39, 0.08);
  --line-strong: rgba(17, 24, 39, 0.14);
  --line-dark: rgba(255, 255, 255, 0.08);
  --primary: #5a6bff;
  --primary-deep: #4052e3;
  --accent: #2ec9a5;
  --accent-2: #9c6bff;
  --shadow-soft: 0 18px 50px -34px rgba(15, 23, 42, 0.16);
  --shadow-card: 0 24px 60px -30px rgba(15, 23, 42, 0.22);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-h: 78px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  min-width: 320px;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.56;
  overflow-x: hidden;
  background: var(--surface-2);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0 0;
  transition: padding-top var(--transition);
}

.site-header.scrolled {
  padding-top: 8px;
}

.header-shell {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border-radius: 22px;
  background: rgba(11, 17, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px -30px rgba(2, 6, 23, 0.5);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: clamp(150px, 15vw, 190px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(235, 241, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #7888ff);
  color: #fff;
  box-shadow: 0 18px 36px -22px rgba(90, 107, 255, 0.5);
}

.btn-primary:hover {
  box-shadow: 0 22px 42px -20px rgba(90, 107, 255, 0.62);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section-light .btn-secondary,
.section-muted .btn-secondary {
  background: rgba(17, 24, 39, 0.04);
  border-color: rgba(17, 24, 39, 0.08);
  color: var(--text);
}

.section-light .btn-secondary:hover,
.section-muted .btn-secondary:hover {
  background: rgba(17, 24, 39, 0.08);
}

.header-cta {
  flex-shrink: 0;
}

.hero {
  position: relative;
  padding: 54px 0 24px;
  background:
    radial-gradient(circle at top left, rgba(90, 107, 255, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(46, 201, 165, 0.12), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 56%, #17213b 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 90%);
  pointer-events: none;
}

.hero-grid,
.hero-noise,
.hero-orb {
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(156, 107, 255, 0.12), transparent 18%),
    radial-gradient(circle at 80% 14%, rgba(90, 107, 255, 0.16), transparent 16%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 34px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d9e3ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  background: rgba(90, 107, 255, 0.08);
  border-color: rgba(90, 107, 255, 0.12);
  color: var(--primary);
}

.hero-copy h1,
.section-head h2,
.service-card h3,
.portfolio-body h3,
.crm-copy h2,
.process-card h3,
.contact-copy h2,
.hero-highlights strong,
.preview-card strong {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

.hero-copy h1 {
  margin-top: 20px;
  max-width: 10ch;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero-lead {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(235, 241, 255, 0.76);
  font-size: clamp(1.04rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
  margin-top: 22px;
}

.hero-highlights article {
  min-height: 94px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-highlights span {
  display: block;
  color: rgba(235, 241, 255, 0.5);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-highlights strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.08;
}

.hero-preview-shell {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(243,247,255,0.98));
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-preview-top {
  display: flex;
  gap: 8px;
  padding: 18px 22px 0;
}

.hero-preview-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.16);
}

.hero-preview-body {
  padding: 20px 22px 22px;
}

.preview-label {
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preview-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.preview-card {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.preview-card p {
  margin-top: 8px;
  color: var(--text-soft);
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.preview-metrics div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.04);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.preview-metrics small {
  display: block;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.preview-metrics span {
  display: block;
  margin-top: 10px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--text);
}

.trust-strip {
  padding: 0 0 26px;
  background: linear-gradient(180deg, #17213b 0%, var(--surface-2) 100%);
}

.trust-shell {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(11, 17, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px -30px rgba(2, 6, 23, 0.4);
}

.trust-copy {
  color: rgba(235, 241, 255, 0.58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.trust-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.section {
  padding: 46px 0;
}

.section-light {
  background: var(--surface-2);
}

.section-muted {
  background: var(--surface-3);
}

.section-shell {
  padding: 58px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.section-shell-dark {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-color: var(--line-dark);
  box-shadow: 0 26px 56px -34px rgba(2, 6, 23, 0.46);
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head h2 {
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-dark .section-head h2,
.crm-copy h2,
.contact-copy h2 {
  color: #fff;
}

.section-head p {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.services-grid,
.portfolio-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-height: 214px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.service-index {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(90, 107, 255, 0.08);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.26rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.service-card p {
  margin-top: 12px;
  color: var(--text-soft);
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.portfolio-visual {
  aspect-ratio: 1.16 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #dde6ff, #f2f6ff);
}

.portfolio-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-bonappetit {
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.2), transparent 22%),
    linear-gradient(135deg, #f08d57, #c85a2e 66%, #8f3716);
}

.visual-dj {
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.16), transparent 22%),
    linear-gradient(135deg, #111b2f, #233663 58%, #576cff);
}

.visual-copy span {
  display: block;
  color: #fff;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.7rem;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.visual-copy small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.portfolio-body h3 {
  font-size: 1.28rem;
  line-height: 1.02;
}

.portfolio-body p {
  flex: 1;
  color: var(--text-soft);
}

.portfolio-body a {
  color: var(--primary);
  font-weight: 800;
}

.portfolio-body a:hover {
  color: var(--primary-deep);
}

.crm-grid,
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 28px;
  align-items: center;
}

.crm-copy h2,
.contact-copy h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.crm-copy p,
.contact-copy p {
  margin-top: 18px;
  color: var(--text-dark-soft);
  font-size: 1.04rem;
}

.crm-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.crm-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(235, 241, 255, 0.82);
}

.crm-points li::before {
  content: '';
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}

.crm-shot-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 56px -32px rgba(2, 6, 23, 0.46);
}

.crm-shot-image {
  display: block;
  width: 100%;
  height: auto;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  min-height: 210px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.process-card span {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(90, 107, 255, 0.08);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 18px;
}

.process-card h3 {
  font-size: 1.2rem;
  line-height: 1.02;
}

.process-card p {
  margin-top: 12px;
  color: var(--text-soft);
}

.section-contact {
  padding: 46px 0 58px;
  background: linear-gradient(180deg, #11182b 0%, #0b1120 100%);
}

.contact-shell {
  padding: 58px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(90, 107, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #101728 0%, #131c31 100%);
  border: 1px solid var(--line-dark);
  box-shadow: 0 26px 60px -34px rgba(2, 6, 23, 0.5);
}

.contact-highlights {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.contact-highlights article {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-highlights strong {
  display: block;
  color: #fff;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1rem;
}

.contact-highlights span {
  display: block;
  margin-top: 6px;
  color: var(--text-dark-soft);
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: #f1f5ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  resize: vertical;
  transition: border-color var(--transition), background var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(90, 107, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(235, 241, 255, 0.42);
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-direct a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.site-footer {
  padding: 26px 0 34px;
  background: #090f1d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  width: clamp(140px, 13vw, 180px);
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(235, 241, 255, 0.76);
  font-weight: 700;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  color: rgba(235, 241, 255, 0.56);
  font-size: 0.92rem;
}

.floating-whatsapp,
.scroll-top {
  position: fixed;
  right: 20px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.floating-whatsapp {
  bottom: 20px;
  background: linear-gradient(135deg, #17a66e, #2ed18a);
  color: #fff;
  font-weight: 900;
}

.scroll-top {
  bottom: 88px;
  border: 0;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-delay {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .header-cta {
    display: none;
  }

  .hero-layout,
  .crm-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 10px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(11, 17, 32, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px -34px rgba(2, 6, 23, 0.52);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-highlights,
  .preview-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-shell {
    min-height: 70px;
    padding-inline: 14px;
  }

  .brand-logo {
    width: min(160px, 42vw);
  }

  .hero {
    padding-top: 40px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4.5rem);
  }

  .section {
    padding: 24px 0;
  }

  .section-shell,
  .contact-shell {
    padding: 30px 18px;
    border-radius: 24px;
  }

  .services-grid,
  .portfolio-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    justify-content: center;
  }
}
