:root {
  --primary: #0c6b64;
  --primary-dark: #084e4a;
  --secondary: #1fb8aa;
  --accent: #e0b04a;
  --accent-soft: #f8efd8;
  --dark: #10231f;
  --ink: #1a2c28;
  --muted: #5a6f6a;
  --line: #d4e4df;
  --bg: #f3f8f6;
  --bg-soft: #e7f2ee;
  --white: #ffffff;
  --card: #ffffff;
  --footer-bg: #07201d;
  --footer-text: #d8efe9;
  --footer-link: #9ed4c9;
  --shadow: 0 20px 50px rgba(8, 40, 36, 0.1);
  --shadow-sm: 0 10px 24px rgba(12, 107, 100, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --header: 84px;
  --max: 1240px;
  --pad: 40px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --grad: linear-gradient(135deg, #084e4a 0%, #0c6b64 42%, #1fb8aa 100%);
  --grad-gold: linear-gradient(135deg, #c9922a, #e0b04a 55%, #f3d27a);
  --grad-soft: linear-gradient(160deg, rgba(31, 184, 170, 0.16), rgba(224, 176, 74, 0.12));
}

[data-theme="dark"] {
  --bg: #0a1413;
  --bg-soft: #101c1a;
  --white: #0d1817;
  --card: #142422;
  --ink: #e7eeec;
  --dark: #f4f8f6;
  --muted: #9aafa9;
  --line: #243835;
  --accent-soft: rgba(196, 163, 90, 0.16);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.24);
  --footer-bg: #071614;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  color-scheme: dark;
  font-size: 16px;
}

html[data-theme="light"] {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  background:
    radial-gradient(900px 380px at 100% -8%, rgba(31, 184, 170, 0.14), transparent 55%),
    radial-gradient(720px 320px at 0% 12%, rgba(224, 176, 74, 0.1), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  padding-bottom: calc(96px + var(--safe-b));
  min-height: 100dvh;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.skip {
  position: absolute;
  right: 12px;
  top: -40px;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

/* Header */
h1, h2, h3 {
  overflow-wrap: break-word;
  line-height: 1.4;
}

h1 { font-size: 1.65rem; }
h2 { font-size: 1.28rem; }
h3 { font-size: 1.06rem; }

.lead {
  color: var(--muted);
  font-size: 0.98rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  width: 100%;
  min-height: var(--header);
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  transition: 0.25s ease;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header.scrolled {
  background: var(--white);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  min-height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  max-width: 100%;
  margin-inline: auto;
}

.founder-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-top: 2px;
}

.founder-link-footer {
  display: inline-block;
  margin: 8px 0 4px;
  color: var(--accent);
}

.founder-role {
  display: block;
  color: var(--footer-link);
  margin-bottom: 12px;
}

.founder-card .founder-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.founder-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.founder-card h2,
.founder-card h3 {
  margin: 6px 0 0;
  font-size: 1.22rem;
}

.video-frame {
  position: relative;
  width: 100%;
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .founder-card .founder-layout {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    width: 96px;
    height: 96px;
  }
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.logo-main {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-text {
  min-width: 0;
  overflow: hidden;
}

.logo-text a:first-child {
  display: block;
}

.logo img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(8, 78, 74, 0.28);
}

.logo strong {
  display: block;
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

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

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 99px;
  background: var(--secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 12px 20px;
  min-height: 46px;
  font-weight: 700;
  transition: 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

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

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--line);
}

[data-theme="dark"] .btn-ghost {
  color: var(--secondary);
  border-color: rgba(31, 184, 170, 0.42);
}

.btn-accent {
  background: var(--grad-gold);
  color: #2a1f08;
  box-shadow: 0 10px 22px rgba(201, 146, 42, 0.28);
}

.menu-btn {
  display: none;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  z-index: 60;
}

.mobile-nav a {
  display: block;
  padding: 10px 8px;
  min-height: 44px;
  border-radius: 10px;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 32, 29, 0.42);
  z-index: 45;
}

.nav-backdrop.open {
  display: block;
}

body:has(.ai-fab.open) .wa-float,
body:has(.ai-fab.open) .to-top {
  opacity: 0;
  pointer-events: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 86px;
  overflow: hidden;
  background: var(--grad-soft);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #7a5c1e;
  font-size: 0.85rem;
  font-weight: 700;
}

[data-theme="dark"] .hero .badge {
  color: #fcd34d;
}

.hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.35;
  margin: 18px 0 14px;
  color: var(--dark);
  font-weight: 800;
}

.hero .highlight {
  color: var(--primary);
}

.hero .badge i {
  margin-inline-end: 6px;
}

.hero-content > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual-inner {
  position: relative;
  min-height: 420px;
  border-radius: 32px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(220px, 48%);
  height: min(220px, 48%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 24px 55px rgba(12, 107, 100, 0.3);
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  transform: translate(-50%, -50%);
  animation: heroPulse 6s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 10px)); }
}

.hero-floating {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.hero-floating-1 {
  width: 190px;
  height: 190px;
  top: 8%;
  left: -70px;
  background: rgba(31, 184, 170, 0.12);
}

.hero-floating-2 {
  width: 140px;
  height: 140px;
  right: 12%;
  bottom: 5%;
  background: rgba(224, 176, 74, 0.14);
}

.hero-floating-3 {
  width: 70px;
  height: 70px;
  right: 48%;
  top: 12%;
  background: rgba(31, 184, 170, 0.13);
}

.hero-slider {
  position: relative;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-icon {
  position: absolute;
  inset: 80px;
  display: grid;
  place-items: center;
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.88;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--card);
  margin-bottom: 18px;
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 36px;
  width: max-content;
  animation: marquee 28s linear infinite;
  padding: 12px 0;
  color: var(--muted);
  font-weight: 700;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.marquee-track i {
  color: var(--primary);
}

@media (hover: hover) {
  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.quote-slider {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 12px;
  align-items: center;
}

.ai-wrap {
  position: fixed;
  right: calc(14px + var(--safe-r));
  bottom: calc(14px + var(--safe-b));
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
}

.ai-wrap > .ai-fab,
.ai-wrap > .ai-panel {
  pointer-events: auto;
}

.ai-pop {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 8px 10px;
  width: min(300px, calc(100vw - 92px));
  padding: 12px 14px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 8px 18px;
  background: var(--card);
  box-shadow: 0 16px 40px rgba(8, 40, 36, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.72);
  transform-origin: 90% 100%;
  pointer-events: none;
}

.ai-pop.is-ready {
  animation: aiPopCycle 6.8s cubic-bezier(0.18, 1.25, 0.32, 1) 0.55s infinite;
  pointer-events: none;
}

.ai-pop.is-hidden {
  display: none !important;
}

.ai-pop::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: var(--card);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.ai-pop-logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  grid-row: 1 / span 2;
  animation: aiLogoWiggle 2.8s ease-in-out 1.4s infinite;
}

.ai-pop-text {
  min-width: 0;
}

.ai-pop-text strong,
.ai-pop-text span {
  display: block;
}

.ai-pop-text strong {
  color: #d4a017;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 0 12px rgba(224, 176, 74, 0.45);
  animation: aiTextGlow 1.8s ease-in-out infinite;
}

.ai-pop-text span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.ai-pop-action {
  grid-column: 2;
  justify-self: start;
  margin-top: 0;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
}

.ai-pop-close {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  z-index: 2;
}

@keyframes aiLogoPop {
  0% { opacity: 0; visibility: visible; transform: translateY(22px) scale(0.55); }
  62% { opacity: 1; visibility: visible; transform: translateY(-6px) scale(1.06); }
  100% { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
}

@keyframes aiPopCycle {
  0% {
    opacity: 0;
    visibility: visible;
    transform: translateY(18px) scale(0.72);
    pointer-events: none;
  }
  10% {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px) scale(1.05);
    pointer-events: auto;
  }
  16%, 52% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  64%, 100% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.88);
    pointer-events: none;
  }
}

@keyframes aiTextGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(224, 176, 74, 0.25); color: #d4a017; }
  50% { text-shadow: 0 0 18px rgba(224, 176, 74, 0.7); color: #f0c14b; }
}

@keyframes aiLogoWiggle {
  0%, 88%, 100% { transform: rotate(0deg) scale(1); }
  92% { transform: rotate(-8deg) scale(1.08); }
  96% { transform: rotate(8deg) scale(1.08); }
}

.ai-fab {
  position: relative;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  background: transparent;
  box-shadow: 0 12px 32px rgba(15, 118, 110, 0.35);
  animation: aiFabIn 0.7s cubic-bezier(0.18, 1.35, 0.32, 1) 0.25s both;
}

.ai-fab:hover img {
  transform: scale(1.08) rotate(-6deg);
}

.ai-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: var(--dark);
  color: #fff;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  animation: aiLabelPulse 2.4s ease-in-out 1.6s infinite;
}

.ai-fab.open .ai-label,
.ai-fab.open .ai-pulse {
  display: none;
}

.ai-fab img {
  width: 64px;
  height: 64px;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}

.ai-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(20, 184, 166, 0.45);
  animation: pulseRing 2s ease-out infinite;
}

.ai-pulse-delay {
  animation-delay: 0.9s;
}

@keyframes pulseRing {
  0% { transform: scale(0.86); opacity: 0.9; }
  100% { transform: scale(1.22); opacity: 0; }
}

@keyframes aiFabIn {
  0% { opacity: 0; transform: scale(0.2) translateY(24px); }
  70% { opacity: 1; transform: scale(1.12) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes aiLabelPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.ai-panel {
  width: min(360px, calc(100vw - 36px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.ai-panel[hidden] {
  display: none !important;
}

.ai-panel.is-open {
  opacity: 1;
  transform: none;
}

.ai-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--grad);
  color: #fff;
}

.ai-head small {
  display: block;
  opacity: 0.85;
  font-size: 0.75rem;
}

.ai-head .icon-btn {
  margin-inline-start: auto;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border-color: transparent;
}

.ai-head .ai-wa {
  margin-inline-start: auto;
  font-size: 1.05rem;
}

.ai-head .ai-wa + .icon-btn {
  margin-inline-start: 0;
}

.ai-msgs {
  height: 280px;
  overflow: auto;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
  background: var(--bg-soft);
}

.ai-pop.is-ready:not(.is-hidden) ~ .ai-fab .ai-label {
  display: none;
}

.ai-bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  animation: fadeUp 0.32s ease both;
}

.ai-bubble.bot {
  background: var(--card);
  border: 1px solid var(--line);
}

.ai-bubble.bot a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ai-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ai-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  font-size: 0.82rem;
}

.ai-cta.ghost {
  background: transparent;
  color: var(--primary) !important;
  border: 1px solid var(--line);
}

.ai-bubble.user {
  justify-self: end;
  background: var(--grad);
  color: #fff;
  white-space: pre-wrap;
}

.ai-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  width: fit-content;
  padding: 12px 16px;
}

.ai-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: aiDot 1.1s ease-in-out infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes aiDot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.ai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
}

.ai-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
}

.ai-form input {
  flex: 1;
  min-width: 0;
  font-size: 16px;
}

.ai-form .btn {
  width: 44px;
  padding: 0;
}

.noscript {
  margin: 12px auto;
  max-width: var(--max);
  padding: 12px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.page-404 {
  text-align: center;
  padding: 48px 0 80px;
}

.page-404 h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin-bottom: 8px;
}

.page-404 .lead {
  margin-bottom: 24px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -80px 10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-slides {
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: #7a5c1e;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

[data-theme="dark"] .eyebrow {
  color: #fcd34d;
}

.hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.35;
  margin: 18px 0 14px;
  color: var(--dark);
  font-weight: 800;
}

.hero p.lead {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.visual {
  position: relative;
  min-height: 420px;
}

.visual-board {
  position: relative;
  height: 430px;
  border-radius: 32px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 180px;
  height: 180px;
  background: rgba(15, 118, 110, 0.18);
  top: 20px;
  left: 20px;
}

.orb-2 {
  width: 140px;
  height: 140px;
  background: rgba(245, 158, 11, 0.16);
  bottom: 30px;
  right: 30px;
  animation-delay: -2s;
}

.float-card {
  position: absolute;
  background: var(--card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  animation: float 6s ease-in-out infinite;
}

.hero-visual .float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  z-index: 2;
}

.hero-visual .float-card .icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  color: #fff;
}

.hero-visual .float-card .icon.green { background: #249b72; }
.hero-visual .float-card .icon.orange { background: #d8892f; }
.hero-visual .float-card .icon.blue { background: #3d82c4; }
.hero-visual .float-card .icon.purple { background: #8064b7; }

.hero-visual .float-card .text {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-visual .float-card small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.float-card small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.float-card b {
  font-size: 0.92rem;
}

.fc-1 {
  top: 38px;
  right: 28px;
}
.fc-2 {
  top: 150px;
  left: 24px;
  animation-delay: -1.5s;
}
.fc-3 {
  bottom: 42px;
  right: 42px;
  animation-delay: -3s;
}

.hero-illustration {
  position: absolute;
  inset: 70px 70px 80px 70px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
  margin-top: -18px;
  position: relative;
  z-index: 2;
}

.trust-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.trust-item i {
  color: var(--secondary);
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: var(--bg-soft);
}

.section.compact {
  padding: 36px 0;
}

.strip {
  display: grid;
  gap: 16px;
  margin: 8px auto 12px;
}

.strip .trust {
  margin-top: 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 42px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--dark);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 16px;
}

.stat {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.stat b {
  display: block;
  font-size: 1.55rem;
  color: var(--primary);
  line-height: 1.2;
}

.cards-4,
.cards-3,
.cards-2 {
  display: grid;
  gap: 18px;
}

.cards-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.cards-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: 0.22s ease;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  height: 3px;
  width: 100%;
  background: var(--grad-gold);
  opacity: 0;
  transition: 0.22s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card:hover::after {
  opacity: 1;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
  }
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--primary);
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.finder {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
  cursor: pointer;
  font-weight: 700;
}

.chip.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}

.finder-result {
  margin-top: 22px;
  padding: 20px;
  border-radius: 18px;
  background: var(--grad-soft);
  display: none;
}

.finder-result.show {
  display: block;
}

.spec-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.search,
select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

.search {
  max-width: 280px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 12px;
}

.spec-pill {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  font-weight: 700;
  transition: 0.2s ease;
}

.spec-pill:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
  color: var(--primary);
}

.timeline {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 18px;
}

.step b {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-size: 1.1rem;
}

.catalog-group > summary,
.svc-group > summary,
.spec-group > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-group > summary h2,
.svc-group > summary h3,
.spec-group > summary h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--dark);
}

.catalog-group > summary h2 i,
.svc-group > summary h3 i {
  color: var(--primary);
}

.catalog-group > summary small,
.svc-group > summary small,
.spec-group > summary small {
  color: var(--muted);
  font-weight: 600;
}

.catalog-group {
  margin: 16px 0;
}

.samples-head {
  margin: 48px 0 8px;
  color: var(--dark);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 22px;
}

.svc-group {
  margin-bottom: 36px;
}

.svc-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--dark);
  font-size: 1.25rem;
}

.svc-group h3 i {
  color: var(--primary);
}

.svc-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}

.svc-modal[hidden] {
  display: none !important;
}

.svc-modal-box {
  width: min(680px, 100%);
  max-height: min(86vh, 840px);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px 24px;
  position: relative;
  box-shadow: var(--shadow);
}

.svc-modal-close {
  position: absolute;
  left: 16px;
  top: 16px;
}

.svc-modal-box .tag {
  margin-bottom: 8px;
}

.project-cover {
  height: 180px;
  border-radius: 16px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.8rem;
  background: var(--grad);
  overflow: hidden;
}

.project-cover.has-img {
  background: #102624;
  padding: 0;
}

.project-cover.art {
  background-size: cover;
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
}

.project-cover-detail {
  height: min(42vw, 320px);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.project-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tag {
  font-size: 0.75rem;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--muted);
}

.slider {
  position: relative;
}

.quote {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  min-height: 210px;
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
  width: 22px;
  border-radius: 99px;
}

.home-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.home-toc a,
.page-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.home-toc a:hover,
.page-switch a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.home-toc a[href="pages/request.html"],
.page-switch a.page-cta {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.fold {
  border-block: 1px solid transparent;
}

.fold > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
}

.fold > summary .fold-toggle {
  position: absolute;
  left: var(--pad, 20px);
  top: 50%;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(12, 107, 100, 0.38);
  pointer-events: none;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fold > summary .fold-toggle::before {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.fold[open] > summary .fold-toggle::before {
  transform: translateY(3px) rotate(225deg);
}

.fold > summary:hover .fold-toggle,
.fold > summary:focus-visible .fold-toggle {
  background: var(--secondary);
  box-shadow: 0 10px 24px rgba(31, 184, 170, 0.42);
}

.fold > summary::-webkit-details-marker {
  display: none;
}

.fold.section {
  padding: 0;
}

.fold.section > summary {
  padding: 22px var(--pad, 20px);
}

.fold.section > summary .section-head {
  margin: 0 auto;
  padding-inline-end: 52px;
}

.fold.section .fold-body {
  padding-bottom: 28px;
}

.fold > summary:not(:has(.fold-toggle))::after {
  content: "⌄";
  position: absolute;
  left: var(--pad, 20px);
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(12, 107, 100, 0.38);
}

.fold[open] > summary:not(:has(.fold-toggle))::after {
  content: "⌃";
}

.page-fold {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.page-fold > summary {
  padding: 14px 16px 14px 52px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--dark);
}

.page-fold > summary::after,
.page-fold > summary .fold-toggle {
  left: 14px;
}

.page-fold .spec-pill,
.page-fold .card {
  background: var(--bg-soft);
}

.nested-fold {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
}

.nested-fold > summary {
  padding: 12px 14px 12px 48px;
  font-weight: 800;
}

.nested-fold > summary::after,
.nested-fold > summary .fold-toggle {
  left: 10px;
  width: 32px;
  height: 32px;
}

.nested-fold p {
  padding: 0 14px 14px;
  margin: 0;
}

.page-switch {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 28px 0 8px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.page-switch .page-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.page-switch a.is-current {
  background: var(--bg-soft);
  border-color: var(--primary);
  color: var(--primary);
  pointer-events: none;
}

.page-switch .page-prev,
.page-switch .page-next {
  white-space: nowrap;
}

.item-pager {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

@media (max-width: 768px) {
  .page-switch {
    grid-template-columns: 1fr 1fr;
  }
  .page-switch .page-list {
    grid-column: 1 / -1;
    order: -1;
  }
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.cta {
  background: var(--grad);
  color: #fff;
  border-radius: 32px;
  padding: 48px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta h2,
.cta p {
  position: relative;
}

.cta .btn-accent {
  position: relative;
}

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 52px 0 24px;
  margin-top: 40px;
  padding-bottom: calc(24px + var(--safe-b));
}

[data-theme="dark"] .footer {
  background: var(--footer-bg);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 32px 28px;
  align-items: start;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: #fff;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.footer-logo strong,
.footer-logo small {
  display: block;
  line-height: 1.35;
}

.footer-logo strong {
  font-size: 1.08rem;
}

.footer-logo small {
  color: var(--footer-link);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-brand p {
  margin: 0 0 12px;
  color: var(--footer-link);
  max-width: 38ch;
}

.footer-founder {
  display: block;
  margin: 0 0 4px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
}

.footer-role {
  display: block;
  margin: 0 0 16px;
  color: var(--footer-link);
  font-size: 0.8rem;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-cta .btn {
  margin: 0;
}

.footer-wa-btn {
  border-color: rgba(158, 212, 201, 0.35);
  color: #d8efe9;
  background: transparent;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.footer-col h2 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #fff;
}

.footer-col a {
  display: block;
  margin: 0;
  padding: 5px 0;
  color: var(--footer-link);
  overflow-wrap: break-word;
}

.footer-col a:hover,
.footer-founder:hover,
.footer-bottom a:hover {
  color: var(--accent);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  width: 1.1em;
  flex-shrink: 0;
  text-align: center;
  color: var(--secondary);
}

.footer-contact [dir="ltr"] {
  unicode-bidi: isolate;
}

.footer-meta {
  display: block;
  margin: 8px 0 2px;
  color: var(--footer-link);
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
  padding-top: 16px;
  font-size: 0.88rem;
  color: var(--footer-link);
}

.footer-bottom a {
  color: var(--accent);
  display: inline;
  margin: 0;
}

.wa-float {
  position: fixed;
  left: calc(14px + var(--safe-l));
  bottom: calc(14px + var(--safe-b));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 90;
}

.wa-float svg {
  width: 28px;
  height: 28px;
  display: block;
}

.wa-float span {
  position: absolute;
  inset-inline-start: 62px;
  background: var(--dark);
  color: #fff;
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.wa-float:hover span {
  opacity: 1;
}

.page-hero {
  padding: 48px 0 24px;
}

.form {
  display: grid;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label span {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.error {
  color: #b91c1c;
  font-size: 0.82rem;
  display: none;
}

.success-box {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 18px;
  padding: 18px;
}

[data-theme="dark"] .success-box {
  background: #052e28;
  color: #a7f3d0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-in {
  animation: fadeUp 0.7s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.nav a {
  white-space: nowrap;
}

.page-hero h1 {
  margin-top: 8px;
  font-size: 1.6rem;
  line-height: 1.4;
}

.center-link {
  text-align: center;
  margin-top: 22px;
}

.muted-line {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.crumbs a {
  color: var(--primary);
  font-weight: 700;
}

.search-wide {
  max-width: 100%;
  margin-bottom: 18px;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 8px 28px 8px 0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--primary);
  font-weight: 800;
}

.spec-pill {
  color: inherit;
}

.to-top {
  position: fixed;
  right: calc(18px + var(--safe-r));
  bottom: calc(96px + var(--safe-b));
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 55;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  place-items: start center;
  padding: 12vh 20px 20px;
  z-index: 80;
}

.search-overlay.open {
  display: grid;
}

.search-panel {
  width: min(640px, 100%);
  background: var(--card);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.search-head strong {
  color: var(--dark);
}

.search-head .icon-btn {
  width: 40px;
  height: 40px;
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.search-hits {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.search-hits a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.search-hits a span,
.search-hits p {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 1400px) {
  :root {
    --max: 1320px;
    --header: 90px;
  }
  .section {
    padding: 92px 0;
  }
  .hero {
    padding: 72px 0 86px;
  }
  .visual-board {
    height: 480px;
  }
}

@media (max-width: 1180px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .header-inner .btn-header {
    display: none;
  }
  .mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow);
  }
  .mobile-nav.open {
    display: grid;
    gap: 10px;
    max-height: min(70vh, 520px);
    overflow: auto;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 980px) {
  .hero {
    padding: 36px 0 32px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-buttons,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn,
  .hero-actions .btn {
    width: 100%;
  }
  .hero-content {
    min-width: 0;
    text-align: center;
  }
  .hero-content > p {
    margin-inline: auto;
  }
  .hero h1 {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
    overflow-wrap: break-word;
    word-break: normal;
  }
  .hero-floating {
    display: none;
  }
  .visual {
    min-height: 280px;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .visual-board {
    height: 280px;
  }
  .hero-illustration {
    inset: 40px 24px 36px;
  }
  .hero-visual {
    min-height: 0;
    height: auto;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .hero-visual-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-height: 0;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    overflow: visible;
  }
  .hero-center {
    display: none;
  }
  .hero-visual .float-card {
    position: static;
    inset: auto;
    transform: none;
    animation: none;
    min-width: 0;
    width: 100%;
  }
  .hero-visual .float-card .text {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  :root {
    --pad: 20px;
    --header: 72px;
  }
  .hero-grid,
  .cards-2,
  .form-row,
  .quote-slider {
    grid-template-columns: 1fr;
  }
  .header-inner {
    gap: 10px;
  }
  .logo img {
    width: 40px;
    height: 40px;
  }
  .header .founder-link {
    display: none;
  }
  .footer {
    padding: 36px 0 calc(22px + var(--safe-b));
  }
  .footer-main {
    gap: 22px 14px;
  }
  .footer-col a {
    padding: 3px 0;
  }
  .footer-brand p {
    max-width: none;
  }
  .footer-cta .btn {
    flex: 1 1 148px;
    justify-content: center;
    text-align: center;
  }
  .footer-contact {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
  }
  .footer-contact h2,
  .footer-meta,
  .footer-contact a[href^="mailto"] {
    grid-column: 1 / -1;
  }
  .header-inner .btn-header {
    display: none;
  }
  .hero-buttons,
  .hero-actions {
    flex-direction: column;
  }
  .hero-buttons .btn,
  .hero-actions .btn {
    width: 100%;
  }
  .icon-btn {
    width: 40px;
    height: 40px;
  }
  .section {
    padding: 44px 0;
  }
  .page-hero {
    padding: 24px 0 28px;
  }
  .page-hero h1 {
    font-size: 1.45rem;
    line-height: 1.45;
  }
  .hero {
    padding: 28px 0 32px;
  }
  .hero h1 {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
  }
  .visual {
    min-height: 220px;
  }
  .visual-board {
    height: 240px;
  }
  .hero-illustration {
    inset: 48px 16px 40px;
  }
  .hero-icon {
    inset: 36px;
    font-size: 3.2rem;
  }
  .trust {
    margin-top: 8px;
  }
  .marquee-track {
    animation-duration: 42s;
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    justify-content: flex-start;
  }
  .quote-slider .hero-arrow {
    display: none;
  }
  .ai-wrap {
    right: calc(10px + var(--safe-r));
    bottom: calc(10px + var(--safe-b));
  }
  .ai-fab,
  .ai-fab img {
    width: 56px;
    height: 56px;
  }
  .ai-label {
    display: none;
  }
  .wa-float {
    display: grid;
    left: calc(10px + var(--safe-l));
    bottom: calc(10px + var(--safe-b));
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
    z-index: 90;
  }
  .wa-float span {
    display: none;
  }
  .to-top {
    right: calc(10px + var(--safe-r));
    bottom: calc(76px + var(--safe-b));
    width: 40px;
    height: 40px;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
  }
  .filters .chip {
    flex: 0 0 auto;
  }
  .step {
    grid-template-columns: 56px 1fr;
    gap: 10px;
    padding: 12px;
  }
  .step b {
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
  }
  .cta {
    padding: 28px 16px;
    border-radius: 22px;
  }
  .finder {
    padding: 16px;
    border-radius: 18px;
  }
  .form {
    padding: 16px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .svc-modal {
    padding: 10px;
    align-items: end;
  }
  .svc-modal-box {
    border-radius: 18px 18px 12px 12px;
    padding: 22px 16px 16px;
    max-height: 88vh;
  }
  .search-overlay {
    padding: 8vh 12px 12px;
  }
  .marquee-track {
    gap: 22px;
    font-size: 0.88rem;
  }
  .center-link .btn {
    width: 100%;
  }
  .spec-toolbar {
    flex-direction: column;
  }
  .search {
    max-width: 100%;
  }
  .cards-4,
  .cards-3 {
    grid-template-columns: 1fr;
  }
  .ai-pop {
    width: min(250px, calc(100vw - 86px));
    padding: 10px 12px;
  }
  .ai-pop-action {
    display: none;
  }
  .ai-panel:not([hidden]) {
    display: flex;
    flex-direction: column;
  }
  .ai-msgs {
    flex: 1;
    min-height: 160px;
  }
  .page-hero {
    padding-bottom: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  :root {
    --pad: 16px;
  }
  .hero-visual-inner {
    gap: 8px;
  }
  .hero-visual .float-card {
    padding: 10px 8px;
    border-radius: 14px;
  }
  .hero-visual .float-card .text {
    font-size: 0.75rem;
  }
  .hero-actions,
  .hero-buttons {
    flex-direction: column;
  }
  .hero-actions .btn,
  .hero-buttons .btn,
  .form .btn,
  .cta .btn {
    width: 100%;
  }
  .header-actions .btn-header {
    display: none;
  }
  .mobile-nav .btn-primary {
    width: 100%;
  }
  .logo span {
    display: none;
  }
  .logo strong {
    font-size: 0.92rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.25;
  }
  .ai-wrap {
    right: calc(8px + var(--safe-r));
    left: calc(8px + var(--safe-l));
    align-items: stretch;
  }
  .ai-fab,
  .ai-pop {
    align-self: flex-start;
  }
  .ai-panel {
    width: 100%;
    max-height: min(78dvh, 620px);
    border-radius: 20px;
    pointer-events: auto;
  }
  .ai-head small {
    display: none;
  }
  .ai-msgs {
    height: min(38dvh, 240px);
  }
  .trust-item,
  .stat {
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .header-actions {
    gap: 6px;
  }
  .icon-btn {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .ai-pop.is-ready {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .marquee {
    overflow-x: auto;
  }
  .marquee-track {
    animation: none !important;
    flex-wrap: nowrap;
    width: max-content;
    justify-content: flex-start;
  }
}

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

.page-hero > .card,
.page-hero > .cards-2,
.page-hero > .cards-3,
.page-hero > .form {
  margin-top: 22px;
}

.icon-btn,
.chip,
.hero-arrow {
  -webkit-tap-highlight-color: transparent;
}

.marquee-track {
  will-change: transform;
}

.hero-slider {
  position: relative;
  z-index: 1;
}

.hero-slides {
  display: grid;
}

.hero-controls {
  margin-top: 18px;
}

.shape-panel {
  position: relative;
  height: 360px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--grad-soft);
}

.hero-slider .visual {
  min-height: 0;
}

.shape-chip {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.shape-grad .ring {
  position: absolute;
  inset: 18%;
  border: 2px dashed var(--secondary);
  border-radius: 50%;
}

.shape-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 3.2rem;
  background: var(--grad);
  box-shadow: 0 18px 40px rgba(12, 107, 100, 0.28);
  transform: translate(-50%, -50%);
}

.shape-grad .c1 { top: 18px; right: 18px; }
.shape-grad .c2 { top: 46%; left: 12px; }
.shape-grad .c3 { bottom: 22px; right: 28px; }

.shape-book .sheet {
  position: absolute;
  width: 54%;
  height: 68%;
  border-radius: 18px;
  top: 16%;
}

.shape-book .s1 { right: 18%; background: var(--primary); transform: rotate(-8deg); }
.shape-book .s2 { right: 22%; background: var(--accent); transform: rotate(-2deg); }
.shape-book .s3 {
  right: 26%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  transform: rotate(4deg);
}

.shape-book .shape-chip { bottom: 16px; left: 16px; }

.code-window {
  position: absolute;
  inset: 14% 12% 16%;
  border-radius: 20px;
  background: #0d1f1c;
  padding: 16px 18px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.code-window .dots {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.code-window .dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0b04a;
}

.code-window .dots i:nth-child(2) { background: #1fb8aa; }
.code-window .dots i:nth-child(3) { background: #9aafa9; }

.code-window .line {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: rgba(31, 184, 170, 0.4);
}

.code-window .w1 { width: 72%; }
.code-window .w2 { width: 90%; }
.code-window .w3 { width: 48%; }
.code-window .w4 { width: 64%; }

.code-window b {
  margin-top: 10px;
  color: #d8efe9;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shape-chat {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 28px 22px;
}

.shape-chat .bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.88rem;
  font-weight: 700;
}

.shape-chat .in {
  justify-self: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom-right-radius: 6px;
}

.shape-chat .out {
  justify-self: end;
  background: var(--grad);
  color: #fff;
  border-bottom-left-radius: 6px;
}

.chat-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  justify-self: start;
  font-size: 1.2rem;
}

.carousel {
  position: relative;
}

.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scroll-padding-inline: 8px;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  padding-bottom: 4px;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
}

.carousel-track > * {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: min(78vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.carousel[data-item="pill"] .carousel-track > * {
  width: 200px;
  max-width: 200px;
  min-height: 88px;
  height: 88px;
  padding: 10px 14px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.carousel-track .card {
  height: auto;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.carousel-track .card .icon-wrap,
.carousel-track .card .project-cover,
.carousel-track .card .meta {
  flex: 0 0 auto;
}

.carousel-track .card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
  line-height: 1.35;
}

.carousel-track .card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: calc(1.7em * 3);
  margin-bottom: 14px;
}

.carousel-track .card .btn {
  margin-top: auto;
  width: 100%;
}

.carousel-track > *:has(.project-cover),
.carousel-track .card:has(.project-cover) {
  min-height: 380px;
}

.carousel-track .project-cover {
  height: 160px;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn:hover {
  border-color: var(--secondary);
  color: var(--primary);
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: min(420px, 70vw);
}

.carousel-count {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.step-slide {
  text-align: center;
}

.step-slide b {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 1.2rem;
}

.quote {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 720px) {
  .carousel-track > * {
    width: 300px;
  }
}

@media (min-width: 1100px) {
  .carousel-track > * {
    width: 320px;
  }
}

.hero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(720px 320px at 88% 8%, rgba(31, 184, 170, 0.2), transparent 58%),
    radial-gradient(520px 260px at 6% 92%, rgba(224, 176, 74, 0.14), transparent 52%),
    var(--grad-soft);
}

.hero-slide {
  transition: opacity 0.55s ease;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 4px;
}

.g-chip,
.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.g-chip i,
.review-g {
  color: #4285f4;
}

.g-stars {
  color: #fbbc04;
  letter-spacing: 1px;
  line-height: 1;
}

.hero-proof .g-chip:hover {
  border-color: var(--primary);
}

.shape-panel {
  height: 420px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 28% 28%, rgba(31, 184, 170, 0.22), transparent 46%),
    radial-gradient(circle at 82% 78%, rgba(224, 176, 74, 0.16), transparent 42%),
    var(--card);
}

.shape-core img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  border-radius: 18px;
}

.shape-grad .c4 {
  bottom: 22px;
  left: 18px;
}

.g-chip-mini {
  background: var(--card);
}

.reviews-section {
  padding: 48px 0 28px;
}

.reviews-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.reviews-banner h2 {
  margin: 10px 0 6px;
}

.reviews-banner p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-head div {
  flex: 1;
  min-width: 0;
}

.review-head small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.review-card .stars {
  margin-bottom: 8px;
}

.review-card p {
  margin: 0 0 12px;
  color: var(--ink);
}

.review-source {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.reviews-cta {
  margin-top: 22px;
}

@media (max-width: 980px) {
  .hero {
    padding: 40px 0 28px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .reviews-banner {
    text-align: center;
    justify-content: center;
  }
  .hero-proof {
    justify-content: center;
  }
  .shape-panel {
    height: 240px;
  }
  .shape-core {
    width: 110px;
    height: 110px;
    font-size: 2.4rem;
  }
  .visual {
    min-height: 0;
  }
  .carousel-track > *,
  .carousel-track .card {
    min-height: 300px;
  }
  .carousel[data-item="pill"] .carousel-track > * {
    min-height: 88px;
    height: 88px;
  }
  .carousel-track > *:has(.project-cover),
  .carousel-track .card:has(.project-cover) {
    min-height: 360px;
  }
}
