:root {
  color-scheme: dark light;
  --bg: #000000;
  --bg-alt: #0f0f0f;
  --bg-grad-start: #000000;
  --bg-grad-mid: #0a0a0a;
  --bg-grad-end: #000000;
  --grid-line: rgba(255, 255, 255, 0.03);
  --surface: rgba(25, 25, 25, 0.84);
  --surface-strong: #1a1a1a;
  --border: rgba(128, 128, 128, 0.14);
  --text: #ffffff;
  --muted: #b8b8b8;
  --accent: #9a9a9a;
  --accent-strong: #1a1a1a;
  --accent-soft: rgba(51, 51, 51, 0.14);
  --warning: #b3b3b3;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
  --header-bg: rgba(6, 16, 22, 0.7);
  --header-border: rgba(183, 208, 218, 0.08);
  --toggle-bg: rgba(255, 255, 255, 0.03);
  --toggle-border: var(--border);
  --toggle-color: var(--text);
  --toggle-bg-hover: rgba(255, 255, 255, 0.08);
  --focus-ring: rgba(255, 255, 255, 0.75);
  --card-1: linear-gradient(180deg, rgba(26, 26, 26, 0.92), rgba(15, 15, 15, 0.94));
  --card-2: linear-gradient(180deg, rgba(26, 26, 26, 0.96), rgba(10, 10, 10, 0.96));
  --card-3: linear-gradient(160deg, rgba(26, 26, 26, 0.96), rgba(15, 15, 15, 0.96));
  --panel-highlight-bg: linear-gradient(160deg, rgba(51, 51, 51, 0.2), rgba(26, 26, 26, 0.96));
  --panel-accent-bg: linear-gradient(180deg, rgba(77, 77, 77, 0.1), rgba(26, 26, 26, 0.94));
  --input-bg: rgba(26, 26, 26, 0.9);
  --input-bg-focus: rgba(38, 38, 38, 0.95);
  --input-border: rgba(77, 77, 77, 0.5);
  --input-border-focus: rgba(128, 128, 128, 0.8);
  --input-focus-shadow: 0 0 0 4px rgba(128, 128, 128, 0.2);
  --mobile-nav-bg: rgba(8, 17, 22, 0.96);
  --secondary-border: rgba(183, 208, 218, 0.18);
  --secondary-bg: rgba(255, 255, 255, 0.02);
  --project-cta-bg: rgba(255, 255, 255, 0.04);
  --project-cta-bg-hover: rgba(255, 255, 255, 0.08);
  --project-cta-border: rgba(128, 128, 128, 0.38);
  --project-cta-border-hover: rgba(255, 255, 255, 0.5);
  --carousel-nav-bg: rgba(26, 26, 26, 0.8);
  --carousel-nav-bg-hover: rgba(51, 51, 51, 0.9);
  --carousel-nav-border-hover: rgba(128, 128, 128, 0.3);
  --whatsapp: #25d366;
  --whatsapp-soft: rgba(37, 211, 102, 0.14);
  --ambient-node: rgba(255, 255, 255, 0.64);
  --ambient-link: rgba(255, 255, 255, 0.22);
  --ambient-surface: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-grad-start) 0%, var(--bg-grad-mid) 50%, var(--bg-grad-end) 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  transition: background 0.35s ease, color 0.35s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
  opacity: 0.25;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: transparent;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 0.15rem;
}

.brand-text strong,
.eyebrow,
.section-label,
.project-tag,
.channel-card span,
.panel-card span,
.filter-button {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.brand-text small,
.section-label,
.eyebrow,
.service-card,
.project-card,
.channel-card {
  border-radius: var(--radius-xl);
}

.service-card {
  border: 1px solid var(--border);
  background: var(--card-2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--text);
}

.theme-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--toggle-border);
  border-radius: 14px;
  background: var(--toggle-bg);
  color: var(--toggle-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover {
  background: var(--toggle-bg-hover);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.login-button {
  min-height: 48px;
  padding: 0 0.95rem;
  border: 1px solid var(--toggle-border);
  border-radius: 14px;
  background: var(--toggle-bg);
  color: var(--toggle-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.login-button:hover {
  background: var(--toggle-bg-hover);
  transform: translateY(-1px);
}

.login-button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.links-button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--toggle-border);
  border-radius: 14px;
  background: var(--toggle-bg);
  color: var(--toggle-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.links-button:hover {
  background: var(--toggle-bg-hover);
  transform: translateY(-1px);
}

.links-button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.links-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-button svg {
  width: 22px;
  height: 22px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-button span {
  font-size: 0.92rem;
}

.theme-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-moon {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.backdrop {
  position: fixed;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.backdrop-one {
  width: 280px;
  height: 280px;
  right: -60px;
  top: 140px;
  background: rgba(128, 128, 128, 0.06);
}

.backdrop-two {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: 10%;
  background: rgba(128, 128, 128, 0.04);
}

.ambient-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.9;
}

.ambient-item {
  position: absolute;
  --ambient-x: 0px;
  --ambient-y: 0px;
  --ambient-tilt: 0deg;
  transform: translate3d(var(--ambient-x), var(--ambient-y), 0) rotate(var(--ambient-tilt));
  will-change: transform;
  transition: opacity 0.35s ease;
  animation: ambientFloat 10s ease-in-out infinite;
  z-index: 2;
}

.ambient-line {
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 100%);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.08);
  opacity: 0.58;
}

.ambient-block {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(3px);
  opacity: 0.45;
}

.ambient-line-a {
  top: 11%;
  left: -10%;
  width: min(56vw, 720px);
  --ambient-tilt: -14deg;
  animation-delay: -2s;
}

.ambient-line-b {
  top: 46%;
  right: -20%;
  width: min(64vw, 920px);
  --ambient-tilt: 12deg;
  animation-delay: -5.2s;
}

.ambient-line-c {
  bottom: 8%;
  left: 8%;
  width: min(42vw, 560px);
  --ambient-tilt: -9deg;
  animation-delay: -1s;
}

.ambient-block-a {
  top: 20%;
  right: 10%;
  width: clamp(120px, 16vw, 220px);
  height: clamp(100px, 14vw, 190px);
  --ambient-tilt: 18deg;
  animation-delay: -3.5s;
}

.ambient-block-b {
  top: 58%;
  left: 6%;
  width: clamp(100px, 13vw, 180px);
  height: clamp(90px, 12vw, 160px);
  --ambient-tilt: -11deg;
  animation-delay: -6s;
}

.ambient-block-c {
  bottom: 10%;
  right: 18%;
  width: clamp(90px, 12vw, 150px);
  height: clamp(90px, 12vw, 150px);
  --ambient-tilt: 8deg;
  animation-delay: -8.2s;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

@keyframes ambientFloat {
  0%,
  100% {
    filter: blur(0);
  }

  50% {
    filter: blur(0.25px);
  }
}

.hero {
  padding-top: 4rem;
}

.hero-grid,
.section-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.hero-copy h1,
.section-heading h2,
.section-grid h2,
.contact-grid h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 0.96;
  margin: 0;
}

.hero-copy h1.is-typewriter::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.88em;
  margin-left: 0.08em;
  background: currentColor;
  vertical-align: -0.08em;
  animation: typeCaretBlink 0.8s steps(1, end) infinite;
}

@keyframes typeCaretBlink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1.is-typewriter::after {
    animation: none;
  }
}

.hero-copy p,
.contact-copy,
.content-card p,
.service-card p,
.project-card p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.eyebrow,
.section-label {
  color: var(--accent);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: #333333;
  color: #ffffff;
  border-color: #333333;
}

.button-secondary {
  border-color: var(--secondary-border);
  background: var(--secondary-bg);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.hero-stats li,
.content-card,
.service-card,
.project-card,
.panel-card,
.contact-form,
.channel-card {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-stats li {
  padding: 1rem 1.15rem;
  border-radius: 18px;
}

.hero-stats strong,
.panel-card strong,
.service-card h3,
.project-card h3,
.channel-card strong,
.footer-inner strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.65rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(18,18,18,0.99), rgba(10,10,10,0.98));
  box-shadow: 0 18px 48px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.28) inset;
  transition: transform 0.28s cubic-bezier(.22,.9,.34,1), box-shadow 0.28s ease, border-color 0.28s ease, opacity 0.28s ease;
  opacity: 0;
  transform: translateY(10px) scale(.998);
  animation: cardIn 560ms cubic-bezier(.22,.9,.34,1) forwards;
}

.panel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.64), 0 4px 14px rgba(0,0,0,0.28) inset;
  border-color: rgba(255,255,255,0.06);
}

.panel-highlight {
  background: linear-gradient(180deg, rgba(34,34,34,0.995), rgba(18,18,18,0.98));
  border: 1px solid rgba(37,211,102,0.08);
}

.accent-card {
  background: linear-gradient(180deg, rgba(22,22,22,0.99), rgba(12,12,12,0.98));
  border: 1px solid rgba(255,255,255,0.04);
}

.panel-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.panel-card span {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.45rem;
}

.panel-card strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.075rem;
  color: var(--text);
}

.panel-card p,
.panel-card li {
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  font-weight: 500;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.998);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel-card {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

.project-count-line {
  margin: 1rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.section-grid h2,
.contact-grid h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  max-width: 12ch;
}

.content-card {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(180deg, rgba(14,14,14,0.98), rgba(8,8,8,0.98));
  box-shadow: 0 22px 60px rgba(0,0,0,0.56);
}

.google-panel {
  padding: 2rem;
  border: 1px solid rgba(128, 128, 128, 0.24);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.google-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.google-panel h2 {
  max-width: none;
  margin-bottom: 0.7rem;
}

.google-panel-copy,
.google-subtitle {
  color: var(--muted);
}

.google-panel-copy {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.google-panel-link {
  flex: 0 0 auto;
  min-width: 160px;
}

.google-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.google-metric-card,
.google-review-card {
  border: 1px solid rgba(128, 128, 128, 0.18);
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.84);
}

.google-metric-card {
  padding: 1rem 1.05rem;
  min-height: 102px;
  display: grid;
  align-content: space-between;
}

.google-metric-card span,
.google-review-profile small {
  color: var(--muted);
}

.google-metric-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  color: #e4c07f;
}

.google-metric-card:nth-child(3) strong {
  color: var(--text);
}

.google-subtitle {
  margin: 0 0 1.15rem;
  font-size: 1rem;
}

.google-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.google-review-card {
  padding: 1.1rem;
  min-height: 224px;
}

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

.google-review-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.google-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(228, 192, 127, 0.22), rgba(228, 192, 127, 0.1));
  border: 1px solid rgba(228, 192, 127, 0.28);
  color: #e4c07f;
  font-size: 0.72rem;
  font-weight: 800;
}

.google-avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(228, 192, 127, 0.28);
}

.google-review-profile strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.google-stars {
  color: #e4c07f;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  white-space: nowrap;
}

.google-review-card p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.google-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.services-grid,
.projects-grid,
.contact-channels {
  display: grid;
  gap: 1rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 2rem;
  margin-top: 2rem;
}

/* Ensure grid items stretch to equal height */
.services-grid > .service-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

/* Make content area grow so all cards match height */
.service-card > :not(.plan-header) {
  flex: 1 1 auto;
}

.service-card,
.project-card,
.channel-card {
  border-radius: var(--radius-xl);
}

.service-card {
  border: 1px solid rgba(255,255,255,0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 240px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.service-card h3,
.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

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

.plan-price {
  display: inline-grid;
  gap: 0.15rem;
  justify-items: end;
  text-align: right;
}

.plan-price-label {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.plan-price-amount {
  display: inline-block;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 0.48rem 0.8rem;
  border-radius: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--whatsapp);
  border: 1px solid rgba(37,211,102,0.12);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.08);
}

/* WhatsApp CTA */
.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.85rem;
}

.button-whatsapp {
  background: linear-gradient(90deg, var(--whatsapp), #00b86b);
  color: #07220a;
  border: none;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(37,211,102,0.12);
}

@media (max-width: 980px) {
  .services-cta {
    margin-top: 1rem;
  }
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(128, 128, 128, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* Marketing Section Styles */
.marketing-intro {
  max-width: 48ch;
  margin: 2rem 0;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.marketing-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.marketing-card {
  border: 1px solid var(--border);
  background: var(--card-2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.marketing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(128, 128, 128, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.marketing-card.highlighted {
  background: var(--panel-highlight-bg);
  border-color: rgba(128, 128, 128, 0.24);
}

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

.plan-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
}

.plan-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 2rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.plan-period {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.25rem;
}

.plan-header-left {
  display: grid;
  gap: 0.45rem;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.6rem;
  background: rgba(77, 77, 77, 0.12);
  border: 1px solid rgba(128, 128, 128, 0.14);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #10b981;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.8rem;
}

.plan-features li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  line-height: 1.6;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.plan-features strong {
  color: var(--text);
  font-weight: 600;
}

.plan-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(128, 128, 128, 0.08);
}

.plan-footer .button {
  width: 100%;
}

/* Monthly Subscription Section Styles */
.monthly-section {
  position: relative;
}

.monthly-intro {
  max-width: 60ch;
  margin: 2rem 0;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.monthly-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.monthly-card {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: calc((100% - 2rem) / 2);
}

.monthly-plan-header {
  align-items: center;
}

.monthly-subtitle {
  margin: 0.5rem 0 0;
  max-width: 32ch;
  color: var(--muted);
  line-height: 1.6;
}

.projects-section {
  position: relative;
}

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

.project-card {
  min-height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  background: transparent;
  display: block;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(128, 128, 128, 0.28);
}

.project-card.is-hidden {
  display: none;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: #666666;
  background: rgba(77, 77, 77, 0.14);
}

.project-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.process-heading {
  align-items: end;
}

.process-heading h2 {
  max-width: none;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
}

.process-intro {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.dev-process-section {
  --process-scroll-length: 470vh;
  padding: 0;
}

.dev-process-scroll-space {
  min-height: var(--process-scroll-length);
}

.dev-process-pin {
  position: sticky;
  top: 82px;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  padding: 2.4rem 0;
}

.dev-process-pin .container {
  width: min(100% - 2rem, var(--container));
}

.process-layout {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(290px, 0.78fr);
  gap: 1rem 1.35rem;
  align-items: start;
}

.process-track {
  position: relative;
  min-height: 100%;
}

.process-line,
.process-progress {
  position: absolute;
  left: 20px;
  width: 4px;
  border-radius: 999px;
}

.process-line {
  top: 1.45rem;
  bottom: 1.45rem;
  background: rgba(128, 128, 128, 0.2);
}

.process-progress {
  top: 1.45rem;
  height: var(--process-progress, 0%);
  background: linear-gradient(180deg, #6b7280, #a3a3a3);
  transition: height 0.35s ease;
}

.process-steps {
  display: grid;
  gap: 0.95rem;
}

.process-step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 0.9rem;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 1.15rem;
  cursor: pointer;
  opacity: 0.65;
  transform: translateY(10px) scale(0.985);
  transition: transform 0.26s ease, opacity 0.26s ease, border-color 0.26s ease, background 0.26s ease;
}

.process-step h3 {
  margin: 0;
  font-size: 1.25rem;
  font-family: "Space Grotesk", sans-serif;
}

.process-step p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.step-marker {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  border: 1px solid rgba(128, 128, 128, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.process-step.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: rgba(128, 128, 128, 0.42);
  background: linear-gradient(165deg, rgba(64, 64, 64, 0.2), rgba(15, 15, 15, 0.95));
}

.process-step.is-active .step-marker {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.process-step:hover {
  opacity: 0.95;
  border-color: rgba(128, 128, 128, 0.34);
  transform: translateY(-2px);
}

.process-visual {
  position: sticky;
  top: 104px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.process-visual-frame {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(128, 128, 128, 0.2), transparent 55%),
    linear-gradient(145deg, rgba(17, 17, 17, 0.88), rgba(4, 4, 4, 0.96));
}

.process-visual-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.process-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease, opacity 0.35s ease;
}

.process-visual.is-swapping .process-visual-frame img {
  opacity: 0.85;
  transform: scale(1.04);
}

.process-visual-copy {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem;
}

.process-visual-copy span {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
}

.process-visual-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  line-height: 1.1;
}

.process-visual-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

body[data-theme="light"] .process-progress {
  background: linear-gradient(180deg, #111111, #4b5563);
}

body[data-theme="light"] .process-step.is-active {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.06), rgba(255, 255, 255, 0.98));
}

body[data-theme="light"] .step-marker {
  background: rgba(15, 23, 42, 0.05);
}

.build-scroll-section {
  --build-scroll-length: 420vh;
  --build-pin-offset: 82px;
  padding: 0;
}

.build-scroll-space {
  min-height: var(--build-scroll-length);
}

.build-scroll-pin {
  position: sticky;
  top: var(--build-pin-offset);
  min-height: calc(100vh - var(--build-pin-offset));
  display: flex;
  align-items: center;
  padding: 2.2rem 0;
}

.build-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  align-items: stretch;
}

.build-copy {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 1.35rem;
  display: grid;
  align-content: start;
  gap: 0.95rem;
}

.build-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
}

.build-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.build-steps {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.build-step {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  padding: 0.72rem 0.85rem;
  font-weight: 600;
  transition: transform 0.24s ease, border-color 0.24s ease, color 0.24s ease, background 0.24s ease;
}

.build-step.is-active {
  color: var(--text);
  border-color: rgba(128, 128, 128, 0.42);
  background: rgba(128, 128, 128, 0.1);
  transform: translateX(4px);
}

.build-stage {
  --cursor-x: 14%;
  --cursor-y: 18%;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
}

.build-toolbar {
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 0.82rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.build-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.build-url {
  margin-left: 0.2rem;
  color: var(--muted);
  font-size: 0.79rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.build-chip {
  border: 1px solid rgba(128, 128, 128, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.build-canvas {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 1rem;
  overflow: hidden;
  background: radial-gradient(circle at 12% 0%, rgba(128, 128, 128, 0.22), transparent 44%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.92), rgba(11, 11, 11, 0.98));
}

.mock-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
}

.mock-topbar,
.mock-hero,
.mock-cards,
.mock-footer {
  position: relative;
  z-index: 1;
  transition: opacity 0.34s ease, transform 0.34s ease, border-color 0.34s ease, background 0.34s ease;
}

.mock-topbar {
  height: 42px;
  border: 1px solid rgba(128, 128, 128, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.8rem;
  opacity: 0.26;
  transform: translateY(-10px);
}

.mock-topbar span {
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.mock-hero {
  margin-top: 0.9rem;
  border: 1px solid rgba(128, 128, 128, 0.28);
  border-radius: 16px;
  padding: 0.9rem;
  display: grid;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
  opacity: 0.26;
  transform: translateY(10px);
}

.mock-title,
.mock-line,
.mock-button {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.34);
}

.mock-title {
  width: 68%;
  height: 16px;
}

.mock-line {
  width: 90%;
  height: 10px;
}

.mock-line.short {
  width: 62%;
}

.mock-button {
  width: 34%;
  height: 34px;
  margin-top: 0.25rem;
}

.mock-cards {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.mock-card {
  min-height: 108px;
  border: 1px solid rgba(128, 128, 128, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  opacity: 0.22;
  transform: translateY(10px);
  transition: inherit;
}

.mock-footer {
  margin-top: 0.9rem;
  height: 18px;
  width: 44%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  opacity: 0.18;
}

.build-cursor {
  position: absolute;
  width: 22px;
  height: 22px;
  left: var(--cursor-x);
  top: var(--cursor-y);
  z-index: 5;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 0.22s ease, top 0.22s ease;
}

.build-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.build-cursor::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: -6px;
  right: -5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.build-status {
  border-top: 1px solid var(--border);
  padding: 0.95rem 1rem 1.05rem;
  display: grid;
  gap: 0.4rem;
  background: var(--card-1);
}

.build-status strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.14rem;
}

.build-status p {
  margin: 0;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.build-status p {
  line-height: 1.6;
}

.build-stage[data-build-stage="1"] .mock-topbar,
.build-stage[data-build-stage="2"] .mock-topbar,
.build-stage[data-build-stage="3"] .mock-topbar,
.build-stage[data-build-stage="4"] .mock-topbar,
.build-stage[data-build-stage="5"] .mock-topbar {
  opacity: 1;
  transform: translateY(0);
}

.build-stage[data-build-stage="2"] .mock-hero,
.build-stage[data-build-stage="3"] .mock-hero,
.build-stage[data-build-stage="4"] .mock-hero,
.build-stage[data-build-stage="5"] .mock-hero {
  opacity: 1;
  transform: translateY(0);
}

.build-stage[data-build-stage="3"] .mock-card,
.build-stage[data-build-stage="4"] .mock-card,
.build-stage[data-build-stage="5"] .mock-card {
  opacity: 1;
  transform: translateY(0);
}

.build-stage[data-build-stage="4"] .mock-button,
.build-stage[data-build-stage="5"] .mock-button {
  background: linear-gradient(90deg, #666666, #a3a3a3);
}

.build-stage[data-build-stage="4"] .mock-footer,
.build-stage[data-build-stage="5"] .mock-footer {
  opacity: 0.78;
}

.build-stage[data-build-stage="5"] .build-chip {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}

body[data-theme="light"] .build-chip,
body[data-theme="light"] .build-dot,
body[data-theme="light"] .build-cursor::before,
body[data-theme="light"] .build-cursor::after {
  border-color: #111111;
  color: #111111;
}

body[data-theme="light"] .build-dot,
body[data-theme="light"] .build-cursor::after {
  background: #111111;
}

body[data-theme="light"] .build-cursor::before {
  background: rgba(17, 17, 17, 0.08);
}

body[data-theme="light"] .build-canvas {
  background: radial-gradient(circle at 14% 0%, rgba(15, 23, 42, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 251, 0.98));
}

body[data-theme="light"] .mock-grid {
  background-image: linear-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px);
}

body[data-theme="light"] .mock-topbar,
body[data-theme="light"] .mock-hero,
body[data-theme="light"] .mock-card {
  border-color: rgba(15, 23, 42, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

body[data-theme="light"] .mock-topbar span,
body[data-theme="light"] .mock-title,
body[data-theme="light"] .mock-line,
body[data-theme="light"] .mock-button,
body[data-theme="light"] .mock-footer {
  background: rgba(15, 23, 42, 0.24);
}

.faq-section .section-heading h2 {
  max-width: none;
}

.faq-category {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 1.4rem;
}

.faq-category h3 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 0; /* padding moved to summary and content for accurate height calculations */
  overflow: hidden;
  will-change: height, opacity, transform;
  transition: height 380ms cubic-bezier(.22,.9,.34,1), box-shadow 260ms ease, border-color 260ms ease;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
}

.faq-item p {
  margin: 0;
  padding: 0.75rem 1rem 1rem 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  user-select: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  font-weight: 700;
  position: relative;
  padding: 1rem 2.6rem 1rem 1rem; /* generous padding so the clickable area is large */
  font-size: 1.04rem;
  line-height: 1.18;
  min-height: 52px;
}

.faq-item summary::before {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat center;
  background-size: contain;
  transition: transform 0.32s cubic-bezier(.22,.9,.34,1), opacity 180ms ease;
  opacity: 0.7;
}

.faq-item[open] summary::before {
  transform: rotate(180deg);
  opacity: 1;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(37,211,102,0.15);
  outline-offset: 4px;
  border-radius: 10px;
}

.faq-item[open] summary {
  color: var(--accent);
  margin-bottom: 0; /* keep spacing controlled by content padding */
}

.faq-item[open] {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.faq-item p {
  margin: 0.75rem 0 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 320ms ease, transform 320ms ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 600px;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-item p {
    transition: none !important;
    animation: none !important;
  }
}

.filter-button {
  border-radius: 999px;
  border: 1px solid rgba(183, 208, 218, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 0.8rem 1rem;
}

.filter-button.is-active {
  color: var(--text);
  border-color: rgba(128, 128, 128, 0.4);
  background: rgba(77, 77, 77, 0.12);
}

.contact-grid {
  align-items: stretch;
}

.contact-channels {
  margin-top: 1.5rem;
}
.contact-channels {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.channel-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--card-3);
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  min-height: 64px;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
  justify-content: center;
}

.channel-card span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.channel-card strong {
  font-size: 1.05rem;
  line-height: 1.1;
}

@media (max-width: 760px) {
  .contact-channels {
    gap: 0.8rem;
  }
  .channel-card {
    padding: 0.72rem 1rem;
    min-height: 56px;
  }
}

.contact-form {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.5rem;
}

label span {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--input-border);
  border-radius: 16px;
  background: var(--input-bg);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--input-border-focus);
  box-shadow: var(--input-focus-shadow);
  background: var(--input-bg-focus);
}

textarea {
  resize: vertical;
}

select option {
  background: var(--surface-strong);
  color: var(--text);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

#form-feedback {
  min-height: 1.2em;
  margin: 0;
  color: var(--warning);
}

.site-footer {
  border-top: 1px solid rgba(183, 208, 218, 0.08);
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
}

.footer-inner a {
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  transition: all 0.25s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.social-link:hover svg {
  transform: scale(1.08);
}

.whatsapp-link:hover {
  color: var(--whatsapp);
  border-color: rgba(37, 211, 102, 0.42);
  background: var(--whatsapp-soft);
}

body[data-theme="light"] .social-link {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.16);
}

body[data-theme="light"] .social-link:hover {
  background: #f8fafc;
  border-color: #111111;
  color: #111111;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.75s ease, transform 0.75s ease, filter 0.75s ease;
  will-change: opacity, transform, filter;
}

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

body[data-theme="light"] {
  color-scheme: light;
  --bg: #f8fafc;
  --bg-alt: #edf2f7;
  --bg-grad-start: #ffffff;
  --bg-grad-mid: #f3f6fb;
  --bg-grad-end: #ffffff;
  --grid-line: rgba(17, 24, 39, 0.06);
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --border: rgba(15, 23, 42, 0.16);
  --text: #111111;
  --muted: #4b5563;
  --accent: #1f2937;
  --accent-strong: #0f172a;
  --accent-soft: rgba(30, 64, 175, 0.12);
  --warning: #1d4ed8;
  --shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  --header-bg: rgba(255, 255, 255, 0.82);
  --header-border: rgba(15, 23, 42, 0.1);
  --toggle-bg: rgba(248, 250, 252, 0.88);
  --toggle-border: rgba(15, 23, 42, 0.2);
  --toggle-color: #111111;
  --toggle-bg-hover: #e2e8f0;
  --focus-ring: rgba(15, 23, 42, 0.7);
  --card-1: linear-gradient(180deg, #ffffff, #f5f8ff);
  --card-2: linear-gradient(180deg, #ffffff, #f4f7fc);
  --card-3: linear-gradient(160deg, #ffffff, #f5f8ff);
  --panel-highlight-bg: linear-gradient(160deg, #ffffff, #eef4ff);
  --panel-accent-bg: linear-gradient(180deg, #f8fbff, #edf3ff);
  --input-bg: #ffffff;
  --input-bg-focus: #ffffff;
  --input-border: rgba(15, 23, 42, 0.24);
  --input-border-focus: rgba(30, 64, 175, 0.55);
  --input-focus-shadow: 0 0 0 4px rgba(30, 64, 175, 0.14);
  --mobile-nav-bg: rgba(255, 255, 255, 0.98);
  --secondary-border: rgba(15, 23, 42, 0.2);
  --secondary-bg: #ffffff;
  --project-cta-bg: #ffffff;
  --project-cta-bg-hover: #f8fafc;
  --project-cta-border: rgba(15, 23, 42, 0.28);
  --project-cta-border-hover: rgba(15, 23, 42, 0.55);
  --carousel-nav-bg: rgba(255, 255, 255, 0.9);
  --carousel-nav-bg-hover: #eef2f7;
  --carousel-nav-border-hover: rgba(15, 23, 42, 0.34);
  --ambient-node: rgba(15, 23, 42, 0.6);
  --ambient-link: rgba(15, 23, 42, 0.2);
  --ambient-surface: rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .whatsapp-link:hover {
  background: rgba(37, 211, 102, 0.16);
}

body[data-theme="light"] .theme-icon-sun {
  display: none;
}

body[data-theme="light"] .theme-icon-moon {
  display: block;
}

body[data-theme="light"] .button-primary {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

body[data-theme="light"] .project-tag {
  color: #1f2937;
  background: rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .dot.is-active {
  background: #111111;
  border-color: #111111;
}

body[data-theme="light"] .ambient-line {
  background: linear-gradient(90deg, transparent 0%, rgba(17, 24, 39, 0.24) 45%, transparent 100%);
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.06);
}

body[data-theme="light"] .ambient-block {
  border-color: rgba(15, 23, 42, 0.18);
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 8px 22px rgba(15, 23, 42, 0.08);
}




@media (max-width: 980px) {
  .hero-grid,
  .section-grid,
  .contact-grid,
  .services-grid,
  .marketing-plans,
  .monthly-plans {
    grid-template-columns: 1fr;
  }

  .monthly-card {
    max-width: none;
  }

  .hero-copy,
  .hero-panel,
  .contact-copy,
  .contact-form {
    min-width: 0;
  }

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

  .faq-item summary {
    padding: 0.95rem 2.2rem 0.95rem 1rem;
    font-size: 1rem;
    min-height: 50px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .google-panel-header,
  .google-metrics,
  .google-reviews {
    grid-template-columns: 1fr;
  }

  .google-panel-header {
    display: grid;
  }

  .google-panel-link {
    justify-self: start;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .project-filters {
    justify-content: flex-start;
  }

  .section-heading h2,
  .section-grid h2,
  .contact-grid h2 {
    max-width: none;
  }

  .process-heading h2 {
    font-size: clamp(2rem, 8.2vw, 3.1rem);
  }

  .build-scroll-section {
    --build-scroll-length: 380vh;
  }

  .build-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .build-copy {
    order: 2;
  }

  .plan-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .build-stage {
    order: 1;
  }

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

  .dev-process-section {
    padding: 6rem 0;
  }

  .dev-process-scroll-space {
    min-height: auto;
  }

  .dev-process-pin {
    position: relative;
    top: auto;
    min-height: 0;
    display: block;
    padding: 0;
  }

  .process-layout {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 0.9rem;
  }

  .process-visual {
    position: relative;
    top: auto;
    grid-column: 1 / -1;
    margin-top: 0.55rem;
  }

  .process-track {
    grid-row: 1;
    grid-column: 1;
    min-height: 100%;
  }

  .process-steps {
    grid-column: 2;
  }

  .process-line,
  .process-progress {
    left: 10px;
    width: 3px;
  }

  .ambient-line-a {
    width: min(74vw, 680px);
    left: -20%;
  }

  .ambient-line-b {
    width: min(90vw, 860px);
    right: -34%;
  }

  .ambient-line-c {
    width: min(72vw, 560px);
  }
}

@media (max-width: 760px) {
  img,
  svg,
  video,
  canvas,
  iframe {
    max-width: 100%;
  }

  .section {
    padding: 4.5rem 0;
  }

  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .header-inner {
    min-height: 74px;
    gap: 0.6rem;
  }

  .brand {
    gap: 0.65rem;
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 0.95rem;
    line-height: 1.05;
  }

  .brand-text small {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .theme-toggle,
  .links-button,
  .login-button {
    width: 42px;
    height: 42px;
    min-height: 42px;
    border-radius: 12px;
    padding: 0;
  }

  .login-button {
    min-width: 42px;
  }

  .theme-icon,
  .links-button svg,
  .login-button svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    padding-top: 2.7rem;
  }

  .hero-grid,
  .section-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .services-grid,
  .marketing-plans,
  .monthly-plans {
    grid-template-columns: 1fr;
  }

  .build-scroll-section {
    --build-scroll-length: 360vh;
    --build-pin-offset: 74px;
  }

  .build-scroll-pin {
    padding: 1rem 0;
  }

  .build-copy {
    padding: 1rem;
    gap: 0.8rem;
  }

  .build-copy h2 {
    font-size: clamp(1.8rem, 8.8vw, 2.6rem);
  }

  .build-step {
    font-size: 0.92rem;
    padding: 0.66rem 0.78rem;
  }

  .build-canvas {
    padding: 0.72rem;
    aspect-ratio: 4 / 3;
  }

  .mock-topbar {
    height: 36px;
  }

  .mock-cards {
    gap: 0.55rem;
  }

  .mock-card {
    min-height: 84px;
  }

  .build-status {
    padding: 0.8rem;
  }

  .build-status strong {
    font-size: 1.02rem;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--mobile-nav-bg);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
  }

  .site-nav[data-open="true"] {
    max-height: 280px;
  }

  .site-nav a {
    padding: 1rem 1.1rem;
    border-top: 1px solid rgba(183, 208, 218, 0.08);
  }

  .site-nav a:first-child {
    border-top: 0;
  }

  .hero-copy h1,
  .section-heading h2,
  .section-grid h2,
  .contact-grid h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.05;
  }

  .hero-copy p,
  .contact-copy,
  .content-card p,
  .service-card p,
  .project-card p {
    font-size: 1rem;
  }

  .carousel {
    gap: 1rem;
  }

  .services-grid {
    gap: 1rem;
  }

  .service-card {
    padding: 1.1rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.42);
    min-height: 0;
  }

  .plan-price-amount {
    font-size: 0.98rem;
    padding: 0.36rem 0.6rem;
  }

  .hero-actions {
    margin: 1.45rem 0;
  }

  .hero-stats {
    margin-top: 1.4rem;
  }

  .hero-stats li {
    padding: 0.9rem 1rem;
  }

  .panel-card,
  .content-card,
  .service-card,
  .contact-form,
  .faq-category,
  .google-panel,
  .carousel-card {
    padding: 1rem;
  }

  .plan-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .plan-price {
    align-items: flex-start;
    font-size: 1.75rem;
  }

  .plan-badge {
    position: static;
    margin: -0.2rem 0 0.75rem;
    right: auto;
    top: auto;
  }

  .google-panel-copy,
  .google-review-card p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .google-review-card {
    min-height: 0;
  }

  .channel-card {
    border-radius: 20px;
    min-height: 0;
    padding: 0.85rem 1rem;
  }

  .channel-card strong {
    font-size: 0.94rem;
    overflow-wrap: anywhere;
  }

  .contact-copy,
  .faq-item p,
  .content-card p,
  .service-card p,
  .project-card p {
    overflow-wrap: anywhere;
  }

  .process-layout {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .dev-process-section {
    padding: 4.5rem 0;
  }

  .process-track {
    display: block;
    grid-column: 1;
    grid-row: 1;
    min-height: 100%;
  }

  .process-steps {
    grid-column: 2;
  }

  .process-step {
    grid-template-columns: 46px 1fr;
    gap: 0.75rem;
    opacity: 0.72;
    transform: translateY(6px) scale(0.99);
  }

  .process-step p {
    line-height: 1.62;
  }

  .process-step.is-active {
    transform: translateY(0) scale(1);
  }

  .process-line,
  .process-progress {
    left: 8px;
    width: 3px;
  }

  .step-marker {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .process-visual-copy strong {
    font-size: 1.2rem;
  }

  .project-image {
    height: 180px;
    margin: -1.15rem -1.15rem 1rem -1.15rem;
  }

  .carousel-card {
    padding: 1.15rem;
  }

  .project-cta {
    width: 100%;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
  }

  .form-actions .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .ambient-bg {
    opacity: 0.88;
  }

  .ambient-canvas {
    opacity: 0.8;
  }

  .ambient-line {
    opacity: 0.46;
  }

  .ambient-block {
    opacity: 0.36;
  }

  .ambient-line-a {
    top: 16%;
    width: min(96vw, 560px);
  }

  .ambient-line-b {
    top: 50%;
    width: min(110vw, 640px);
  }

  .ambient-line-c {
    bottom: 12%;
    width: min(82vw, 420px);
    left: -6%;
  }

  .ambient-block-a {
    right: 0;
    top: 24%;
  }

  .ambient-block-b {
    left: -4%;
  }

  .ambient-block-c {
    right: 8%;
    bottom: 16%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .ambient-item {
    animation: none;
    transform: rotate(var(--ambient-tilt));
    will-change: auto;
  }

  .ambient-canvas {
    opacity: 0.55;
  }
}

@media (max-width: 540px) {
  .section {
    padding: 4rem 0;
  }

  .dev-process-section {
    padding: 4rem 0;
  }

  .build-scroll-section {
    --build-scroll-length: 340vh;
  }

  .mock-cards {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 1rem, var(--container));
  }

  .hero-actions,
  .project-filters,
  .form-actions {
    gap: 0.75rem;
  }

  .button,
  .filter-button {
    width: 100%;
  }

  .header-inner {
    min-height: 66px;
    gap: 0.45rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 0.84rem;
  }

  .header-actions {
    gap: 0.32rem;
  }

  .theme-toggle,
  .links-button,
  .login-button {
    width: 38px;
    height: 38px;
    min-height: 38px;
    min-width: 38px;
    border-radius: 10px;
  }

  .theme-icon,
  .links-button svg,
  .login-button svg {
    width: 18px;
    height: 18px;
  }

  .login-button {
    padding: 0 0.72rem;
  }

  .login-button span {
    display: none;
  }

  .carousel-nav {
    top: auto;
    bottom: -3.25rem;
    transform: none;
  }

  .carousel-prev {
    left: 0;
  }

  .carousel-next {
    right: 0;
  }

  .carousel-dots {
    margin-top: 4rem;
  }

  .marketing-plans {
    grid-template-columns: 1fr;
  }

  .monthly-plans {
    grid-template-columns: 1fr;
  }

  .monthly-card {
    max-width: none;
  }
}