/* ==========================================================================
   SHABA INSIGHTS  |  Main stylesheet  (v3)
   Brand: emerald + deep lagoon ink, with mint paper and a warm sun accent.
   Mobile first. Everything below 700px is the base; larger screens add to it.

   CONTENTS
   01  Fonts
   02  Design tokens
   03  Reset and base
   04  Layout helpers and section themes
   05  Typography helpers
   06  Buttons
   07  Icons and shapes
   08  Page transition curtain and preloader
   09  Header, navigation and mobile menu
   10  Floating buttons (WhatsApp, back to top) and progress bar
   11  Hero
   12  Marquee
   13  Manifesto (scroll-filled text)
   14  Service accordion
   15  Booking and payments showcase (phone)
   16  Process timeline
   17  About teaser and portrait
   18  Pricing band and CTA
   19  Footer
   20  Inner page heroes
   21  About page
   22  Services page
   23  Pricing page
   24  Contact page and form
   25  404 page
   26  Reveal states and utilities
   27  Reduced motion
   ========================================================================== */


/* ==========================================================================
   01  FONTS  (self-hosted, no external requests)
   ========================================================================== */

@font-face {
  font-family: "Syne";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/syne-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Syne";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/syne-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Syne";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/syne-latin-800-normal.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}


/* ==========================================================================
   02  DESIGN TOKENS
   ========================================================================== */

:root {
  /* Brand greens (the originals are kept) */
  --emerald:      #1D9E75;
  --emerald-d:    #0F6E56;
  --emerald-dd:   #085041;

  /* Deep lagoon, used instead of black */
  --ink:          #052A24;
  --ink-2:        #08392F;
  --ink-3:        #0C4A3D;

  /* Light surfaces */
  --mint:         #E1F5EE;
  --paper:        #F4FAF7;
  --white:        #FFFFFF;

  /* Accents */
  --glow:         #5FF0B4;
  --sun:          #FFC24B;
  --whatsapp:     #25D366;
  --danger:       #C93C3C;

  /* Type */
  --font-display: "Syne", "Trebuchet MS", sans-serif;
  --font-body:    "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-code:    "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --fs-hero:      clamp(2.2rem, 8.4vw, 4.3rem);
  --fs-h1:        clamp(2.1rem, 7vw + 0.2rem, 4.6rem);
  --fs-h2:        clamp(1.75rem, 4.6vw + 0.2rem, 3rem);
  --fs-h3:        clamp(1.15rem, 1.2vw + 1rem, 1.5rem);
  --fs-lead:      clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem);

  /* Space and shape */
  --gutter:       clamp(20px, 5vw, 48px);
  --max:          1200px;
  --r-sm:         12px;
  --r-md:         20px;
  --r-lg:         32px;
  --r-pill:       999px;

  /* Motion */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:      cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Header height is used for scroll offsets */
  --header-h:     76px;
}


/* ==========================================================================
   03  RESET AND BASE
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #0B2A22;
  background: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

button {
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--glow);
  outline-offset: 3px;
  border-radius: 6px;
}

.s-light :focus-visible,
.s-mint :focus-visible {
  outline-color: var(--emerald-d);
}

::selection {
  background: var(--glow);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--glow);
  color: var(--ink);
  font-weight: 700;
  transition: top 0.25s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

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


/* ==========================================================================
   04  LAYOUT HELPERS AND SECTION THEMES
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Each theme only sets variables, so it never fights with .section */
.s-dark {
  --bg: var(--ink);
  --fg: #E6F6EF;
  --muted: #9CC9B8;
  --line: rgba(255, 255, 255, 0.14);
  --accent: var(--glow);
  --card: rgba(255, 255, 255, 0.06);
  --card-line: rgba(255, 255, 255, 0.12);
}

.s-light {
  --bg: var(--paper);
  --fg: #0B2A22;
  --muted: #3F6657;
  --line: rgba(5, 42, 36, 0.14);
  --accent: var(--emerald-d);
  --card: #FFFFFF;
  --card-line: rgba(5, 42, 36, 0.1);
}

.s-mint {
  --bg: var(--mint);
  --fg: #0B2A22;
  --muted: #2F5A4A;
  --line: rgba(5, 42, 36, 0.16);
  --accent: var(--emerald-d);
  --card: rgba(255, 255, 255, 0.75);
  --card-line: rgba(5, 42, 36, 0.1);
}

.s-green {
  --bg: var(--emerald-d);
  --fg: #FFFFFF;
  --muted: #D3F1E5;
  --line: rgba(255, 255, 255, 0.25);
  --accent: var(--sun);
  --card: rgba(255, 255, 255, 0.12);
  --card-line: rgba(255, 255, 255, 0.22);
}

.s-dark,
.s-light,
.s-mint,
.s-green {
  color: var(--fg);
}

.section {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding-block: clamp(72px, 12vw, 136px);
}

.section--tight {
  padding-block: clamp(48px, 8vw, 88px);
}

/* Animated wave that sits on the top edge of a section */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -39px;
  height: 40px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.wave::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 200%;
  background: var(--bg);
  -webkit-mask: url("../images/wave.svg") 0 0 / 50% 100% repeat-x;
  mask: url("../images/wave.svg") 0 0 / 50% 100% repeat-x;
  animation: wave-slide 16s linear infinite;
}

@keyframes wave-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.split-2 {
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

@media (min-width: 900px) {
  .split-2 {
    grid-template-columns: 1fr 1fr;
  }
}


/* ==========================================================================
   05  TYPOGRAPHY HELPERS
   ========================================================================== */

.h1 {
  font-size: var(--fs-h1);
}

.h2 {
  font-size: var(--fs-h2);
}

.h3 {
  font-size: var(--fs-h3);
}

.lead {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 56ch;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 6vw, 64px);
}

.section-head .lead {
  margin-top: 18px;
}

.center {
  text-align: center;
  margin-inline: auto;
}

.center .lead {
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--r-pill);
  background: var(--card);
  border: 1px solid var(--card-line);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
}

.kicker .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* Words that get split by JS into masked lines for the reveal */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.split .w > span {
  display: inline-block;
  will-change: transform;
}


/* ==========================================================================
   06  BUTTONS
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 52px;
  padding: 0.85em 1.5em;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  user-select: none;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), color 0.3s;
}

.btn:active {
  transform: scale(0.95);
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  transition: transform 0.35s var(--ease-spring);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* Fill that slides up on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
  border-radius: inherit;
}

.btn:hover::before {
  transform: translateY(0);
}

.btn-glow {
  background: var(--glow);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(95, 240, 180, 0.7);
}

.btn-glow::before {
  background: #FFFFFF;
}

.btn-solid {
  background: var(--emerald-d);
  color: #FFFFFF;
  box-shadow: 0 12px 28px -12px rgba(15, 110, 86, 0.8);
}

.btn-solid::before {
  background: var(--ink);
}

.btn-sun {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 12px 28px -12px rgba(255, 194, 75, 0.8);
}

.btn-sun::before {
  background: #FFFFFF;
}

.btn-ghost {
  color: var(--fg);
  box-shadow: inset 0 0 0 2px var(--line);
}

.btn-ghost::before {
  background: var(--fg);
}

.btn-ghost:hover {
  color: var(--bg);
}

.btn-wa {
  background: var(--whatsapp);
  color: #06301A;
}

.btn-wa::before {
  background: #FFFFFF;
}

.btn-sm {
  min-height: 44px;
  padding: 0.6em 1.2em;
  font-size: 0.95rem;
}

.btn-lg {
  min-height: 58px;
  padding: 1em 1.9em;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Tap and click ripple, added by JS */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  transform: scale(0);
  pointer-events: none;
  animation: ripple 0.65s var(--ease-out) forwards;
}

@keyframes ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}


/* ==========================================================================
   07  ICONS AND SHAPES
   ========================================================================== */

.icon {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Organic morphing shape used behind icons and photos */
.blob {
  border-radius: 62% 38% 56% 44% / 48% 56% 44% 52%;
  animation: morph 10s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 62% 38% 56% 44% / 48% 56% 44% 52%; }
  25%      { border-radius: 44% 56% 38% 62% / 56% 42% 58% 44%; }
  50%      { border-radius: 38% 62% 50% 50% / 42% 58% 42% 58%; }
  75%      { border-radius: 56% 44% 62% 38% / 58% 46% 54% 42%; }
}

.ico-blob {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex: none;
  color: var(--ink);
  background: linear-gradient(140deg, var(--glow), #2FC795 60%, var(--emerald));
  box-shadow: 0 10px 24px -10px rgba(29, 158, 117, 0.8);
}

.ico-blob .icon {
  width: 28px;
  height: 28px;
}

/* Little pixel squares, echoing the logo's dissolving pixels */
.px {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--glow);
  opacity: 0.7;
  pointer-events: none;
}

.dot-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.2px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 75%);
  mask: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 75%);
}

.s-light .dot-grid,
.s-mint .dot-grid {
  background-image: radial-gradient(rgba(15, 110, 86, 0.18) 1.2px, transparent 1.4px);
}


/* ==========================================================================
   08  PAGE TRANSITION CURTAIN AND PRELOADER
   ========================================================================== */

.curtain {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  pointer-events: none;
  visibility: hidden;
}

.curtain i {
  flex: 1;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
}

.curtain i:nth-child(even) {
  background: var(--emerald-d);
}

.curtain .curtain-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  opacity: 0;
}

/* Leaving the page: strips rise and cover the screen */
.is-leaving .curtain {
  visibility: visible;
  pointer-events: all;
}

.is-leaving .curtain i {
  animation: curtain-in 0.5s var(--ease-io) forwards;
}

.is-leaving .curtain .curtain-logo {
  animation: fade-in 0.3s 0.25s forwards;
}

/* Arriving on the next page: strips fall away */
.is-arriving .curtain {
  visibility: visible;
}

.is-arriving .curtain i {
  transform: scaleY(1);
  transform-origin: top;
  animation: curtain-out 0.6s 0.1s var(--ease-io) forwards;
}

.is-arriving .curtain .curtain-logo {
  opacity: 1;
  animation: fade-out 0.3s forwards;
}

.curtain i:nth-child(1) { animation-delay: 0s; }
.curtain i:nth-child(2) { animation-delay: 0.05s; }
.curtain i:nth-child(3) { animation-delay: 0.1s; }
.curtain i:nth-child(4) { animation-delay: 0.15s; }
.curtain i:nth-child(5) { animation-delay: 0.2s; }

.is-arriving .curtain i:nth-child(1) { animation-delay: 0.1s; }
.is-arriving .curtain i:nth-child(2) { animation-delay: 0.15s; }
.is-arriving .curtain i:nth-child(3) { animation-delay: 0.2s; }
.is-arriving .curtain i:nth-child(4) { animation-delay: 0.25s; }
.is-arriving .curtain i:nth-child(5) { animation-delay: 0.3s; }

@keyframes curtain-in {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes curtain-out {
  from { transform: scaleY(1); transform-origin: top; }
  to   { transform: scaleY(0); transform-origin: top; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

@keyframes fade-out {
  to { opacity: 0; }
}

/* First visit loader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  background: var(--ink);
  color: #E6F6EF;
  transition: transform 0.9s var(--ease-io), opacity 0.4s 0.6s;
}

.show-preloader .preloader {
  display: grid;
}

.preloader.is-done {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.preloader-logo {
  position: relative;
  width: 132px;
  height: 132px;
}

.preloader-logo img {
  width: 100%;
  height: 100%;
  animation: preload-pop 1.2s var(--ease-spring) both, float-y 3s 1.2s ease-in-out infinite;
}

.preloader-logo::before,
.preloader-logo::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px dashed rgba(95, 240, 180, 0.5);
  animation: spin 6s linear infinite;
}

.preloader-logo::after {
  inset: -32px;
  border-style: solid;
  border-color: rgba(95, 240, 180, 0.18);
  animation-direction: reverse;
  animation-duration: 9s;
}

.preloader-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.preloader-bar {
  width: 180px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.preloader-bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--emerald), var(--glow));
  transform: scaleX(0);
  transform-origin: left;
  animation: preload-fill 1.3s var(--ease-io) forwards;
}

.preloader-count {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: #9CC9B8;
}

@keyframes preload-pop {
  from { transform: scale(0.4) rotate(-20deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes preload-fill {
  to { transform: scaleX(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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


/* ==========================================================================
   09  HEADER, NAVIGATION AND MOBILE MENU
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px var(--gutter);
  transition: transform 0.5s var(--ease-out);
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin-inline: auto;
  padding: 8px 8px 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 42, 36, 0.35);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: #E6F6EF;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
}

.site-header.is-scrolled .nav-pill {
  background: rgba(5, 42, 36, 0.86);
  border-color: rgba(95, 240, 180, 0.2);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.55);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  transition: transform 0.7s var(--ease-spring);
}

.brand:hover img {
  transform: rotate(360deg) scale(1.08);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.98rem;
  transition: background 0.3s, color 0.3s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.is-active {
  background: rgba(95, 240, 180, 0.16);
  color: var(--glow);
}

.nav-cta {
  display: none;
}

.menu-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glow);
  flex: none;
}

.menu-btn span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.45s var(--ease-spring), top 0.3s;
}

.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 27px; }

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  top: 22.5px;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  top: 22.5px;
  transform: rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .menu-btn {
    display: none;
  }
}

/* Full screen menu that opens with a circular reveal */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: calc(var(--header-h) + 12px) var(--gutter) 36px;
  background:
    radial-gradient(circle at 85% 12%, rgba(95, 240, 180, 0.22), transparent 45%),
    var(--ink);
  color: #E6F6EF;
  visibility: hidden;
  clip-path: circle(0px at calc(100% - 48px) 44px);
  transition: clip-path 0.7s var(--ease-io), visibility 0s 0.7s;
  overflow-y: auto;
}

.mobile-menu.is-open {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 48px) 44px);
  transition: clip-path 0.8s var(--ease-io), visibility 0s;
}

.mobile-menu nav {
  display: grid;
  gap: 2px;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 7.4vw, 2.4rem);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s, transform 0.6s var(--ease-out), color 0.3s;
}

.mobile-menu nav a .icon {
  width: 0.7em;
  height: 0.7em;
  color: var(--glow);
}

.mobile-menu nav a.is-active {
  color: var(--glow);
}

.mobile-menu.is-open nav a {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open nav a:nth-child(1) { transition-delay: 0.25s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.31s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.37s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 0.43s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 0.49s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: 0.55s; }

.mobile-menu-foot {
  display: grid;
  gap: 14px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s 0s, transform 0.6s 0s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu-foot {
  opacity: 1;
  transform: none;
  transition-delay: 0.68s;
}

.mobile-menu-foot p {
  color: #9CC9B8;
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}


/* ==========================================================================
   10  FLOATING BUTTONS AND PROGRESS BAR
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--glow), var(--sun));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.fab-stack {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 120;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.wa-fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #FFFFFF;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.75), 0 2px 0 rgba(255, 255, 255, 0.35) inset;
  transition: transform 0.4s var(--ease-spring);
}

.wa-fab .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.9;
  animation: wa-wiggle 5s ease-in-out infinite;
}

.wa-fab:hover {
  transform: scale(1.1) rotate(-6deg);
}

.wa-fab:active {
  transform: scale(0.92);
}

/* Pulse rings */
.wa-fab::before,
.wa-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0;
  animation: wa-pulse 2.6s ease-out infinite;
}

.wa-fab::after {
  animation-delay: 1.3s;
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.9); opacity: 0; }
}

@keyframes wa-wiggle {
  0%, 86%, 100% { transform: rotate(0); }
  89%           { transform: rotate(-14deg); }
  92%           { transform: rotate(12deg); }
  95%           { transform: rotate(-8deg); }
  98%           { transform: rotate(4deg); }
}

.wa-tip {
  position: absolute;
  right: 74px;
  bottom: 8px;
  width: max-content;
  max-width: min(230px, 62vw);
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: #FFFFFF;
  color: #0B2A22;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateX(14px) scale(0.9);
  transform-origin: right bottom;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease-spring);
}

.wa-tip.is-visible {
  opacity: 1;
  transform: none;
}

.to-top {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--glow);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px) scale(0.6);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.5s var(--ease-spring);
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-4px);
}

.to-top svg.ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.to-top svg.ring circle {
  fill: none;
  stroke-width: 3;
}

.to-top svg.ring .ring-bg {
  stroke: rgba(95, 240, 180, 0.2);
}

.to-top svg.ring .ring-fg {
  stroke: var(--glow);
  stroke-linecap: round;
  stroke-dasharray: 138.2;
  stroke-dashoffset: 138.2;
}

.to-top .icon {
  position: relative;
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}


/* ==========================================================================
   11  HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 8px);
  padding-bottom: 64px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, var(--ink-3), transparent 55%),
    var(--ink);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-aurora i {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.55), transparent 66%);
  animation: aurora 18s ease-in-out infinite;
}

.hero-aurora i:nth-child(1) {
  width: 80vmax;
  height: 80vmax;
  left: -30vmax;
  top: -34vmax;
}

.hero-aurora i:nth-child(2) {
  width: 60vmax;
  height: 60vmax;
  right: -26vmax;
  bottom: -22vmax;
  background: radial-gradient(circle, rgba(95, 240, 180, 0.3), transparent 66%);
  animation-duration: 24s;
  animation-direction: reverse;
}

.hero-aurora i:nth-child(3) {
  width: 36vmax;
  height: 36vmax;
  right: 8vmax;
  top: 6vmax;
  background: radial-gradient(circle, rgba(255, 194, 75, 0.16), transparent 66%);
  animation-duration: 30s;
}

@keyframes aurora {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(6vmax, 4vmax) scale(1.12); }
  66%      { transform: translate(-4vmax, 7vmax) scale(0.94); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero-title {
  font-size: var(--fs-hero);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.hero-title .line {
  display: block;
}

.hero-title .line-in {
  display: block;
}

/* Rolling word */
.roll {
  display: inline-block;
  height: 1.18em;
  margin: 0.06em 0;
  padding: 0 0.28em;
  border-radius: 0.34em;
  background: linear-gradient(120deg, var(--glow), #2FC795);
  color: var(--ink);
  overflow: hidden;
  vertical-align: top;
  width: var(--roll-w, auto);
  transition: width 0.6s var(--ease-out);
  transform: rotate(-1.6deg);
  box-shadow: 0 14px 34px -14px rgba(95, 240, 180, 0.8);
}

.roll-track {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.7s var(--ease-out);
}

.roll-track span {
  display: block;
  height: 1.18em;
  line-height: 1.18em;
  white-space: nowrap;
}

.hero-desc {
  margin-top: 22px;
  max-width: 52ch;
  font-size: var(--fs-lead);
  color: #B6DCCD;
}

.hero .btn-row {
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(18px, 5vw, 44px);
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  line-height: 1;
  color: var(--glow);
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: #9CC9B8;
  line-height: 1.3;
}

/* Orbit visual built around the logo */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  order: -1;
  padding: 26px 0 18px;
}

.orbit {
  position: relative;
  width: min(46vw, 184px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.orbit-logo {
  position: relative;
  z-index: 3;
  width: 82%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 40px rgba(95, 240, 180, 0.3));
  animation: float-y 6s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  border: 1.5px dashed rgba(95, 240, 180, 0.4);
  animation: spin 28s linear infinite;
}

.orbit-ring.r2 {
  inset: -22%;
  border: 1px solid rgba(95, 240, 180, 0.18);
  animation-duration: 46s;
  animation-direction: reverse;
}

.orbit-ring.r3 {
  inset: 4% -26%;
  border: 1px solid rgba(255, 194, 75, 0.3);
  animation: none;
  transform: rotate(-24deg);
}

/* Dots that travel around the rings */
.orbit-ring::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 18px 4px rgba(95, 240, 180, 0.8);
}

.orbit-ring.r2::after {
  background: var(--sun);
  box-shadow: 0 0 18px 4px rgba(255, 194, 75, 0.7);
  top: auto;
  bottom: -6px;
}

.orbit-ring.r3::after {
  display: none;
}

/* Floating service chips */
.chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  border-radius: var(--r-pill);
  background: rgba(8, 57, 47, 0.8);
  border: 1px solid rgba(95, 240, 180, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: #E6F6EF;
  white-space: nowrap;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.6);
}

.chip .icon {
  width: 18px;
  height: 18px;
  color: var(--glow);
}

.chip.c1 { left: -22%; top: 8%;    animation: bob-a 6s ease-in-out infinite; }
.chip.c2 { right: -24%; top: 22%;  animation: bob-b 7s ease-in-out infinite; }
.chip.c3 { left: -16%; bottom: 10%; animation: bob-b 8s ease-in-out infinite; }
.chip.c4 { right: -18%; bottom: 2%; animation: bob-a 9s ease-in-out infinite; }

.chip.c2 .icon,
.chip.c4 .icon {
  color: var(--sun);
}

@keyframes bob-a {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-12px) rotate(2deg); }
}

@keyframes bob-b {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(12px) rotate(-2deg); }
}

/* Terminal that keeps the original developer feel */
.hero-term {
  display: none;
  position: absolute;
  z-index: 5;
  left: -8%;
  bottom: -14%;
  width: 270px;
  border-radius: 14px;
  background: rgba(3, 24, 20, 0.92);
  border: 1px solid rgba(95, 240, 180, 0.25);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.7);
  font-family: var(--font-code);
  font-size: 0.72rem;
  line-height: 1.7;
  color: #BFE7D6;
  overflow: hidden;
}

.term-bar {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.06);
}

.term-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FF6B6B;
}

.term-bar i:nth-child(2) { background: #FFC24B; }
.term-bar i:nth-child(3) { background: #5FF0B4; }

.term-body {
  padding: 10px 14px 14px;
  min-height: 112px;
}

.term-body .k { color: #7FD1FF; }
.term-body .s { color: #FFC24B; }
.term-body .g { color: var(--glow); }

.term-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--glow);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  display: none;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--glow);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

@media (min-width: 700px) {
  .hero-term {
    display: block;
  }

  .scroll-cue {
    display: block;
  }

  .orbit {
    width: min(46vw, 360px);
  }

  .chip {
    gap: 8px;
    padding: 8px 14px 8px 10px;
    font-size: 0.85rem;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .hero-visual {
    order: 2;
  }

  .orbit {
    width: min(38vw, 440px);
  }
}


/* ==========================================================================
   12  MARQUEE
   ========================================================================== */

.marquee-wrap {
  position: relative;
  z-index: 3;
  padding: 26px 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink) 50%, var(--paper) 50%);
}

.marquee-band {
  width: 112%;
  margin-left: -6%;
  transform: rotate(-1.6deg);
  transform-origin: center;
}

.marquee {
  display: flex;
  overflow: hidden;
  padding: 16px 0;
  background: var(--glow);
  color: var(--ink);
  user-select: none;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.marquee.alt {
  background: var(--sun);
  margin-top: -2px;
  transform: rotate(1.2deg) scale(1.02);
}

.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  will-change: transform;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 3.4vw, 1.7rem);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--ink);
  transform: rotate(45deg);
}



/* ==========================================================================
   13  MANIFESTO (text fills in as you scroll)
   ========================================================================== */

.manifesto {
  padding-block: clamp(56px, 10vw, 120px);
}

.manifesto-text {
  max-width: 980px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 6.2vw, 3.7rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.manifesto-text .mw {
  opacity: 0.16;
  transition: opacity 0.25s;
}

.manifesto-text .mw.is-lit {
  opacity: 1;
}

.manifesto-text .mw.hl {
  color: var(--emerald-d);
}


/* ==========================================================================
   14  SERVICE ACCORDION
   ========================================================================== */

.svc-list {
  border-top: 1px solid var(--line);
}

.svc {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.svc::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  background: linear-gradient(90deg, rgba(95, 240, 180, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.svc:hover::before,
.svc.is-open::before {
  opacity: 1;
}

.svc-h {
  font-size: inherit;
  letter-spacing: normal;
  line-height: inherit;
}

.svc-head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  color: var(--fg);
}

.svc-title {
  flex: 1;
  min-width: 0;
}

.svc-title strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 3.4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  transition: transform 0.45s var(--ease-out), color 0.3s;
}

.svc-title small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  margin-top: 4px;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.4;
}

.svc-head:hover .svc-title strong {
  transform: translateX(8px);
  color: var(--accent);
}

.svc-plus {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: transform 0.5s var(--ease-spring), background 0.3s, color 0.3s;
}

.svc.is-open .svc-plus {
  transform: rotate(135deg);
  background: var(--glow);
  border-color: var(--glow);
  color: var(--ink);
}

.svc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}

.svc.is-open .svc-body {
  grid-template-rows: 1fr;
}

.svc-body > div {
  min-height: 0;
  overflow: hidden;
}

.svc-body-in {
  display: grid;
  gap: 18px;
  padding: 0 0 28px 76px;
}

.svc-body-in ul {
  display: grid;
  gap: 8px;
}

.svc-body-in li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.svc-body-in li .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--accent);
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}

.svc-link .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-spring);
}

.svc-link:hover .icon {
  transform: translate(3px, -3px);
}

.tag-premium {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--sun);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0;
  vertical-align: middle;
}

@media (max-width: 520px) {
  .svc-body-in {
    padding-left: 0;
  }

  .svc-head .ico-blob {
    width: 52px;
    height: 52px;
  }
}


/* ==========================================================================
   15  BOOKING AND PAYMENTS SHOWCASE (animated phone)
   ========================================================================== */

.showcase {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .showcase {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 26px 0 32px;
}

.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-list .ico-blob {
  width: 46px;
  height: 46px;
}

.feature-list .ico-blob .icon {
  width: 22px;
  height: 22px;
}

.feature-list b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.2;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.98rem;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone-stage .blob-bg {
  position: absolute;
  width: min(88vw, 440px);
  aspect-ratio: 1;
  background: linear-gradient(150deg, var(--emerald), var(--ink-3));
  opacity: 0.92;
}

.phone-stage .ring {
  position: absolute;
  width: min(100vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(15, 110, 86, 0.4);
  animation: spin 40s linear infinite;
}

.phone {
  position: relative;
  z-index: 2;
  width: 260px;
  height: 520px;
  padding: 10px;
  border-radius: 40px;
  background: #0A1F1A;
  box-shadow:
    0 40px 70px -24px rgba(5, 42, 36, 0.8),
    0 0 0 2px #1F4A3E inset;
  animation: float-y 7s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 78px;
  height: 20px;
  margin-left: -39px;
  border-radius: 12px;
  background: #0A1F1A;
}

.phone-screen {
  position: relative;
  height: 100%;
  padding: 44px 16px 16px;
  border-radius: 30px;
  background: #F4FAF7;
  color: #0B2A22;
  overflow: hidden;
}

.ph-head b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
}

.ph-head small {
  color: #3F6657;
  font-size: 0.8rem;
}

.ph-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 16px;
  text-align: center;
  font-size: 0.74rem;
}

.ph-cal em {
  font-style: normal;
  color: #6C8F80;
  font-size: 0.66rem;
}

.ph-cal span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #E1F5EE;
  font-weight: 700;
}

.ph-cal span.pick {
  animation: ph-pick-day 9s var(--ease-out) infinite;
}

.ph-label {
  margin: 18px 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #3F6657;
}

.ph-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ph-slots span {
  padding: 8px 0;
  border-radius: 10px;
  border: 1.5px solid #BFE3D4;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.ph-slots span.pick {
  animation: ph-pick-slot 9s var(--ease-out) infinite;
}

.ph-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 13px;
  border-radius: 14px;
  background: #0F6E56;
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  animation: ph-pay 9s var(--ease-out) infinite;
}

.ph-pay .icon {
  width: 18px;
  height: 18px;
}

.ph-summary {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 6px 18px -10px rgba(5, 42, 36, 0.4);
  font-size: 0.8rem;
}

.ph-summary b {
  color: #0F6E56;
}

.ph-done {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: linear-gradient(160deg, #0F6E56, #052A24);
  color: #FFF;
  text-align: center;
  opacity: 0;
  animation: ph-done 9s var(--ease-out) infinite;
}

.ph-done b {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.15;
}

.ph-done small {
  color: #BFE7D6;
}

.ph-done svg {
  width: 84px;
  height: 84px;
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-done circle {
  stroke: rgba(255, 255, 255, 0.25);
}

.ph-done path {
  stroke: #5FF0B4;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: ph-check 9s var(--ease-out) infinite;
}

@keyframes ph-pick-day {
  0%, 10%   { background: #E1F5EE; color: #0B2A22; transform: scale(1); }
  13%       { transform: scale(1.3); }
  16%, 94%  { background: #0F6E56; color: #FFF; transform: scale(1); }
  100%      { background: #E1F5EE; color: #0B2A22; }
}

@keyframes ph-pick-slot {
  0%, 28%   { background: transparent; border-color: #BFE3D4; color: #0B2A22; }
  32%, 94%  { background: #5FF0B4; border-color: #5FF0B4; color: #052A24; }
  100%      { background: transparent; border-color: #BFE3D4; }
}

@keyframes ph-pay {
  0%, 38%   { transform: scale(1); box-shadow: none; }
  42%       { box-shadow: 0 0 0 8px rgba(15, 110, 86, 0.25); }
  50%       { transform: scale(0.94); }
  54%, 100% { transform: scale(1); box-shadow: none; }
}

@keyframes ph-done {
  0%, 56%   { opacity: 0; transform: scale(1.06); }
  62%, 90%  { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; }
}

@keyframes ph-check {
  0%, 62%   { stroke-dashoffset: 60; }
  70%, 100% { stroke-dashoffset: 0; }
}

/* Notification chips around the phone */
.notif {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: #FFFFFF;
  color: #0B2A22;
  font-size: 0.82rem;
  line-height: 1.25;
  box-shadow: 0 18px 36px -14px rgba(5, 42, 36, 0.6);
  opacity: 0;
}

.notif b {
  display: block;
  font-family: var(--font-display);
}

.notif .ico-blob {
  width: 34px;
  height: 34px;
  animation: none;
  border-radius: 12px;
}

.notif .ico-blob .icon {
  width: 18px;
  height: 18px;
}

.notif.n1 {
  left: -6px;
  top: 90px;
  animation: notif 9s var(--ease-spring) infinite 0s;
}

.notif.n2 {
  right: -6px;
  bottom: 110px;
  animation: notif 9s var(--ease-spring) infinite 0.35s;
}

.notif.n2 .ico-blob {
  background: var(--sun);
}

@keyframes notif {
  0%, 60%   { opacity: 0; transform: translateY(20px) scale(0.8); }
  66%, 90%  { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-10px); }
}


/* ==========================================================================
   16  PROCESS TIMELINE
   ========================================================================== */

.steps {
  position: relative;
  max-width: 820px;
  padding-left: 64px;
}

.steps-rail {
  position: absolute;
  left: 22px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.steps-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--emerald), var(--glow));
  transform: scaleY(0);
  transform-origin: top;
  box-shadow: 0 0 18px rgba(95, 240, 180, 0.7);
}

.steps-rocket {
  position: absolute;
  left: -14px;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  transform: translateY(-50%);
}

.steps-rocket .icon {
  width: 18px;
  height: 18px;
  transform: rotate(135deg);
}

.step {
  position: relative;
  padding-bottom: clamp(36px, 7vw, 64px);
}

.step:last-child {
  padding-bottom: 0;
}

.step-dot {
  position: absolute;
  left: -64px;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-weight: 800;
  transition: background 0.4s, border-color 0.4s, color 0.4s, transform 0.5s var(--ease-spring);
}

.step.is-lit .step-dot {
  background: var(--glow);
  border-color: var(--glow);
  color: var(--ink);
  transform: scale(1.1);
}

.step h3 {
  font-size: clamp(1.35rem, 4vw, 2rem);
  margin-bottom: 8px;
  padding-top: 6px;
}

.step p {
  color: var(--muted);
  max-width: 54ch;
}


/* ==========================================================================
   17  ABOUT TEASER AND PORTRAIT
   ========================================================================== */

.portrait {
  position: relative;
  width: min(84%, 460px);
  margin-inline: auto;
  aspect-ratio: 1;
}

.portrait-photo {
  position: absolute;
  inset: 6%;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 40px 70px -30px rgba(5, 42, 36, 0.7);
  animation-duration: 14s;
}

.portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 24%;
}

.portrait-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, var(--emerald), var(--glow));
  opacity: 0.55;
  animation-duration: 12s;
  animation-direction: reverse;
  transform: rotate(8deg);
}

.portrait-text {
  position: absolute;
  inset: -9%;
  width: 118%;
  max-width: none;
  height: 118%;
  animation: spin 28s linear infinite;
  pointer-events: none;
}

.portrait-text text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.6px;
  fill: var(--emerald-d);
  letter-spacing: 0.06em;
}

.badge-float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--r-pill);
  background: #FFFFFF;
  box-shadow: 0 18px 34px -14px rgba(5, 42, 36, 0.55);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: #0B2A22;
}

.badge-float .icon {
  width: 18px;
  height: 18px;
  color: var(--emerald-d);
}

.badge-float.b1 {
  left: -2%;
  bottom: 12%;
  animation: bob-a 7s ease-in-out infinite;
}

.badge-float.b2 {
  right: -2%;
  top: 8%;
  background: var(--sun);
  animation: bob-b 8s ease-in-out infinite;
}

.badge-float.b2 .icon {
  color: var(--ink);
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.skill {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--card);
  border: 1px solid var(--card-line);
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.35s var(--ease-spring), background 0.3s, color 0.3s;
}

.skill:hover {
  transform: translateY(-4px) rotate(-2deg);
  background: var(--glow);
  color: var(--ink);
}


/* ==========================================================================
   18  PRICING BAND AND CTA
   ========================================================================== */

.price-band {
  position: relative;
  overflow: hidden;
}

.price-band::before {
  content: "";
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  right: -30vmax;
  top: -40vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 240, 180, 0.35), transparent 65%);
  animation: aurora 20s ease-in-out infinite;
}

.price-pills {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.price-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}

.price-pill:hover {
  transform: translateY(-5px) rotate(-0.6deg);
  background: rgba(255, 255, 255, 0.18);
}

.price-pill b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.price-pill small {
  color: #D3F1E5;
}

.price-pill .amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--sun);
  white-space: nowrap;
}

.price-pill s {
  display: block;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 400;
  text-align: right;
  color: #BFE7D6;
}

@media (min-width: 800px) {
  .price-pills {
    grid-template-columns: repeat(3, 1fr);
  }

  .price-pill {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }

  .price-pill s {
    text-align: left;
  }
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 8vw, 88px) clamp(24px, 6vw, 72px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 85% 10%, rgba(95, 240, 180, 0.35), transparent 50%),
    linear-gradient(140deg, var(--ink-3), var(--ink-2));
  border: 1px solid rgba(95, 240, 180, 0.25);
  text-align: center;
  color: #E6F6EF;
}

.cta-card h2 {
  max-width: 16ch;
  margin-inline: auto;
}

.cta-card p {
  max-width: 48ch;
  margin: 18px auto 30px;
  color: #B6DCCD;
  font-size: var(--fs-lead);
}

.cta-card .btn-row {
  justify-content: center;
}

.cta-card .orbit-ring {
  inset: auto;
  width: 520px;
  height: 520px;
  left: -200px;
  bottom: -300px;
}

.cta-card .orbit-ring.r2 {
  width: 360px;
  height: 360px;
  left: auto;
  right: -140px;
  top: -200px;
  bottom: auto;
}


/* ==========================================================================
   19  FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 96px) 0 28px;
  background: #031C18;
  color: #CFEDE1;
}

.footer-top {
  display: grid;
  gap: 40px;
}

.footer-brand p {
  max-width: 38ch;
  margin-top: 16px;
  color: #8DBBAA;
}

.footer-brand .brand img {
  width: 54px;
  height: 54px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 20px;
}

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: #FFFFFF;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  word-break: break-word;
  align-items: center;
  gap: 8px;
  color: #9CC9B8;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.footer-col a:hover {
  color: var(--glow);
}

.footer-col a:hover::after {
  transform: scaleX(1);
}

.footer-col .icon {
  width: 18px;
  height: 18px;
}

.footer-giant {
  margin-top: clamp(40px, 7vw, 80px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 8.1vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(95, 240, 180, 0.35);
  background: linear-gradient(100deg, transparent 30%, rgba(95, 240, 180, 0.35) 50%, transparent 70%) 0 0 / 250% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  animation: footer-sheen 7s linear infinite;
  user-select: none;
}

@keyframes footer-sheen {
  from { background-position: 150% 0; }
  to   { background-position: -50% 0; }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  color: #7FAF9D;
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1.2fr 1.8fr;
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ==========================================================================
   20  INNER PAGE HEROES
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 9vw, 100px)) 0 clamp(80px, 12vw, 140px);
  background:
    radial-gradient(ellipse at 90% 0%, var(--ink-3), transparent 60%),
    var(--ink);
  color: #E6F6EF;
}

.page-hero .hero-aurora i:nth-child(1) {
  width: 60vmax;
  height: 60vmax;
  left: -20vmax;
  top: -30vmax;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: var(--fs-h1);
  max-width: 15ch;
}

.page-hero .lead {
  margin-top: 22px;
  color: #B6DCCD;
}

.page-hero .orbit-deco {
  position: absolute;
  right: -14vmax;
  top: 50%;
  width: 44vmax;
  height: 44vmax;
  margin-top: -22vmax;
  pointer-events: none;
  opacity: 0.8;
}

.page-hero .orbit-deco .orbit-ring {
  inset: 0;
}

.page-hero .orbit-deco .orbit-ring.r2 {
  inset: 14%;
}

.page-hero .orbit-deco .orbit-ring.r3 {
  inset: 28%;
  border-color: rgba(95, 240, 180, 0.25);
}

.page-hero .px.a { left: 62%; top: 24%; }
.page-hero .px.b { left: 70%; top: 66%; width: 14px; height: 14px; background: var(--sun); }
.page-hero .px.c { left: 52%; top: 78%; width: 7px; height: 7px; }


/* ==========================================================================
   21  ABOUT PAGE
   ========================================================================== */

.profile-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 960px) {
  .profile-grid {
    grid-template-columns: 400px 1fr;
    gap: 72px;
    align-items: start;
  }

  .profile-side {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.profile-card {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--card-line);
  box-shadow: 0 24px 50px -30px rgba(5, 42, 36, 0.35);
}

.profile-card h2 {
  font-size: 1.7rem;
}

.profile-card .role {
  margin-top: 4px;
  color: var(--accent);
  font-weight: 700;
}

.contact-mini {
  display: grid;
  gap: 4px;
  margin: 22px 0;
}

.contact-mini a,
.contact-mini div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px;
  border-radius: 14px;
  font-size: 0.98rem;
  word-break: break-word;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}

.contact-mini a:hover {
  background: var(--mint);
  transform: translateX(4px);
}

.contact-mini .icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.bio h2 {
  font-size: clamp(1.6rem, 4.4vw, 2.4rem);
  margin-bottom: 18px;
}

.bio-block + .bio-block {
  margin-top: clamp(40px, 7vw, 72px);
}

.bio p {
  max-width: 62ch;
  color: var(--muted);
}

.bio p + p {
  margin-top: 16px;
}

.bio strong {
  color: var(--fg);
}

.expertise {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

@media (min-width: 640px) {
  .expertise {
    grid-template-columns: repeat(2, 1fr);
  }
}

.expertise-item {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--card-line);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.4s;
}

.expertise-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 40px -26px rgba(5, 42, 36, 0.5);
}

.expertise-item .ico-blob {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
}

.expertise-item h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.expertise-item p {
  font-size: 0.96rem;
}

.values {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value {
  position: relative;
  padding: 32px 26px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--card-line);
  overflow: hidden;
}

.value::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 24px solid rgba(95, 240, 180, 0.1);
  transition: transform 0.8s var(--ease-out);
}

.value:hover::after {
  transform: scale(1.5);
}

.value .icon {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--glow);
}

.value h3 {
  margin-bottom: 8px;
}

.value p {
  color: var(--muted);
}

.skills-marquee {
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.skills-marquee .marquee-track {
  gap: 12px;
  padding-right: 12px;
}

.skills-marquee .skill {
  white-space: nowrap;
  font-size: 1rem;
  padding: 12px 22px;
}


/* ==========================================================================
   22  SERVICES PAGE
   ========================================================================== */

.jump-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 10px 0;
  background: rgba(244, 250, 247, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5, 42, 36, 0.1);
  transition: top 0.5s var(--ease-out);
}

body.header-hidden .jump-nav {
  top: 0;
}

body:not(.header-hidden) .jump-nav {
  top: calc(var(--header-h) - 6px);
}

.jump-nav .wrap {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.jump-nav .wrap::-webkit-scrollbar {
  display: none;
}

.jump-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(5, 42, 36, 0.14);
  font-weight: 700;
  font-size: 0.92rem;
  color: #0B2A22;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-spring);
}

.jump-nav a .icon {
  width: 18px;
  height: 18px;
}

.jump-nav a:active {
  transform: scale(0.94);
}

.jump-nav a.is-active {
  background: var(--emerald-d);
  border-color: var(--emerald-d);
  color: #FFFFFF;
}

.svc-group {
  display: grid;
  gap: 36px;
}

@media (min-width: 960px) {
  .svc-group {
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
  }

  .svc-group-head {
    position: sticky;
    top: calc(var(--header-h) + 90px);
  }
}

.svc-group-head p {
  margin-top: 16px;
  color: var(--muted);
}

.panels {
  display: grid;
  gap: 18px;
}

.panel {
  position: relative;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--card-line);
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.4s;
}

.panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 46px -30px rgba(5, 42, 36, 0.55);
}

.panel-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.panel h3 {
  font-size: clamp(1.2rem, 3.2vw, 1.55rem);
}

.panel > p {
  color: var(--muted);
  margin-bottom: 18px;
}

.checks {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .checks {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 22px;
  }
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.98rem;
}

.checks .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  padding: 3px;
  border-radius: 50%;
  background: var(--emerald-d);
  color: #FFFFFF;
  stroke-width: 3;
}

.s-dark .checks .icon {
  background: var(--glow);
  color: var(--ink);
}

.panel.is-premium {
  background: linear-gradient(150deg, var(--ink-2), var(--ink));
  color: #E6F6EF;
  border-color: rgba(95, 240, 180, 0.35);
  --muted: #9CC9B8;
  --accent: var(--glow);
}

.panel.is-premium .checks .icon {
  background: var(--glow);
  color: var(--ink);
}

.panel.is-premium::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 194, 75, 0.35), transparent 65%);
}


/* ==========================================================================
   23  PRICING PAGE
   ========================================================================== */

.promo {
  position: relative;
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 6vw, 56px);
  padding: 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--sun), #FFD98B);
  color: var(--ink);
  overflow: hidden;
}

.promo::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  left: -140px;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  animation: shimmer 4.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 55% { left: -140px; }
  100%    { left: 130%; }
}

.promo .ico-blob {
  background: var(--ink);
  color: var(--sun);
  box-shadow: none;
}

.promo h2 {
  font-size: clamp(1.3rem, 4vw, 2rem);
}

.promo p {
  margin-top: 6px;
  max-width: 70ch;
}

@media (min-width: 700px) {
  .promo {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 28px 36px;
  }
}

.packages {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

@media (min-width: 960px) {
  .packages {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--card-line);
  box-shadow: 0 24px 50px -34px rgba(5, 42, 36, 0.5);
}

.package h3 {
  font-size: 1.7rem;
}

.package .sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.98rem;
}

.package .was {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.package .was s {
  color: #6C8F80;
  font-size: 1.05rem;
}

.off {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--sun);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.package .price {
  margin-top: 2px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.package .price small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--muted);
}

.package .free {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--emerald-dd);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.package .free .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.package .checks {
  grid-template-columns: 1fr;
  margin: 22px 0 26px;
  gap: 11px;
}

.package .btn {
  margin-top: auto;
}

.package.popular {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  color: #E6F6EF;
  --muted: #9CC9B8;
  border-color: transparent;
  box-shadow: 0 40px 70px -30px rgba(5, 42, 36, 0.8);
}

.package.popular .free {
  background: rgba(95, 240, 180, 0.14);
  color: var(--glow);
}

.package.popular .checks .icon,
.package.premium .checks .icon {
  background: var(--glow);
  color: var(--ink);
}

.package.popular .was s {
  color: #7FAF9D;
}

@media (min-width: 960px) {
  .package.popular {
    padding-block: 44px 34px;
  }
}

/* Rotating gradient border on the popular plan */
.package.popular::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: calc(var(--r-lg) + 2px);
  background: conic-gradient(from var(--spin, 0deg), var(--emerald), var(--glow), var(--sun), var(--emerald));
  animation: border-spin 6s linear infinite;
}

@property --spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes border-spin {
  to { --spin: 360deg; }
}

.badge-pop {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 18px;
  border-radius: var(--r-pill);
  background: var(--sun);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
  animation: bob-a 4s ease-in-out infinite;
}

.package.premium {
  background: linear-gradient(160deg, #FFFFFF, #E8F8F1);
  border: 1.5px solid var(--emerald);
}

.new-tag {
  flex: none;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--sun);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.5;
  align-self: flex-start;
  margin-top: 3px;
}

.addons {
  border-top: 1px solid var(--line);
}

.addon {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding 0.4s var(--ease-out);
}

.addon:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(95, 240, 180, 0.12), transparent);
}

.addon h3 {
  font-size: 1.2rem;
}

.addon p {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.97rem;
}

.addon .meta {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 6px;
}

.addon .meta span {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--card);
  border: 1px solid var(--card-line);
  font-size: 0.82rem;
  font-weight: 500;
}

.addon .amount {
  grid-column: 2;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--accent);
}

@media (min-width: 800px) {
  .addon {
    grid-template-columns: auto 1.4fr 1fr auto;
    gap: 24px;
  }

  .addon p,
  .addon .meta,
  .addon .amount {
    grid-column: auto;
    margin-top: 0;
  }

  .addon .meta {
    justify-content: flex-start;
  }
}

.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px dashed var(--line);
}

.note .icon {
  color: var(--accent);
  margin-top: 2px;
}

.note p {
  color: var(--muted);
}

.note strong {
  color: var(--fg);
}

.faq {
  max-width: 820px;
}

.faq .svc-title strong {
  font-size: clamp(1.08rem, 2.8vw, 1.35rem);
}

.faq .svc-body-in {
  padding: 0 0 24px;
  color: var(--muted);
  max-width: 64ch;
}


/* ==========================================================================
   24  CONTACT PAGE AND FORM
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: 36px;
  align-items: start;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--card-line);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.3s;
}

.method:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
  box-shadow: 0 24px 40px -28px rgba(5, 42, 36, 0.55);
}

.method .ico-blob {
  width: 54px;
  height: 54px;
}

.method small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

.method b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.25;
  word-break: break-word;
}

.method .go {
  margin-left: auto;
  color: var(--accent);
  transition: transform 0.35s var(--ease-spring);
}

.method:hover .go {
  transform: translate(4px, -4px);
}

.method.is-wa .ico-blob {
  background: var(--whatsapp);
  color: #FFFFFF;
}

.map {
  position: relative;
  margin-top: 18px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--card-line);
  background: var(--mint);
  aspect-ratio: 4 / 3;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85) hue-rotate(-8deg);
}

.map-pin {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  background: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}

.map-pin .icon {
  width: 18px;
  height: 18px;
  color: var(--emerald-d);
}

.form-card {
  position: relative;
  padding: clamp(22px, 5vw, 40px);
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--card-line);
  box-shadow: 0 40px 70px -44px rgba(5, 42, 36, 0.6);
  overflow: hidden;
}

.form-card h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin-bottom: 6px;
}

.form-card > p {
  color: var(--muted);
  margin-bottom: 24px;
}

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

@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  position: relative;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 58px;
  padding: 24px 16px 8px;
  border-radius: 16px;
  border: 1.5px solid rgba(5, 42, 36, 0.18);
  background: #FFFFFF;
  color: #0B2A22;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F6E56' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
}

.field label {
  position: absolute;
  left: 17px;
  top: 17px;
  color: #4F7565;
  font-size: 1rem;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.3s var(--ease-out), color 0.3s;
}

.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label,
.field select ~ label {
  transform: translateY(-11px) scale(0.78);
}

.field input:focus ~ label,
.field select:focus ~ label,
.field textarea:focus ~ label {
  color: var(--emerald-d);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(29, 158, 117, 0.18);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(201, 60, 60, 0.12);
  animation: shake 0.4s;
}

.field-err {
  display: block;
  min-height: 0;
  margin: 6px 4px 0;
  color: var(--danger);
  font-size: 0.86rem;
  font-weight: 500;
}

.field-err:empty {
  display: none;
}

@keyframes shake {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Spam trap: hidden from people, visible to bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-actions {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.form-actions .btn-submit {
  position: relative;
}

.btn-submit .lbl {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

.btn-submit .spin {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  opacity: 0;
  animation: spin 0.8s linear infinite;
}

.btn-submit.is-loading {
  pointer-events: none;
}

.btn-submit.is-loading .lbl {
  opacity: 0;
  transform: translateY(-14px);
}

.btn-submit.is-loading .spin {
  opacity: 1;
}

.form-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: center;
}

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  background: #FBE9E9;
  color: #8E2323;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-status.is-visible {
  display: block;
}

.form-status a {
  text-decoration: underline;
  font-weight: 700;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px 0 8px;
}

.form-card.is-sent .form-success {
  display: block;
}

.form-card.is-sent form,
.form-card.is-sent > h2,
.form-card.is-sent > p.intro {
  display: none;
}

.success-check {
  width: 120px;
  height: 120px;
  margin: 0 auto 22px;
}

.success-check circle {
  fill: var(--mint);
  stroke: var(--emerald);
  stroke-width: 4;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
}

.success-check path {
  fill: none;
  stroke: var(--emerald-d);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
}

.form-card.is-sent .success-check circle {
  animation: draw 0.8s var(--ease-out) forwards;
}

.form-card.is-sent .success-check path {
  animation: draw 0.5s 0.6s var(--ease-out) forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.form-success h2 {
  font-size: clamp(1.6rem, 5vw, 2.3rem);
}

.form-success p {
  max-width: 40ch;
  margin: 12px auto 26px;
  color: var(--muted);
}

.confetti {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}


/* ==========================================================================
   25  404 PAGE
   ========================================================================== */

.lost {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, var(--ink-3), transparent 60%),
    var(--ink);
  color: #E6F6EF;
}

.lost .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 28vw, 16rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px var(--glow);
}

.lost .big span {
  display: inline-block;
  animation: bob-a 4s ease-in-out infinite;
}

.lost .big span:nth-child(2) {
  animation-name: bob-b;
  -webkit-text-stroke: 0;
  color: var(--glow);
}

.lost p {
  max-width: 42ch;
  margin: 18px auto 28px;
  color: #B6DCCD;
}

.lost .btn-row {
  justify-content: center;
}


/* ==========================================================================
   26  REVEAL STATES AND UTILITIES
   ========================================================================== */

/* Elements start hidden only when JavaScript is running.
   If the script fails, the failsafe class below shows everything. */
.js [data-reveal] {
  opacity: 0;
}

.js [data-hero] {
  opacity: 0;
}

.js [data-hero="fade"] {
  transform: translateY(24px);
}

.js [data-stagger] > * {
  opacity: 0;
}

.js.reveal-failsafe [data-reveal],
.js.reveal-failsafe [data-hero],
.js.reveal-failsafe [data-stagger] > *,
.js.reveal-failsafe .split .w > span {
  opacity: 1 !important;
  transform: none !important;
}

.spot {
  position: relative;
}

.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(95, 240, 180, 0.2), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.spot:hover::after,
.spot:active::after {
  opacity: 1;
}

.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Custom cursor for mouse users only */
.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 950;
  display: none;
  pointer-events: none;
  border-radius: 50%;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--glow);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1.5px solid var(--glow);
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), margin 0.3s var(--ease-out), background 0.3s;
}

.cursor-ring.is-hover {
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  background: rgba(95, 240, 180, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor-dot,
  .has-cursor .cursor-ring {
    display: block;
  }
}

noscript .noscript-note {
  display: block;
  padding: 12px;
  text-align: center;
  background: var(--sun);
  color: var(--ink);
}


/* ==========================================================================
   27  REDUCED MOTION
   ========================================================================== */

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

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

  .js [data-reveal] {
    opacity: 1;
  }

  .manifesto-text .mw {
    opacity: 1;
  }

  .hero-canvas,
  .preloader,
  .curtain {
    display: none !important;
  }

  .wa-fab::before,
  .wa-fab::after {
    display: none;
  }
}


/* About page: show the portrait larger */
.profile-side .portrait {
  width: min(94%, 400px);
}


/* ==========================================================================
   28  PORTFOLIO PAGE
   ========================================================================== */

.hero-stats--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

@media (min-width: 700px) {
  .hero-stats--4 { grid-template-columns: repeat(4, auto); }
}

.page-hero .orbit-deco .chip {
  position: absolute;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #E6F6EF;
  font-weight: 700;
  font-size: 0.82rem;
}

.page-hero .orbit-deco .chip .icon { width: 1em; height: 1em; color: var(--glow); }

@media (min-width: 900px) {
  .page-hero .orbit-deco .chip { display: inline-flex; }
  .page-hero .orbit-deco .chip.c1 { left: 30%; top: 14%; animation: bob-a 6s ease-in-out infinite; }
  .page-hero .orbit-deco .chip.c2 { left: 80%; top: 20%; animation: bob-b 7s ease-in-out infinite; }
  .page-hero .orbit-deco .chip.c3 { left: 84%; top: 62%; animation: bob-a 8s ease-in-out infinite; }
  .page-hero .orbit-deco .chip.c4 { left: 44%; top: 78%; animation: bob-b 6.5s ease-in-out infinite; }
}

/* ---- Project showcases ---- */

.work {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: clamp(40px, 8vw, 80px);
  padding: clamp(18px, 4vw, 40px);
  border-radius: var(--r-lg, 28px);
  background: var(--card);
  border: 1px solid var(--card-line);
  box-shadow: 0 30px 60px -40px rgba(7, 42, 36, 0.35);
}

.work-copy > * + * { margin-top: 16px; }
.work-copy .kicker .icon { width: 1em; height: 1em; }
.work-copy .h2 { font-size: clamp(1.7rem, 6.5vw, 2.6rem); }
.work .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.work-demo { min-width: 0; }

.device-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-line);
}

.device-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 700 0.85rem var(--font-body);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.device-toggle button .icon { width: 1.1em; height: 1.1em; }
.device-toggle button.is-on { background: var(--accent); color: #fff; }

.device {
  --w: 100%;
  --h: clamp(260px, 62vw, 460px);
  margin: 0 auto;
  width: var(--w);
  transition: width 0.6s var(--ease-out);
}

.device.is-phone { --w: min(100%, 250px); --h: clamp(420px, 120vw, 500px); }

.browser {
  border-radius: 16px;
  overflow: hidden;
  background: #0b2b27;
  border: 1px solid rgba(7, 42, 36, 0.25);
  box-shadow: 0 30px 60px -30px rgba(7, 42, 36, 0.55);
}

.device.is-phone .browser { border-radius: 30px; border: 6px solid #0b2b27; }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #0b2b27;
}

.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c5a52; }
.browser-bar i:nth-child(1) { background: #ff6b5b; }
.browser-bar i:nth-child(2) { background: #ffc24b; }
.browser-bar i:nth-child(3) { background: #3ddc97; }

.browser-bar .url {
  flex: 1;
  min-width: 0;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #9CC9B8;
  font: 400 0.72rem var(--font-mono, monospace);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen {
  position: relative;
  height: var(--h);
  background: #fff;
  overflow: hidden;
}

.screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 0.6s;
}

.screen.is-loaded iframe { opacity: 1; }

.screen-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--fg);
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 200, 150, 0.18), transparent 55%),
    linear-gradient(135deg, #eaf8f2, #fff);
}

.screen-fallback .icon { width: 44px; height: 44px; color: var(--accent); animation: bob-a 4s ease-in-out infinite; }
.screen-fallback b { font-family: var(--font-display); font-size: 1.3rem; }
.screen-fallback span { color: var(--muted); font-size: 0.85rem; }

.screen-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 18px;
  border: 0;
  background: linear-gradient(to top, rgba(7, 42, 36, 0.55), transparent 45%);
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.4s;
}

.screen-cover span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 700 0.88rem var(--font-body);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
  animation: pulse-soft 2.4s ease-in-out infinite;
}

.screen-cover .icon { width: 1.1em; height: 1.1em; }
.screen.is-live .screen-cover { opacity: 0; pointer-events: none; }

.demo-note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-align: center; }
.demo-note a { color: var(--accent); font-weight: 700; text-decoration: underline; }

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (min-width: 960px) {
  .work { grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
  .work--flip .work-copy { order: 2; }
  .device { --h: 440px; }
  .device.is-phone { --h: 500px; }
}

.work-next {
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: start;
  margin-top: clamp(40px, 8vw, 70px);
  padding: clamp(22px, 4vw, 36px);
  border-radius: 28px;
  border: 2px dashed var(--accent);
  background: transparent;
}

.work-next h3 { font-family: var(--font-display); font-size: 1.4rem; }
.work-next p { color: var(--muted); margin-top: 4px; }

@media (min-width: 800px) {
  .work-next { grid-template-columns: auto 1fr auto; gap: 28px; }
}

/* ---- AI section ---- */

.ai-grid { align-items: center; }

.ai-visual {
  position: relative;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.net { width: 100%; height: auto; border-radius: 22px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); padding: 10px; }
.net-line { stroke: rgba(61, 220, 151, 0.28); stroke-width: 1; }
.net-node { fill: #0b2b27; stroke: var(--glow); stroke-width: 2; animation: node-glow 3s ease-in-out infinite; }
.net-pulse { fill: var(--sun, #ffc24b); filter: drop-shadow(0 0 6px var(--sun, #ffc24b)); }

@keyframes node-glow {
  0%, 100% { fill: #0b2b27; }
  50% { fill: #13705c; }
}

.ai-term {
  border-radius: 16px;
  background: #06201c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.term-bar { display: flex; gap: 6px; padding: 10px 12px; background: #0b2b27; }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c5a52; }

.ai-term-body {
  margin: 0;
  padding: 14px 16px;
  min-height: 150px;
  font: 400 0.8rem/1.6 var(--font-mono, monospace);
  color: #9CF0CF;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-term-cap { padding: 0 16px 10px; font-size: 0.72rem; color: #6fa293; }

.ai-ideas { margin-top: clamp(40px, 7vw, 72px); }

.ai-cards {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) { .ai-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ai-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ai-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--card-line);
  transition: transform 0.4s var(--ease-out);
}

.ai-card:hover { transform: translateY(-4px); }
.ai-card > .icon { width: 28px; height: 28px; color: var(--glow); }
.ai-card b { font-family: var(--font-display); }
.ai-card span { color: var(--muted); font-size: 0.92rem; }

/* ---- Skills / code ---- */

.code-card {
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #06201c;
  color: #cdeee1;
  box-shadow: 0 30px 60px -35px rgba(7, 42, 36, 0.6);
}

.code-tabs { display: flex; gap: 2px; padding: 8px 8px 0; background: #0b2b27; overflow-x: auto; }

.code-tabs button {
  flex: none;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: #7fb3a2;
  font: 700 0.85rem var(--font-body);
  cursor: pointer;
}

.code-tabs button.is-on { background: #06201c; color: var(--glow); }

.code-body { position: relative; padding: 16px; min-height: 250px; }
.code-panel { display: none; }
.code-panel.is-on { display: block; animation: panel-in 0.4s; }
.code-role { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(61, 220, 151, 0.15); color: var(--glow); font-size: 0.72rem; font-weight: 700; }
.code-panel pre { margin: 0; overflow-x: auto; font: 400 0.8rem/1.65 var(--font-mono, monospace); }

@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.stack-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stack-grid .expertise-item p { color: var(--muted); font-size: 0.92rem; margin: 6px 0 12px; }
.chip-cloud--sm .skill { font-size: 0.78rem; padding: 6px 12px; }

/* ---- Credentials ---- */

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

.filters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--card-line);
  background: var(--card);
  color: var(--fg);
  font: 700 0.88rem var(--font-body);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.filters button .icon { width: 1.1em; height: 1.1em; }
.filters button:hover { transform: translateY(-2px); }
.filters button.is-on { background: var(--accent); color: #fff; border-color: var(--accent); }

.creds { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cred {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--card-line);
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}

.cred:hover { transform: translateY(-5px) rotate(-0.4deg); }
.cred.is-hidden { display: none; }
.cred-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cred h3 { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; }
.cred p { color: var(--muted); font-size: 0.9rem; }
.cred .year { padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.78rem; }

@media (prefers-reduced-motion: reduce) {
  .net-node, .screen-cover span, .screen-fallback .icon, .page-hero .orbit-deco .chip { animation: none !important; }
}
