:root {
  color-scheme: dark;
  --bg: #061527;
  --bg-deep: #030b16;
  --bg-soft: #0a2038;
  --nav-bg: #030b16;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f7fbff;
  --muted: #b9cee0;
  --cyan: #24d7dc;
  --blue: #168fff;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--nav-bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
}

.header-brand img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.header-nav a {
  text-decoration: none;
}

.nav-button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nav-button:hover,
.nav-button:focus-visible {
  background: rgba(36, 215, 220, 0.12);
  border-color: rgba(36, 215, 220, 0.48);
  color: var(--text);
  transform: translateY(-1px);
}

.section-band {
  position: relative;
  padding: clamp(72px, 10vw, 132px) clamp(18px, 4vw, 56px);
  background: var(--nav-bg);
}

.section-band-soft {
  background: var(--nav-bg);
  border-block: 1px solid var(--line);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  background: var(--nav-bg);
}

.hero.section-band {
  padding-block: clamp(36px, 6vw, 72px);
}

.hero-grid,
.split-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 3.8vw, 3.45rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero-text {
  max-width: 700px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.action-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.button {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #03101f;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  box-shadow: 0 14px 32px rgba(22, 143, 255, 0.22);
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.92rem;
}

.button-hero {
  min-height: 58px;
  padding-inline: 30px;
  font-size: 1.05rem;
}

.whatsapp-button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: block;
  fill: currentColor;
}

.hero-logo-lockup {
  display: grid;
  place-items: center;
}

.brand-logo {
  width: min(340px, 74%);
  border-radius: 22px;
}

.brand-logo-hero {
  width: min(520px, 88vw);
  border-radius: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
  display: grid;
  gap: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.portfolio-slide,
.process-list li,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.feature-card {
  min-height: 210px;
  padding: 22px;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.carousel-track {
  min-height: 360px;
  display: grid;
}

.portfolio-slide {
  grid-area: 1 / 1;
  min-height: 360px;
  padding: clamp(26px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 320ms ease, transform 320ms ease;
  background: linear-gradient(135deg, rgba(36, 215, 220, 0.2), rgba(22, 143, 255, 0.1)), var(--panel);
}

.portfolio-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.portfolio-slide span {
  color: var(--cyan);
  font-weight: 800;
}

.portfolio-copy {
  display: grid;
  align-content: end;
}

.portfolio-slide h3 {
  max-width: 720px;
  margin: 12px 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.portfolio-slide p {
  max-width: 640px;
}

.portfolio-visual {
  min-height: 260px;
  display: grid;
  align-items: center;
}

.demo-site-preview {
  min-height: 260px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #071321;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.demo-site-preview strong,
.demo-site-preview b,
.demo-site-preview span,
.demo-site-preview small {
  color: #071321;
}

.restaurant-landing-preview {
  grid-template-rows: auto 1fr auto;
  background: #fff7ea;
}

.restaurant-nav,
.store-search,
.service-headline,
.course-footer,
.sales-offer-bar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
}

.restaurant-nav span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(116, 66, 28, 0.12);
}

.restaurant-hero-shot {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 12px;
}

.restaurant-hero-shot div {
  min-height: 130px;
  padding: 16px;
  border-radius: 18px;
  background: #f05f3b;
  display: grid;
  align-content: center;
  gap: 8px;
}

.restaurant-hero-shot b {
  font-size: 1.55rem;
}

.restaurant-hero-shot em,
.clinic-portal-preview em,
.sales-copy-block em {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  background: #071321;
  color: #fff;
  font-style: normal;
  font-weight: 800;
  font-size: 0.76rem;
}

.restaurant-hero-shot i {
  border-radius: 18px;
  background: radial-gradient(circle at 35% 30%, #ffd47a 0 20%, transparent 22%), radial-gradient(circle at 70% 62%, #7b2d1f 0 24%, transparent 25%), #2b160f;
}

.restaurant-menu-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.restaurant-menu-strip span,
.store-whatsapp,
.course-module-list span,
.sales-trust-row span {
  padding: 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.clinic-portal-preview {
  grid-template-columns: 112px 1fr;
  background: #eef9fb;
}

.clinic-portal-preview aside {
  padding: 14px;
  border-radius: 16px;
  background: #0d4b5c;
  display: grid;
  align-content: start;
  gap: 12px;
}

.clinic-portal-preview aside strong,
.clinic-portal-preview aside span {
  color: #fff;
}

.clinic-portal-preview aside span {
  padding: 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
}

.clinic-portal-preview section {
  display: grid;
  gap: 10px;
}

.clinic-card,
.clinic-schedule {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.clinic-card {
  min-height: 96px;
  display: grid;
  align-content: center;
}

.clinic-schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.clinic-schedule span {
  padding: 8px 6px;
  border-radius: 9px;
  background: #d8f2f5;
  font-size: 0.72rem;
  text-align: center;
}

.store-catalog-preview {
  background: #fff8fb;
}

.store-search {
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
}

.store-search span {
  color: #6b7280;
  font-size: 0.76rem;
}

.store-banner {
  padding: 13px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7b2d9, #83d7ff);
  color: #071321;
  font-weight: 900;
}

.store-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.store-product-grid article {
  min-height: 104px;
  padding: 9px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  gap: 5px;
}

.store-product-grid i {
  min-height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, #ffe4f1, #d9f2ff);
}

.store-product-grid strong,
.store-product-grid small {
  font-size: 0.72rem;
}

.service-case-preview {
  background: #f4f6f3;
}

.service-headline strong {
  padding: 7px 10px;
  border-radius: 999px;
  background: #1f3a2f;
  color: #fff;
}

.service-before-after {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 12px;
}

.service-before-after div {
  min-height: 150px;
  border-radius: 18px;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #c3c6bd, #eef1ea);
}

.service-before-after div + div {
  background: linear-gradient(135deg, #8fc7a7, #f3f7ef);
}

.service-before-after small,
.service-quote-row span,
.service-quote-row strong {
  padding: 7px 9px;
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.service-quote-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.course-launch-preview {
  background: #f6f0ff;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.course-video-panel {
  padding: 16px;
  border-radius: 18px;
  background: #29134f;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  text-align: center;
}

.course-video-panel span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}

.course-video-panel strong,
.course-video-panel small {
  color: #fff;
}

.course-module-list {
  display: grid;
  gap: 9px;
}

.course-footer {
  grid-column: 1 / -1;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  font-weight: 800;
}

.sales-funnel-preview {
  background: #f7fbff;
  grid-template-rows: auto 1fr auto;
}

.sales-offer-bar {
  padding: 9px 12px;
  border-radius: 14px;
  background: #071321;
  color: #fff;
  font-weight: 900;
}

.sales-copy-block {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #d8ecff, #ffffff);
  display: grid;
  gap: 9px;
  align-content: center;
}

.sales-copy-block strong {
  font-size: 1.24rem;
  line-height: 1.1;
}

.sales-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.carousel-control {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel-strong);
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.carousel-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.carousel-status {
  margin: 0;
  font-size: 0.95rem;
}

.carousel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.carousel-toggle,
.carousel-dot {
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--text);
}

.carousel-toggle {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
}

.process-list {
  list-style: none;
  counter-reset: process;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
}

.process-list li {
  counter-increment: process;
  padding: 22px;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--cyan);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 14px 0 0;
}

.final-cta {
  text-align: center;
}

.final-cta .section-inner {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.final-cta h2 {
  max-width: 860px;
}

.site-footer {
  position: relative;
  padding: 40px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: rgba(3, 11, 22, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.8fr);
  align-items: start;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand p {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-decoration: none;
}

.social-link:hover {
  color: #03101f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
}

.social-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 44px);
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 4px;
  font-size: 0.86rem;
  color: var(--text);
}

.footer-column a {
  width: fit-content;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.45;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--cyan);
}

.legal-main {
  min-height: calc(100vh - 85px);
}

.legal-content {
  display: grid;
  gap: 26px;
  max-width: 860px;
}

.legal-content h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.legal-content .hero-text {
  max-width: 760px;
}

.legal-section {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 920px) {
  .header-nav {
    display: none;
  }

  .hero-grid,
  .split-content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .portfolio-slide {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
  }

  .button-small {
    display: none;
  }

  .section-band {
    padding: 64px 18px;
  }

  .feature-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .carousel {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
  }

  .carousel-control {
    width: 44px;
    height: 44px;
    align-self: end;
  }

  .carousel-track,
  .portfolio-slide {
    min-height: 420px;
  }

  .carousel-footer {
    align-items: flex-start;
  }

  .carousel-actions {
    width: 100%;
    justify-content: space-between;
  }

  .portfolio-visual {
    min-height: 220px;
  }

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

  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
