:root {
  --bg: #f3f7fd;
  --bg-soft: #fbfdff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --text: #0f172a;
  --text-soft: #516074;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(37, 99, 235, 0.22);
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --accent-soft: #dbeafe;
  --dark: #0b1220;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

:root[data-theme="dark"] {
  --bg: #061120;
  --bg-soft: #0b1728;
  --surface: rgba(15, 23, 42, 0.78);
  --surface-strong: #111c2f;
  --text: #e5eefc;
  --text-soft: #9fb0c8;
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(96, 165, 250, 0.34);
  --accent: #60a5fa;
  --accent-deep: #93c5fd;
  --accent-soft: rgba(96, 165, 250, 0.14);
  --dark: #dbeafe;
  --shadow: 0 24px 80px rgba(2, 8, 23, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.js-ready .topbar,
body.js-ready .hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
}

body.is-loaded .topbar,
body.is-loaded .hero-copy > * {
  opacity: 1;
  transform: translateY(0);
}

body.is-loaded .topbar {
  transition: opacity 620ms ease, transform 620ms ease;
}

body.is-loaded .hero-copy > * {
  transition: opacity 700ms ease, transform 700ms ease;
}

body.is-loaded .hero-copy > :nth-child(1) {
  transition-delay: 90ms;
}

body.is-loaded .hero-copy > :nth-child(2) {
  transition-delay: 150ms;
}

body.is-loaded .hero-copy > :nth-child(3) {
  transition-delay: 220ms;
}

body.is-loaded .hero-copy > :nth-child(4) {
  transition-delay: 290ms;
}

body.is-loaded .hero-copy > :nth-child(5) {
  transition-delay: 360ms;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 24rem),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 20rem),
    linear-gradient(180deg, #f8fbff 0%, #f4f8ff 42%, #edf4ff 100%);
  line-height: 1.6;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 24rem),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 20rem),
    linear-gradient(180deg, #061120 0%, #081425 42%, #0b1728 100%);
}

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

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 0.6rem;
}

summary:focus-visible {
  border-radius: 0.9rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.8rem;
  background: var(--dark);
  color: #eff6ff;
  font-weight: 800;
  box-shadow: var(--shadow);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

:root[data-theme="dark"] .skip-link {
  background: #eff6ff;
  color: #061120;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
  will-change: opacity, transform;
}

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

.stagger-group > * {
  transition-delay: 0ms;
}

.stagger-group.is-visible > :nth-child(1) {
  transition-delay: 40ms;
}

.stagger-group.is-visible > :nth-child(2) {
  transition-delay: 100ms;
}

.stagger-group.is-visible > :nth-child(3) {
  transition-delay: 160ms;
}

.stagger-group.is-visible > :nth-child(4) {
  transition-delay: 220ms;
}

.stagger-group.is-visible > :nth-child(5) {
  transition-delay: 280ms;
}

.stagger-group.is-visible > :nth-child(6) {
  transition-delay: 340ms;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  width: 100vw;
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  min-height: 5.2rem;
  padding: 0.9rem max(1.35rem, calc((100vw - var(--max-width)) / 2 + 1rem));
  background: #f8fbff;
  backdrop-filter: blur(14px);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

:root[data-theme="dark"] .topbar {
  background: #061120;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  flex-shrink: 0;
  color: var(--accent-deep);
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 4.65rem;
  height: 3rem;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(1rem, 1.9vw, 1.55rem);
}

.nav a {
  color: var(--text-soft);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav a:hover,
.portfolio-card a:hover {
  color: var(--accent-deep);
}

.menu-toggle {
  display: none;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.menu-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(0.38rem) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-0.38rem) rotate(-45deg);
}

:root[data-theme="dark"] .menu-toggle {
  background: rgba(15, 23, 42, 0.94);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.theme-toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 5rem;
  height: 2.8rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

:root[data-theme="dark"] .theme-toggle-track {
  background: rgba(15, 23, 42, 0.94);
}

.theme-toggle-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--accent-deep);
}

.theme-toggle-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle-thumb {
  position: absolute;
  top: 0.3rem;
  left: 0.34rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #dbeafe);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
  transition: transform 220ms ease, background-color 220ms ease;
}

:root[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(2.2rem);
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.34);
}

.mobile-nav {
  display: none;
}

.mobile-nav[hidden] {
  display: none !important;
}

.section {
  padding: 4.25rem 0;
}

.section-tight {
  padding-top: 0.25rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 9.5rem);
  padding-top: 2rem;
}

.hero-copy {
  --hero-content-gap: 6.25rem;
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent-deep);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.01;
}

.hero h1 {
  max-width: 16ch;
  margin: 0 auto var(--hero-content-gap);
  font-size: clamp(2rem, 6.2vw, 4.2rem);
}

.hero h1 span {
  display: inline;
  color: var(--accent-deep);
}

.hero h1 .headline-emphasis {
  display: inline;
  color: var(--accent);
  font-style: italic;
}

.lead,
.section-note,
.intro-card p,
.pricing-summary,
.pricing-why,
.benefit-card p,
.process-card p,
.faq-list p,
.portfolio-card p {
  color: var(--text-soft);
  font-size: 1.03rem;
}

.lead {
  max-width: 46rem;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: var(--hero-content-gap);
  flex-wrap: wrap;
}

.hero-proof-heading {
  margin-top: var(--hero-content-gap);
}

.hero-proof-heading .eyebrow {
  margin-bottom: 0.85rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 48rem;
  margin: 1.15rem auto 0;
}

.hero-proof-item {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

:root[data-theme="dark"] .hero-proof-item {
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 12px 30px rgba(2, 8, 23, 0.24);
}

.hero-proof-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.hero-proof-item span {
  display: block;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-dark {
  background: var(--dark);
  color: #eff6ff;
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.18);
}

:root[data-theme="dark"] .button-dark {
  color: #08101d;
  box-shadow: 0 12px 28px rgba(2, 8, 23, 0.28);
}

.button-light {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
}

:root[data-theme="dark"] .button-light {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
}

.button-light:hover {
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.hero-visual {
  grid-column: 1 / -1;
  max-width: 66rem;
  margin: 2rem auto 0;
}

.device-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
}

.laptop-mockup,
.phone-mockup {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.48)),
    linear-gradient(120deg, rgba(188, 95, 43, 0.16), rgba(23, 21, 19, 0.05));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.laptop-mockup::before,
.phone-mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 55%);
  pointer-events: none;
}

.laptop-mockup {
  width: min(100%, 34rem);
  padding: 1.1rem 1.1rem 0.8rem;
}

.laptop-screen {
  min-height: 22rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, #f8f4ec, #efe7d9);
  border: 1px solid rgba(23, 21, 19, 0.08);
  padding: 1.3rem;
}

.mockup-topbar {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.mockup-topbar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(23, 21, 19, 0.18);
}

.mockup-badge {
  display: inline-flex;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(188, 95, 43, 0.14);
  color: var(--accent-deep);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.mockup-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 0.8rem;
  min-height: 16rem;
}

.mockup-feature,
.mockup-stack div,
.mockup-footer-card {
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(23, 21, 19, 0.08);
}

.mockup-feature {
  min-height: 10rem;
  background:
    radial-gradient(circle at top left, rgba(188, 95, 43, 0.18), transparent 60%),
    linear-gradient(160deg, #fffdf8, #efe3d2);
}

.mockup-stack {
  display: grid;
  gap: 0.8rem;
}

.mockup-footer-card {
  min-height: 5.5rem;
}

.laptop-base {
  width: calc(100% + 1.8rem);
  height: 1rem;
  margin: 0.35rem -0.9rem 0;
  border-radius: 0 0 1.8rem 1.8rem;
  background: linear-gradient(180deg, #d8d1c7, #bbb0a3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.phone-mockup {
  padding: 1rem;
}

.phone-frame {
  width: 100%;
  max-width: 11rem;
  aspect-ratio: 0.52;
  padding: 0.9rem;
  border-radius: 2.2rem;
  background: #141210;
}

.phone-notch {
  width: 38%;
  height: 0.45rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.phone-content {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  height: calc(100% - 1.45rem);
  padding: 0.35rem;
}

.phone-content span {
  display: block;
  height: 3.7rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #f3ece0, #e9decf);
}

.phone-block-hero {
  height: 4.2rem;
}

.phone-content .phone-cta {
  height: 3rem;
  background: linear-gradient(180deg, #bc5f2b, #8a3f1b);
}

.intro-card,
.proof-strip,
.custom-projects,
.final-cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.intro-card {
  padding: 2rem 2.2rem;
  text-align: center;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.proof-item {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

:root[data-theme="dark"] .proof-item {
  background: rgba(15, 23, 42, 0.72);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.05));
  color: var(--accent-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

:root[data-theme="dark"] .icon-badge {
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.16), rgba(96, 165, 250, 0.08));
}

.icon-badge svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-item strong,
.portfolio-card h3,
.benefit-card h3,
.pricing-card h3,
.process-card h3,
.custom-projects h3 {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.proof-item span {
  color: var(--text-soft);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1.75rem;
}

.proof-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr minmax(16rem, 24rem);
  gap: 1.5rem;
  align-items: end;
}

.portfolio-grid,
.benefits-grid,
.pricing-grid,
.process-grid {
  display: grid;
  gap: 1.3rem;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.portfolio-slider {
  position: relative;
}

.portfolio-slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin: -0.35rem 0 1rem;
}

.portfolio-slider-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.portfolio-slider-button:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.22);
}

.portfolio-slider-button:disabled {
  cursor: default;
  opacity: 0.42;
  transform: none;
}

.portfolio-slider-button svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-slider-viewport {
  overflow: hidden;
}

.portfolio-slider .portfolio-grid {
  display: flex;
  gap: 1.3rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 0.1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.portfolio-slider .portfolio-grid::-webkit-scrollbar {
  display: none;
}

.portfolio-slider .portfolio-card {
  flex: 0 0 calc((100% - 2.6rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.portfolio-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.portfolio-slider-dot {
  width: 0.68rem;
  height: 0.68rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.22);
  cursor: pointer;
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.portfolio-slider-dot.is-active {
  width: 1.55rem;
  background: var(--accent);
}

:root[data-theme="dark"] .portfolio-slider-button {
  background: rgba(15, 23, 42, 0.92);
}

.portfolio-card,
.benefit-card,
.pricing-card,
.process-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  padding: 1.5rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    opacity 650ms ease,
    translate 650ms ease;
}

:root[data-theme="dark"] .portfolio-card,
:root[data-theme="dark"] .benefit-card,
:root[data-theme="dark"] .pricing-card,
:root[data-theme="dark"] .process-card,
:root[data-theme="dark"] .faq-list details {
  background: rgba(15, 23, 42, 0.88);
}

.portfolio-card:hover,
.benefit-card:hover,
.pricing-card:hover,
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.18);
}

.card-tag,
.pricing-tier {
  margin-bottom: 0.9rem;
  color: var(--accent-deep);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-card a {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 600;
}

.portfolio-preview {
  display: block;
  margin: -0.35rem -0.35rem 1.15rem;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.portfolio-preview img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  object-position: top center;
  transition: transform 280ms ease;
}

.portfolio-preview-ty img {
  object-fit: contain;
  object-position: top center;
  background: #f8fbff;
}

.portfolio-preview-ola img {
  object-fit: contain;
  object-position: top center;
  background: #f8fbff;
}

.portfolio-preview-greennest img {
  object-fit: contain;
  object-position: top center;
  background: #f8fbff;
}

.portfolio-preview-charles img {
  object-fit: contain;
  object-position: top center;
  background: #f8fbff;
}

:root[data-theme="dark"] .portfolio-preview-ty img,
:root[data-theme="dark"] .portfolio-preview-ola img,
:root[data-theme="dark"] .portfolio-preview-greennest img,
:root[data-theme="dark"] .portfolio-preview-charles img {
  background: #0f172a;
}

.portfolio-card:hover .portfolio-preview img {
  transform: scale(1.02);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.service-pill,
.custom-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

:root[data-theme="dark"] .service-pill,
:root[data-theme="dark"] .custom-tags span {
  background: rgba(15, 23, 42, 0.76);
}

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

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.pricing-card {
  position: relative;
  padding-top: 1.75rem;
}

.pricing-card-featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(219, 234, 254, 0.82));
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 24px 80px rgba(37, 99, 235, 0.12);
}

:root[data-theme="dark"] .pricing-card-featured {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.34));
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #eff6ff;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

:root[data-theme="dark"] .pricing-badge {
  color: #08101d;
}

.pricing-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pricing-card ul {
  padding-left: 1rem;
  color: var(--text-soft);
}

.pricing-card li + li {
  margin-top: 0.55rem;
}

.pricing-why {
  margin-top: 1.2rem;
}

.pricing-card .button {
  width: 100%;
  margin-top: 1.1rem;
}

.custom-projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  justify-items: center;
  margin-top: 1.4rem;
  padding: 1.6rem;
  text-align: center;
}

.custom-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 46rem;
}

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

.process-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent-deep);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details {
  overflow: clip;
}

.faq-list summary + p {
  transition: opacity 260ms ease;
}

.faq-list p {
  margin: 0.9rem 0 0;
}

.final-cta-card {
  padding: 3rem;
  text-align: center;
}

.final-cta h2 {
  max-width: 16ch;
  margin: 0 auto 1.5rem;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem 0 2rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 600;
  color: var(--accent-deep);
}

.site-footer a:hover {
  color: var(--dark);
}

:root[data-theme="dark"] .site-footer a:hover {
  color: #dbeafe;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: #1c8f4a;
  color: #f7fff9;
  box-shadow: 0 16px 40px rgba(28, 143, 74, 0.28);
  font-weight: 700;
}

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

.chatbot-shell {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 55;
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.chatbot-toggle-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35);
  animation: chatbotPulse 2s infinite;
}

.chatbot-panel {
  position: absolute;
  left: 0;
  bottom: 4.1rem;
  width: min(24rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--surface-strong);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.chatbot-shell.is-open .chatbot-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.chatbot-kicker {
  margin: 0 0 0.35rem;
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.chatbot-close {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-messages {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.chatbot-message {
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.chatbot-message p {
  margin: 0;
}

.chatbot-message-bot {
  background: rgba(37, 99, 235, 0.08);
}

.chatbot-message-user {
  margin-left: 2rem;
  background: var(--dark);
  color: #eff6ff;
}

.chatbot-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chatbot-chip {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.chatbot-chip:hover {
  border-color: rgba(37, 99, 235, 0.24);
}

.chatbot-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.chatbot-footer p {
  margin: 0 0 0.75rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.chatbot-cta {
  width: 100%;
}

:root[data-theme="dark"] .chatbot-toggle,
:root[data-theme="dark"] .chatbot-panel {
  background: #0b1728;
}

:root[data-theme="dark"] .chatbot-message-bot {
  background: rgba(96, 165, 250, 0.12);
}

:root[data-theme="dark"] .chatbot-chip {
  background: rgba(15, 23, 42, 0.92);
}

@keyframes chatbotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  body.js-ready .topbar,
  body.js-ready .hero-copy > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .desktop-cta,
  .nav {
    display: none;
  }

  .topbar {
    gap: 0.8rem;
    padding: 0.8rem 1rem;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .theme-toggle-track {
    width: 4.35rem;
    height: 2.55rem;
  }

  .theme-toggle-thumb {
    width: 1.95rem;
    height: 1.95rem;
  }

  :root[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(1.8rem);
  }

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

  .mobile-nav {
    position: fixed;
    top: 5.2rem;
    left: 0;
    right: 0;
    z-index: 39;
    display: grid;
    gap: 0.5rem;
    width: 100vw;
    max-height: calc(100vh - 5.2rem);
    margin-top: 0;
    padding: 0.75rem 1rem 1rem;
    overflow-y: auto;
    background: #f8fbff;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.6rem);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  :root[data-theme="dark"] .mobile-nav {
    background: #061120;
  }

  .mobile-nav a {
    font-weight: 700;
    color: var(--text);
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
    margin-top: 0.35rem;
  }

  .mobile-nav .button {
    min-height: 3.5rem;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: linear-gradient(180deg, #0f172a, #091122);
    color: #f8fbff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
  }

  .mobile-nav .button:hover {
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
  }

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

  :root[data-theme="dark"] .mobile-nav .button {
    border-color: rgba(96, 165, 250, 0.2);
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    color: #eff6ff;
    box-shadow: 0 16px 34px rgba(2, 8, 23, 0.34);
  }

  .hero {
    min-height: auto;
    padding-top: 1.5rem;
    align-items: flex-start;
  }

  .hero-copy {
    max-width: 44rem;
  }

  .hero-proof,
  .proof-strip,
  .split-heading,
  .benefits-grid,
  .pricing-grid,
  .process-grid,
  .custom-projects {
    grid-template-columns: 1fr;
  }

  .portfolio-slider .portfolio-card {
    flex-basis: calc((100% - 1.3rem) / 2);
  }

  .custom-tags {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 1.8rem), var(--max-width));
  }

  .topbar {
    top: 0;
    min-height: 4.5rem;
    padding: 0.65rem 0.85rem;
  }

  .mobile-nav {
    top: 4.5rem;
    max-height: calc(100vh - 4.5rem);
  }

  .brand {
    gap: 0.3rem;
  }

  .brand-logo {
    width: 4.1rem;
    height: 2.65rem;
  }

  .theme-toggle-track {
    width: 4.6rem;
    height: 2.55rem;
  }

  .theme-toggle-thumb {
    width: 1.9rem;
    height: 1.9rem;
  }

  :root[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(2rem);
  }

  .section {
    padding: 3.8rem 0;
  }

  .hero.section {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 3.6rem;
  }

  .hero-copy {
    --hero-content-gap: 5.8rem;
    max-width: 38rem;
  }

  .hero .eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    max-width: 15.5ch;
    font-size: clamp(2.35rem, 8.8vw, 3.45rem);
    line-height: 1.03;
  }

  .lead {
    max-width: 33rem;
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-proof {
    margin-top: 1.25rem;
  }

  .portfolio-slider-controls {
    justify-content: flex-start;
  }

  .portfolio-slider .portfolio-card {
    flex-basis: min(86%, 22rem);
  }

  .site-footer {
    align-items: center;
    padding-bottom: 1rem;
  }

  .hero-visual {
    margin-top: 1.5rem;
  }

  .device-stage {
    flex-direction: column;
    align-items: center;
  }

  .laptop-mockup {
    width: 100%;
  }

  .laptop-screen {
    min-height: 18rem;
  }

  .mockup-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .phone-mockup {
    align-self: center;
  }

  .intro-card,
  .portfolio-card,
  .benefit-card,
  .pricing-card,
  .process-card,
  .faq-list details,
  .final-cta-card {
    padding: 1.25rem;
  }

  .floating-whatsapp {
    left: 0.75rem;
    right: auto;
    bottom: 0.75rem;
    padding: 0.75rem 0.95rem;
    font-size: 0.82rem;
  }

  .chatbot-shell {
    left: auto;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .chatbot-toggle {
    min-height: 2.8rem;
    max-width: 9.6rem;
    padding: 0.72rem 0.85rem;
    gap: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.1;
  }

  .chatbot-panel {
    left: auto;
    right: 0;
    bottom: 3.6rem;
    width: min(21rem, calc(100vw - 1.5rem));
    max-height: calc(100vh - 7.5rem);
    overflow-y: auto;
  }
}

@media (max-width: 430px) {
  .site-shell {
    width: min(calc(100% - 1.65rem), var(--max-width));
  }

  .topbar {
    min-height: 4.15rem;
    padding: 0.55rem 0.7rem;
  }

  .mobile-nav {
    top: 4.15rem;
    max-height: calc(100vh - 4.15rem);
  }

  .brand-logo {
    width: 3.75rem;
    height: 2.45rem;
  }

  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .theme-toggle-track {
    width: 4.25rem;
    height: 2.42rem;
  }

  .theme-toggle-thumb {
    width: 1.78rem;
    height: 1.78rem;
  }

  .hero.section {
    padding-top: 0.6rem;
    padding-bottom: 3.25rem;
  }

  .hero-copy {
    --hero-content-gap: 5.25rem;
    max-width: 24rem;
  }

  .hero h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 8.8vw, 2.35rem);
    line-height: 1.08;
  }

  .lead {
    max-width: 22.5rem;
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .button {
    min-height: 3rem;
    padding: 0.78rem 1.05rem;
    font-size: 0.88rem;
  }

  .portfolio-slider-controls {
    margin-top: -0.15rem;
  }

  .portfolio-slider-button {
    width: 2.75rem;
    height: 2.75rem;
  }

  .portfolio-preview img {
    height: 15rem;
  }

  .floating-whatsapp,
  .chatbot-shell {
    bottom: max(0.65rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  .hero h1 {
    max-width: 16ch;
    font-size: 1.78rem;
  }

  .lead {
    font-size: 0.9rem;
  }

  .hero-actions {
    gap: 0.55rem;
  }

  .button {
    padding-inline: 0.9rem;
    font-size: 0.84rem;
  }

  .floating-whatsapp {
    padding: 0.68rem 0.8rem;
    font-size: 0.76rem;
  }

  .chatbot-toggle {
    max-width: 8.5rem;
    padding-inline: 0.72rem;
    font-size: 0.76rem;
  }

  .portfolio-slider .portfolio-card {
    flex-basis: 88%;
  }

  .portfolio-preview img {
    height: 13.5rem;
  }
}
