/* ═══════════════════════════════════════════════════════════
   YA Solutions — Main Stylesheet
   Premium dark design for Hawaii's #1 stretch ceiling co.
   ═══════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────── */

:root {
  /* Colors */
  --bg:            #08080e;
  --bg-section:    #0b0b13;
  --surface:       #111119;
  --surface-2:     #1a1a26;
  --surface-3:     #222233;
  --border:        #1e1e30;
  --border-light:  #2a2a40;

  --text:          #eeeef2;
  --text-secondary:#8a8aa3;
  --text-dim:      #5a5a75;

  --accent:        #ffb830;
  --accent-dark:   #c8911f;
  --accent-light:  #ffd470;
  --accent-glow:   rgba(255, 184, 48, 0.12);
  --accent-glow-strong: rgba(255, 184, 48, 0.25);

  --danger:        #ff4d4d;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Sizing */
  --container:    1240px;
  --container-sm: 800px;
  --gap:          clamp(1rem, 3vw, 2rem);
  --section-py:   clamp(4rem, 10vw, 8rem);

  /* Radius */
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md:    0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg:    0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow:  0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);

  /* Glass */
  --glass-bg:     rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur:   16px;

  /* Gradients */
  --gradient-text:   linear-gradient(135deg, #ffffff 0%, var(--accent-light) 100%);
  --gradient-accent:  linear-gradient(135deg, var(--accent) 0%, #ff8c00 100%);

  /* Transitions */
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --duration:     0.4s;

  /* Header */
  --header-h:     80px;
}

/* ─── Reset ─────────────────────────────────────────────── */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

/* Custom Scrollbar */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--accent-dark), #8a6420);
  border-radius: 3px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--accent), var(--accent-dark));
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-dark) var(--bg);
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ─── Container ─────────────────────────────────────────── */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ─── Typography ────────────────────────────────────────── */

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.25rem;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.text-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ───────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    background 0.55s var(--ease),
    border-color 0.55s var(--ease),
    color 0.55s var(--ease);
}

.btn svg {
  transition: transform 0.55s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* Primary — gradient + shimmer */

.btn--primary {
  background: var(--gradient-accent);
  color: #1c1200;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5) 43%, rgba(255, 255, 255, 0.5) 50%, transparent 58%);
  transform: translateX(-100%);
  transition: none;
}

.btn--primary:hover::before {
  transform: translateX(100%);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow-strong), var(--shadow-glow);
}

/* Outline — glass + border-fill animation on hover */

.btn--outline {
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* Accent border — keyframe for fill-in, opacity transition for smooth fade-out */

.btn--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--accent);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.btn--outline:hover::before {
  opacity: 1;
  animation: borderReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes borderReveal {
  from { clip-path: inset(50% 50% 50% 50% round 50px); }
  to   { clip-path: inset(0 0 0 0 round 50px); }
}

.btn--outline:hover {
  color: var(--accent);
  background: rgba(255, 184, 48, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════════════════ */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__inner {
  width: min(500px, 80vw);
}

.site-loader__inner svg {
  width: 100%;
  height: auto;
}

/* ═══════════════════════════════════════════════════════════
   SITE HEADER / NAV
   ═══════════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(8, 8, 14, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: height 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s;
}

.site-header.is-scrolled {
  height: 60px;
  background: rgba(11, 11, 19, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo svg {
  height: 52px;
  width: auto;
  transition: height 0.5s var(--ease);
}

.site-header.is-scrolled .site-header__logo svg {
  height: 40px;
}

/* Override logo SVG fills for white on dark */

.site-header__logo svg polygon,
.site-header__logo svg rect,
.site-header__logo svg path {
  fill: #ffffff !important;
}

/* Nav — outside header in DOM to avoid backdrop-filter containing block */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 100;
  pointer-events: none;
  transition: height 0.5s var(--ease);
}

.site-nav__list {
  pointer-events: auto;
}

.site-header.is-scrolled ~ .nav-backdrop ~ .site-nav,
.site-header.is-scrolled ~ .site-nav {
  height: 60px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ── Separator before CTA ── */

.site-nav__list li:last-child {
  position: relative;
  margin-left: 0.75rem;
  padding-left: 1rem;
}

.site-nav__list li:last-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
}

/* ── Nav links ── */

.site-nav__link {
  position: relative;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.875rem;
  border-radius: 50px;
  transition:
    color 0.4s var(--ease),
    background 0.4s var(--ease);
  color: rgba(255, 255, 255, 0.55);
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.4s var(--ease);
}

.site-nav__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.site-nav__link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ── CTA button ── */

.site-nav__link--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-accent);
  color: #1c1200;
  font-weight: 600;
  padding: 0.5rem 1.375rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.site-nav__link--cta::after {
  display: none;
}

/* Shimmer effect */

.site-nav__link--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5) 43%, rgba(255, 255, 255, 0.5) 50%, transparent 58%);
  transform: translateX(-150%);
  transition: none;
}

.site-nav__link--cta:hover::before {
  transform: translateX(150%);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav__link--cta:hover {
  color: #1c1200;
  background: var(--gradient-accent);
  box-shadow: 0 4px 16px var(--accent-glow-strong);
  transform: translateY(-1px);
}

/* Burger — lives outside header in DOM */

.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.site-header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
  transform-origin: center;
}

.site-header__burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__burger.is-active span:nth-child(2) {
  opacity: 0;
}

.site-header__burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Scroll Progress Bar */

.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 8px var(--accent-glow-strong);
  z-index: 1;
  transition: none;
}

/* ═══════════════════════════════════════════════════════════
   HERO — Full-bleed background, two-column grid
   ═══════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--bg);
}

/* Background image */

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: scale(1.15);
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8, 8, 14, 0.55) 0%, rgba(8, 8, 14, 0.25) 40%, rgba(8, 8, 14, 0.8) 100%),
    linear-gradient(to right, rgba(8, 8, 14, 0.72) 0%, rgba(8, 8, 14, 0.2) 50%, transparent 70%);
}

/* Grain */

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulance type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}

/* ── Grid: text left + showcase right ── */

.hero__container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

/* Left column — text content */

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding: 0.4rem 1.125rem;
  background: rgba(255, 184, 48, 0.12);
  border: 1px solid rgba(255, 184, 48, 0.2);
  border-radius: 50px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ── Right column — Showcase visual composition ── */

.hero__showcase {
  position: relative;
  justify-self: center;
  width: fit-content;
  padding: 2rem;
  transform-style: preserve-3d;
}

.hero__showcase-img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateZ(0);
  opacity: 0;
}

.hero__showcase-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* Floating stat pills */

.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.875rem 0.4rem 0.4rem;
  background: rgba(11, 11, 19, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  white-space: nowrap;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateZ(40px);
  transition: box-shadow 0.4s ease;
  opacity: 0;
}

.hero__float-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 184, 48, 0.12);
  border: 1px solid rgba(255, 184, 48, 0.18);
  flex-shrink: 0;
}

.hero__float-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.hero__float-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.hero__float-row {
  display: flex;
  align-items: baseline;
  gap: 0.125rem;
}

.hero__float-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.hero__float-plus {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero__float-label {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

/* Float positions + staggered animations */

.hero__float--a {
  top: 10%;
  right: -12%;
  animation: floatA 6s ease-in-out infinite;
}

.hero__float--b {
  bottom: 20%;
  left: -14%;
  animation: floatB 7s ease-in-out infinite;
  animation-delay: -2s;
}

.hero__float--c {
  bottom: 2%;
  right: -10%;
  animation: floatC 5.5s ease-in-out infinite;
  animation-delay: -3.5s;
}

@keyframes floatA {
  0%, 100% { transform: translateZ(40px) translateY(0); }
  50%      { transform: translateZ(40px) translateY(-8px); }
}

@keyframes floatB {
  0%, 100% { transform: translateZ(40px) translateY(0); }
  50%      { transform: translateZ(40px) translateY(6px); }
}

@keyframes floatC {
  0%, 100% { transform: translateZ(40px) translateY(0); }
  50%      { transform: translateZ(40px) translateY(-6px); }
}

/* ── Marquee ── */

.hero__marquee {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  overflow: hidden;
  opacity: 0;
  background: linear-gradient(to right, rgba(8, 8, 14, 0.85), rgba(8, 8, 14, 0.7) 30%, rgba(8, 8, 14, 0.7) 70%, rgba(8, 8, 14, 0.85));
  border-top: 1px solid rgba(255, 184, 48, 0.12);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.hero__marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.hero__marquee-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero__marquee-item {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.75rem 0;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.hero__marquee-sep {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  margin: 0 1.75rem;
  background: var(--accent);
  opacity: 0.35;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

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

/* ═══════════════════════════════════════════════════════════
   PROBLEMS — Stacking Cards (CSS Sticky)
   ═══════════════════════════════════════════════════════════ */

.problems {
  position: relative;
  /* NO z-index — let cards create their own stacking context */
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255, 184, 48, 0.025) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(255, 77, 77, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.008) 0%, transparent 60%),
    var(--bg);
  padding-top: clamp(2rem, 4vw, 3rem);
  /* overflow on body/html handles horizontal clip */
}

/* Accent glow spill from marquee above */

.problems::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 184, 48, 0.18) 30%, rgba(255, 184, 48, 0.18) 70%, transparent);
  box-shadow: 0 0 40px 20px rgba(255, 184, 48, 0.06);
}

.problems__header {
  text-align: center;
  margin-bottom: 2rem;
}

.problems__header .section-label::before {
  display: none;
}

.problems__header .section-label {
  padding-left: 0;
}

.problems__header .section-subtitle {
  margin: 0 auto;
}

/* ── Cards track ── */

.problems__sticky {
  --card-offset: 15px;
}

/* Spacer — real element ensures sticky range for last card */

.problems__spacer {
  height: 150vh;
  pointer-events: none;
}

/* ── Dots ── */

.problems__dots {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.problems__dots.is-visible {
  opacity: 1;
}

.problems__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.35s, transform 0.35s, box-shadow 0.35s;
}

.problems__dot.is-active {
  background: var(--accent);
  transform: scale(1.5);
  box-shadow: 0 0 12px rgba(255, 184, 48, 0.35);
}

/* ═══ Card ═══ */

.problems__card {
  position: sticky;
  z-index: 3;
  top: calc(var(--header-h, 80px) + var(--i, 0) * var(--card-offset));
  height: calc(100vh - var(--header-h, 80px) - 1rem - 5 * var(--card-offset));
  width: calc(100% - 4rem);
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  transform-origin: center top;
  will-change: transform;
}

/* Side glow — amber bulge on left & right edges */

.problems__card::before,
.problems__card::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 95%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 184, 48, 0.25) 0%, rgba(255, 184, 48, 0.10) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.problems__card::before {
  left: -35px;
}

.problems__card::after {
  right: -35px;
}

/* Inner — clips content to rounded corners */

.problems__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ── BG image ── */

.problems__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay */

.problems__card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 85% 88%, rgba(0, 0, 0, 0.6) 0%, transparent 60%),
    linear-gradient(to right,
      rgba(8, 8, 14, 0.9) 0%,
      rgba(8, 8, 14, 0.72) 28%,
      rgba(8, 8, 14, 0.3) 52%,
      rgba(8, 8, 14, 0.06) 72%,
      transparent 100%);
}

/* ── Big number ── */

.problems__card-number {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  font-family: var(--font-heading);
  font-size: clamp(5rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
  z-index: 2;
  pointer-events: none;
}

/* ── Content ── */

.problems__card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(2rem, 4vw, 3.5rem);
  max-width: 46%;
}

/* ── Icon ── */

.problems__card-content .sya-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.problems__card-content .sya-icon:hover {
  transform: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.problems__card-content .sya-icon svg {
  width: 18px;
  height: 18px;
}

.problems__card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
  margin-top: auto;
  margin-bottom: 1rem;
}

.problems__card-text {
  font-size: clamp(0.875rem, 1.15vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  max-width: 380px;
  text-wrap: pretty;
}

/* ── Stat ── */

.problems__card-stat {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.4);
}

.problems__card-stat strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--danger);
  margin-right: 0.3em;
}

/* Wave transition handles the gap between problems and solution */

/* ═══════════════════════════════════════════════════════════
   SOLUTION — Wave, Before/After Slider, Editorial Features
   ═══════════════════════════════════════════════════════════ */

.solution {
  position: relative;
  background: var(--bg-section);
  margin-top: 0;
  padding-bottom: clamp(1rem, 2.5vw, 2rem);
}

/* ── Wave Divider ── */

.solution__wave {
  position: relative;
  z-index: 2;
  line-height: 0;
  margin-bottom: -1px;
}

/* Solution content paints above cards (z:3) */

.solution > .container {
  position: relative;
  z-index: 5;
}

.solution__wave svg {
  display: block;
  width: 100%;
  height: clamp(60px, 10vw, 120px);
}

.solution__wave-bg {
  fill: var(--bg);
}

.solution__wave-fill {
  fill: var(--bg-section);
}

.solution__wave-stroke {
  fill: none;
  stroke: rgba(255, 184, 48, 0.18);
  stroke-width: 1.5;
  filter: drop-shadow(0 -3px 6px rgba(255, 184, 48, 0.10));
}

/* ── Header ── */

.solution__header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding-top: clamp(1rem, 2.5vw, 2rem);
}

.solution__header .section-label::before {
  display: none;
}

.solution__header .section-label {
  padding-left: 0;
}

.solution__header .section-subtitle {
  margin: 0 auto;
}

.solution__title {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ Before / After Comparison ═══ */

.solution__compare {
  max-width: 920px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.solution__compare-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  aspect-ratio: 16 / 10;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.35),
    0 25px 70px rgba(0, 0, 0, 0.2);
}

/* Images */

.solution__compare-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.solution__compare-img--after {
  position: absolute;
  inset: 0;
}

/* Diagonal clip — polygon updated by JS */

.solution__compare-before {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: polygon(0 0, 55% 0, 45% 100%, 0 100%);
}

.solution__compare-before .solution__compare-img {
  position: absolute;
  inset: 0;
}

/* ── Handle — diagonal, dark glass ── */

.solution__compare-handle {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 50%;
  z-index: 4;
  width: 2px;
  transform: translateX(-50%) skewX(-9deg);
  pointer-events: none;
}

.solution__compare-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(255, 184, 48, 0.3),
    rgba(255, 184, 48, 0.8),
    rgba(255, 184, 48, 0.3));
  box-shadow: 0 0 10px rgba(255, 184, 48, 0.25), 0 0 30px rgba(255, 184, 48, 0.08);
}

.solution__compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) skewX(9deg);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 12, 22, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 184, 48, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 184, 48, 0.1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.solution__compare-frame:active .solution__compare-knob {
  transform: translate(-50%, -50%) skewX(9deg) scale(1.12);
  border-color: rgba(255, 184, 48, 0.8);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(255, 184, 48, 0.2);
}

/* Idle pulse — amber glow ring */

@keyframes knobPulse {
  0%, 100% {
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.5),
      0 0 0 0 rgba(255, 184, 48, 0);
    border-color: rgba(255, 184, 48, 0.45);
  }
  50% {
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.5),
      0 0 0 8px rgba(255, 184, 48, 0.18),
      0 0 35px rgba(255, 184, 48, 0.12);
    border-color: rgba(255, 184, 48, 0.8);
  }
}

.solution__compare-knob.is-idle {
  animation: knobPulse 2s ease-in-out infinite;
}

/* Arrow triangles — amber */

.solution__compare-knob::before,
.solution__compare-knob::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
}

.solution__compare-knob::before {
  border-right: 6px solid var(--accent);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.solution__compare-knob::after {
  border-left: 6px solid var(--accent);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* Labels */

.solution__compare-label {
  position: absolute;
  bottom: 1rem;
  z-index: 5;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}

.solution__compare-label--before {
  left: 1rem;
  background: rgba(255, 77, 77, 0.2);
  border: 1px solid rgba(255, 77, 77, 0.25);
  color: #ff9999;
}

.solution__compare-label--after {
  right: 1rem;
  background: rgba(255, 184, 48, 0.15);
  border: 1px solid rgba(255, 184, 48, 0.25);
  color: var(--accent-light);
}

/* Hint text */

.solution__compare-hint {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: opacity 0.5s;
}

/* ═══ Features — Editorial Strip ═══ */

.solution__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.solution__feature {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.25rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--duration) var(--ease);
}

/* Vertical divider between columns */

.solution__feature:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

/* Remove bottom border on last row */

.solution__feature:nth-last-child(-n+2) {
  border-bottom: none;
}

/* Gradient top line on hover */

.solution__feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 48, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.solution__feature:hover {
  background: rgba(255, 255, 255, 0.015);
}

.solution__feature:hover::before {
  opacity: 1;
}

/* Number — large faded accent */

.solution__feature-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255, 184, 48, 0.35), rgba(255, 184, 48, 0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 2rem;
  user-select: none;
}

/* Body text */

.solution__feature-body {
  flex: 1;
  min-width: 0;
}

.solution__feature-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.solution__feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Icon — subtle, right-aligned */

.solution__feature .sya-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: none;
  border: none;
  border-radius: 0;
  color: rgba(255, 184, 48, 0.25);
  margin: 0;
  box-shadow: none;
  transition: color var(--duration) var(--ease);
}

.solution__feature:hover .sya-icon {
  color: rgba(255, 184, 48, 0.5);
  transform: none;
  box-shadow: none;
}

.solution__feature .sya-icon svg {
  width: 20px;
  height: 20px;
}

/* CTA */

.solution__cta {
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════════════════ */

.portfolio {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(1rem, 2.5vw, 2rem);
  background: var(--bg);
}

/* ── Wave Divider ── */

.portfolio__wave {
  line-height: 0;
  margin-bottom: -1px;
}

.portfolio__wave svg {
  display: block;
  width: 100%;
  height: clamp(60px, 10vw, 120px);
}

.portfolio__wave-bg {
  fill: var(--bg-section);
}

.portfolio__wave-fill {
  fill: var(--bg);
}

.portfolio__wave-stroke {
  fill: none;
  stroke: rgba(255, 184, 48, 0.18);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px rgba(255, 184, 48, 0.12));
}

/* ── Header ── */

.portfolio__header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: clamp(1rem, 2.5vw, 2rem);
}

.portfolio__header .section-label::before {
  display: none;
}

.portfolio__header .section-label {
  padding-left: 0;
}

.portfolio__header .section-subtitle {
  margin: 0 auto;
}

/* ── Filters ── */

.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.portfolio__filter {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.portfolio__filter:hover {
  color: var(--accent);
  border-color: rgba(255, 184, 48, 0.3);
  box-shadow: 0 0 12px rgba(255, 184, 48, 0.08);
}

.portfolio__filter.is-active {
  color: #1c1200;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(255, 184, 48, 0.25);
}

/* ── Grid — 2 columns, zigzag big/small ── */

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

/* Grid positions — assigned by JS */

.portfolio__item.is-pos-1 { grid-column: 1; grid-row: 1 / 3; }

.portfolio__item.is-pos-2 { grid-column: 2; grid-row: 1; }

.portfolio__item.is-pos-3 { grid-column: 2; grid-row: 2; }

.portfolio__item.is-pos-4 { grid-column: 1; grid-row: 3; }

.portfolio__item.is-pos-5 { grid-column: 1; grid-row: 4; }

.portfolio__item.is-pos-6 { grid-column: 2; grid-row: 3 / 5; }

/* Big items fill their grid area */

.portfolio__item.is-pos-1 .portfolio__item-inner,
.portfolio__item.is-pos-6 .portfolio__item-inner {
  aspect-ratio: auto;
  height: 100%;
}

.portfolio__item.is-pos-1 .portfolio__item-title,
.portfolio__item.is-pos-6 .portfolio__item-title {
  font-size: 1.125rem;
}

.portfolio__item {
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
}

.portfolio__item.is-hidden {
  display: none;
}

.portfolio__item-inner {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio__item-inner:hover {
  border-color: rgba(255, 184, 48, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 184, 48, 0.06);
  transform: translateY(-3px);
}

/* Image */

.portfolio__item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio__item-inner:hover .portfolio__item-img {
  transform: scale(1.05);
}

/* Overlay — base gradient always visible, hover darkens via ::before */

.portfolio__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8, 8, 14, 0.75) 0%,
    rgba(8, 8, 14, 0.25) 35%,
    transparent 65%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.portfolio__item-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8, 8, 14, 0.4) 0%,
    rgba(8, 8, 14, 0.2) 50%,
    transparent 100%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.portfolio__item-inner:hover .portfolio__item-overlay::before {
  opacity: 1;
}

/* Title — always visible */

.portfolio__item-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio__item-inner:hover .portfolio__item-title {
  transform: translateY(-3px);
}

/* Location + desc — revealed on hover */

.portfolio__item-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: rgba(255, 184, 48, 0.8);
  margin-bottom: 0.25rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s, transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s;
}

.portfolio__item-location svg {
  color: rgba(255, 184, 48, 0.6);
  flex-shrink: 0;
}

.portfolio__item-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s, transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.portfolio__item-inner:hover .portfolio__item-location,
.portfolio__item-inner:hover .portfolio__item-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */

.how-it-works {
  padding: var(--section-py) 0;
  background: var(--bg-section);
}

.how-it-works__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.how-it-works__header .section-label::before {
  display: none;
}

.how-it-works__header .section-label {
  padding-left: 0;
}

.how-it-works__header .section-subtitle {
  margin: 0 auto;
}

/* Timeline */

.how-it-works__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.how-it-works__line {
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: var(--border-light);
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.process-step:hover .process-step__marker {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}

.process-step__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.process-step__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Process images */

.how-it-works__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.how-it-works__image {
  border-radius: var(--radius);
  overflow: hidden;
}

.how-it-works__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.how-it-works__image:hover img {
  transform: scale(1.03);
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */

.testimonials {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(1rem, 2.5vw, 2rem);
  background: var(--bg-section);
}

/* ── Wave Divider ── */

.testimonials__wave {
  line-height: 0;
  margin-bottom: -1px;
}

.testimonials__wave svg {
  display: block;
  width: 100%;
  height: clamp(60px, 10vw, 120px);
}

.testimonials__wave-bg {
  fill: var(--bg);
}

.testimonials__wave-fill {
  fill: var(--bg-section);
}

.testimonials__wave-stroke {
  fill: none;
  stroke: rgba(255, 184, 48, 0.18);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px rgba(255, 184, 48, 0.12));
}

.testimonials__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  padding-top: clamp(1rem, 2.5vw, 2rem);
}

.testimonials__header .section-label::before {
  display: none;
}

.testimonials__header .section-label {
  padding-left: 0;
}

.testimonials__header .section-subtitle {
  margin: 0 auto;
}

/* ── Carousel Container ── */

.testimonials__carousel {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0 2rem;
  -webkit-user-select: none;
  user-select: none;
}

/* ── Track (flex row, JS handles translateX) ── */

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
  cursor: grab;
}

.testimonials__track:active {
  cursor: grabbing;
}

/* ── Edge Fade Masks ── */

.testimonials__mask {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.testimonials__mask--left {
  left: 0;
  background: linear-gradient(to right, var(--bg-section), transparent);
}

.testimonials__mask--right {
  right: 0;
  background: linear-gradient(to left, var(--bg-section), transparent);
}

/* ── Arrow Buttons ── */

.testimonials__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.testimonials__arrow--prev {
  left: clamp(0.75rem, 3vw, 2rem);
}

.testimonials__arrow--next {
  right: clamp(0.75rem, 3vw, 2rem);
}

.testimonials__arrow:hover {
  background: rgba(255, 184, 48, 0.12);
  border-color: rgba(255, 184, 48, 0.3);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-50%) scale(1.08);
}

.testimonials__arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* ── Card ── */

.testimonial-card {
  flex-shrink: 0;
  width: 380px;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.testimonial-card:hover {
  border-color: var(--accent-dark);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.testimonial-card__stars svg.star-empty {
  color: var(--text-dim);
  opacity: 0.35;
}

.testimonial-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.testimonial-card__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid rgba(255, 184, 48, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-card__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-card__location {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.testimonial-card__project {
  display: block;
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
}

/* ═══ Write Review CTA ═══ */

.testimonials__cta {
  text-align: center;
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.testimonials__write-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 184, 48, 0.25);
  background: rgba(255, 184, 48, 0.06);
  color: var(--accent);
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.testimonials__write-btn:hover {
  background: rgba(255, 184, 48, 0.12);
  border-color: rgba(255, 184, 48, 0.4);
  box-shadow: 0 0 24px rgba(255, 184, 48, 0.1);
  transform: translateY(-2px);
}

.testimonials__write-btn:active {
  transform: translateY(0) scale(0.97);
}

/* ═══ Review Modal ═══ */

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.review-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 10, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.review-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s var(--ease);
}

.review-modal.is-open .review-modal__dialog {
  transform: translateY(0) scale(1);
}

.review-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-section);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration), border-color var(--duration), background var(--duration);
}

.review-modal__close:hover {
  color: var(--text);
  border-color: var(--accent-dark);
  background: var(--surface-2);
}

.review-modal__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.review-modal__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.review-modal__subtitle {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── Modal Form Fields ── */

.review-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-modal__field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.review-modal__field input[type="text"],
.review-modal__field input[type="email"],
.review-modal__field textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.review-modal__field input:focus,
.review-modal__field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.review-modal__field input::placeholder,
.review-modal__field textarea::placeholder {
  color: var(--text-dim);
}

.review-modal__field textarea {
  resize: vertical;
  min-height: 80px;
}

.review-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Star rating selector */

.review-modal__stars {
  display: flex;
  gap: 4px;
}

.review-modal__star {
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  color: var(--text-dim);
  transition: color 0.2s, transform 0.2s;
}

.review-modal__star:hover,
.review-modal__star.is-active {
  color: var(--accent);
  transform: scale(1.12);
}

.review-modal__star.is-active svg {
  fill: currentColor;
}

/* Field validation */

.review-modal__field--error input,
.review-modal__field--error textarea {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.review-modal__field--error .review-modal__stars {
  outline: 2px solid #ef4444;
  outline-offset: 4px;
  border-radius: 4px;
}

.review-modal__field-error {
  display: block;
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 0.375rem;
  line-height: 1.3;
}

.review-modal__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Submit */

.review-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background: var(--gradient-accent);
  color: #1c1200;
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease);
}

.review-modal__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow-strong), var(--shadow-glow);
}

/* ── Toast Notification ── */

.sya-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
  max-width: calc(100vw - 2rem);
}

.sya-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.sya-toast__icon {
  flex-shrink: 0;
  display: flex;
}

.sya-toast--success .sya-toast__icon {
  color: #34d399;
}

.sya-toast--error .sya-toast__icon {
  color: #ef4444;
}

.sya-toast--success {
  border-color: rgba(52, 211, 153, 0.3);
}

.sya-toast--error {
  border-color: rgba(239, 68, 68, 0.3);
}

.sya-toast__text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */

.faq {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(1rem, 2.5vw, 2rem);
  background: var(--bg);
}

/* ── Wave Divider ── */

.faq__wave {
  line-height: 0;
  margin-bottom: -1px;
}

.faq__wave svg {
  display: block;
  width: 100%;
  height: clamp(60px, 10vw, 120px);
}

.faq__wave-bg {
  fill: var(--bg-section);
}

.faq__wave-fill {
  fill: var(--bg);
}

.faq__wave-stroke {
  fill: none;
  stroke: rgba(255, 184, 48, 0.18);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px rgba(255, 184, 48, 0.12));
}

.faq__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  padding-top: clamp(1rem, 2.5vw, 2rem);
}

.faq__header .section-label::before {
  display: none;
}

.faq__header .section-label {
  padding-left: 0;
}

.faq__header .section-subtitle {
  margin: 0 auto;
}

.faq__list {
  max-width: var(--container-sm);
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  transition: color var(--duration);
}

.faq__question:hover {
  color: var(--accent);
}

.faq__chevron {
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
  color: var(--text-dim);
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq__answer {
  overflow: hidden;
  height: 0;
}

.faq__answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */

.contact {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(1rem, 2.5vw, 2rem);
  background: var(--bg-section);
}

/* ── Wave Divider ── */

.contact__wave {
  line-height: 0;
  margin-bottom: -1px;
}

.contact__wave svg {
  display: block;
  width: 100%;
  height: clamp(60px, 10vw, 120px);
}

.contact__wave-bg {
  fill: var(--bg);
}

.contact__wave-fill {
  fill: var(--bg-section);
}

.contact__wave-stroke {
  fill: none;
  stroke: rgba(255, 184, 48, 0.18);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px rgba(255, 184, 48, 0.12));
}

.contact__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  padding-top: clamp(1rem, 2.5vw, 2rem);
}

.contact__header .section-label::before {
  display: none;
}

.contact__header .section-label {
  padding-left: 0;
}

.contact__header .section-subtitle {
  margin: 0 auto;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Form */

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact__input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.contact__input::placeholder {
  color: var(--text-dim);
}

.contact__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact__textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__submit {
  align-self: flex-start;
}

.contact__form-note {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.contact__error {
  font-size: 0.875rem;
  color: #ef4444;
  margin-top: 0.75rem;
}

.contact__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Field validation */

.contact__input--invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.contact__field-error {
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 0.375rem;
  line-height: 1.3;
}

/* Success state */

.contact__form-wrapper {
  min-height: 300px;
}

.contact__success {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border-radius: var(--radius);
}

.contact__success[hidden] {
  display: none;
}

.contact__success-inner {
  text-align: center;
  padding: 3rem 2rem;
}

.contact__success-inner svg {
  color: var(--accent);
  margin-bottom: 1rem;
}

.contact__success-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact__success-inner p {
  color: var(--text-secondary);
}

/* Info sidebar */

.contact__info-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact__info-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--duration);
}

.contact__info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact__info-item--phone {
  padding-top: 0;
  color: var(--accent);
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact__info-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.contact__info-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

a.contact__info-item:hover .contact__info-value {
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.site-footer__logo {
  display: inline-flex;
  margin-bottom: 1rem;
}

.site-footer__logo svg {
  height: 44px;
  width: auto;
}

.site-footer__logo svg polygon,
.site-footer__logo svg rect,
.site-footer__logo svg path {
  fill: #ffffff !important;
}

.site-footer__tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.site-footer__links ul li {
  margin-bottom: 0.625rem;
}

.site-footer__links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--duration);
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__contact ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.site-footer__contact a {
  transition: color var(--duration);
}

.site-footer__contact a:hover {
  color: var(--accent);
}

.site-footer__contact svg {
  flex-shrink: 0;
  color: var(--accent);
}

.site-footer__social-icons {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease);
}

.site-footer__social-icons a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.site-footer__bottom p {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.site-footer__credit {
  margin-top: 0.5rem;
}

.site-footer__credit a {
  color: var(--text-dim);
  transition: color var(--duration);
}

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

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGE — Privacy Policy, Terms of Use
   ═══════════════════════════════════════════════════════════ */

.legal-page {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 184, 48, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 184, 48, 0.02) 0%, transparent 50%),
    var(--bg);
}

.legal-page__container {
  max-width: var(--container-sm);
}

/* ── Header ── */

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 2rem;
  transition: color var(--duration), transform var(--duration);
}

.legal-page__back:hover {
  color: var(--accent-light);
  transform: translateX(-3px);
}

.legal-page__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.legal-page__date {
  font-size: 0.875rem;
  color: var(--text-dim);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

/* ── Body Content ── */

.legal-page__body {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-page__body h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

.legal-page__body h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-page__body p {
  margin-bottom: 1rem;
}

.legal-page__body ul,
.legal-page__body ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-page__body li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.legal-page__body ul li::marker {
  color: var(--accent);
}

.legal-page__body ol li::marker {
  color: var(--accent);
  font-weight: 600;
}

.legal-page__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration);
}

.legal-page__body a:hover {
  color: var(--accent-light);
}

.legal-page__body strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .legal-page {
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 3rem;
  }

  .legal-page__body h2 {
    font-size: 1.25rem;
  }
}

/* SVG Icon containers */

.sya-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(255, 184, 48, 0.15);
  border-radius: var(--radius-sm);
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.sya-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px var(--accent-glow), 0 0 24px var(--accent-glow);
}

.sya-icon svg {
  width: 24px;
  height: 24px;
}

.sya-icon--emoji {
  font-size: 1.5rem;
  background: none;
  border: none;
  width: auto;
  height: auto;
}

/* ═══════════════════════════════════════════════════════
   Floating Phone — bottom-right call button
   ═══════════════════════════════════════════════════════ */

.floating-phone {
  position: fixed;
  z-index: 90;
  visibility: hidden;
  opacity: 0;
}

.floating-phone--right {
  right: 32px;
  bottom: 32px;
}

.floating-phone__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #1c1200;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 12px rgba(255, 184, 48, 0.20);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

.floating-phone__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(255, 184, 48, 0.35);
}

.floating-phone__btn:active {
  transform: scale(0.96);
}

/* Phone icon */

.floating-phone__icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-phone__icon svg {
  width: 22px;
  height: 22px;
}

/* Hover: gentle wiggle */

.floating-phone__btn:hover .floating-phone__icon {
  animation: phoneRing 0.6s ease;
}

@keyframes phoneRing {
  0%   { transform: rotate(0deg) }
  15%  { transform: rotate(10deg) }
  30%  { transform: rotate(-8deg) }
  45%  { transform: rotate(6deg) }
  60%  { transform: rotate(-4deg) }
  75%  { transform: rotate(2deg) }
  100% { transform: rotate(0deg) }
}

/* Subtle pulse ring — single, soft */

.floating-phone__rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.floating-phone__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: phonePulse 4s ease-out infinite;
}

.floating-phone__ring:nth-child(2) { animation-delay: 1.3s; }

.floating-phone__ring:nth-child(3) { animation-delay: 2.6s; }

@keyframes phonePulse {
  0% {
    transform: scale(1);
    opacity: 0.18;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Tooltip — anchored to left of button, never overflows right edge */

.floating-phone__tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Arrow pointing down-right */

.floating-phone__tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 22px;
  transform: rotate(45deg);
  width: 9px;
  height: 9px;
  background: var(--surface-2);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.floating-phone__btn:hover .floating-phone__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 1200px) {
  .floating-phone--right { right: 24px; bottom: 24px; }
}

@media (max-width: 480px) {
  .floating-phone--right {
    bottom: 20px;
    right: 16px;
  }
  .floating-phone__btn {
    width: 50px;
    height: 50px;
  }
  .floating-phone__icon svg {
    width: 20px;
    height: 20px;
  }
  .floating-phone__tooltip {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

/* Default: fade-up */

[data-animate="fade-up"],
[data-animate="scale-in"],
[data-animate="fade-left"] {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="scale-in"] {
  transform: scale(0.9);
}

[data-animate="fade-left"] {
  transform: translateX(-30px);
}

/* Hero-specific: GSAP handles these with fromTo, CSS just prevents FOUC */

[data-animate="hero"],
[data-animate="hero-counter"] {
  opacity: 0;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* Tablet */

@media (max-width: 1024px) {
  .solution__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution__compare-frame {
    aspect-ratio: 3 / 2;
  }

  /* Problems stacking cards — tablet */
  .problems__card {
    width: calc(100% - 2.5rem);
  }

  .problems__card-content {
    max-width: 55%;
  }

  .how-it-works__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .how-it-works__line {
    display: none;
  }

  .testimonial-card {
    width: 340px;
  }

  .testimonials__arrow {
    width: 42px;
    height: 42px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

  .hero__content {
    align-items: center;
    text-align: center;
  }

  .hero__showcase {
    display: none;
  }
}

/* Mobile */

@media (max-width: 768px) {

  /* ── Navbar — premium slide-in panel ── */
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(300px, 82vw);
    height: 100vh;
    height: 100dvh;
    max-width: none;
    margin: 0;
    background:
      linear-gradient(180deg,
        rgba(18, 18, 28, 0.98) 0%,
        rgba(11, 11, 19, 0.99) 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
    transform: translateX(100%);
    transition: transform var(--duration) var(--ease);
    z-index: 101;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    pointer-events: auto;
    overflow: hidden;
  }

  /* BUG FIX: override desktop .is-scrolled height:60px (higher specificity) */
  .site-header.is-scrolled ~ .nav-backdrop ~ .site-nav,
  .site-header.is-scrolled ~ .site-nav {
    height: 100vh;
    height: 100dvh;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  /* Accent line at top edge */
  .site-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
      transparent,
      var(--accent) 20%,
      var(--accent-light) 50%,
      var(--accent) 80%,
      transparent);
    opacity: 0.35;
    z-index: 2;
  }

  /* Subtle ambient glow top-right */
  .site-nav::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 184, 48, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration) var(--ease), visibility var(--duration);
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }

  /* Link list */
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h) + 1.5rem) 0 2rem;
    counter-reset: nav-counter;
    position: relative;
    z-index: 1;
  }

  /* Stagger animation */
  .site-nav__list li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
    transition-delay: 0s;
    counter-increment: nav-counter;
  }

  .site-nav.is-open .site-nav__list li {
    opacity: 1;
    transform: translateX(0);
  }
  .site-nav.is-open .site-nav__list li:nth-child(1) { transition-delay: 0.05s; }
  .site-nav.is-open .site-nav__list li:nth-child(2) { transition-delay: 0.1s; }
  .site-nav.is-open .site-nav__list li:nth-child(3) { transition-delay: 0.15s; }
  .site-nav.is-open .site-nav__list li:nth-child(4) { transition-delay: 0.2s; }
  .site-nav.is-open .site-nav__list li:nth-child(5) { transition-delay: 0.28s; }

  /* Nav links — numbered with left accent bar */
  .site-nav__link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.9375rem 1.5rem 0.9375rem 1.75rem;
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 0;
    position: relative;
    transition: color 0.3s var(--ease), background 0.3s var(--ease);
  }

  /* Counter number before each link (except CTA) */
  .site-nav__list li:not(:last-child) .site-nav__link::before {
    content: '0' counter(nav-counter);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent);
    opacity: 0.35;
    min-width: 1.25rem;
    transition: opacity 0.3s var(--ease);
  }

  /* Left accent bar (overrides desktop bottom-underline ::after) */
  .site-nav__list li:not(:last-child) .site-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    bottom: auto;
    right: auto;
    width: 2px;
    height: 20px;
    transform: translateY(-50%) scaleY(0);
    background: var(--accent);
    border-radius: 1px;
    transition: transform 0.3s var(--ease);
  }

  .site-nav__link:hover,
  .site-nav__link:active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
  }

  .site-nav__list li:not(:last-child) .site-nav__link:hover::before {
    opacity: 0.8;
  }

  .site-nav__list li:not(:last-child) .site-nav__link:hover::after,
  .site-nav__list li:not(:last-child) .site-nav__link:active::after {
    transform: translateY(-50%) scaleY(1);
  }

  /* ── CTA wrapper — accent divider + full-width button ── */
  .site-nav__list li:last-child {
    margin: 1.25rem 1.75rem 0;
    padding: 1.5rem 0 0;
    position: relative;
    border-top: 1px solid rgba(255, 184, 48, 0.12);
  }

  .site-nav__list li:last-child::before {
    display: none;
  }

  .site-nav__link--cta {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    color: #1c1200;
  }

  /* ── Burger button ── */
  .site-header__burger {
    display: flex;
    position: fixed;
    top: 0;
    right: clamp(1.25rem, 4vw, 2.5rem);
    height: var(--header-h);
    align-items: center;
    z-index: 102;
  }

  .site-header.is-scrolled ~ .site-header__burger {
    height: 60px;
  }

  /* ── Hero ── */
  .hero__content {
    padding-top: 1rem;
  }

  .hero__title {
    font-size: clamp(1.875rem, 7vw, 2.75rem);
  }

  /* ── Problems stacking cards — mobile ── */
  .problems__header {
    margin-bottom: 1rem;
  }

  .problems__sticky {
    --card-offset: 8px;
  }

  .problems__spacer {
    height: 120svh;
  }

  .problems__card {
    width: calc(100% - 1.5rem);
    top: calc(var(--header-h, 80px) + var(--i, 0) * var(--card-offset));
    height: calc(100svh - var(--header-h, 80px) - 1rem - 5 * var(--card-offset));
  }

  .problems__card::before,
  .problems__card::after {
    display: none;
  }

  /* Card icons — dark backdrop for visibility on light photos */
  .problems__card-content .sya-icon {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 0.5rem;
  }

  /* Overlay — dark bottom for text readability */
  .problems__card-overlay {
    background:
      linear-gradient(to top,
        rgba(8, 8, 14, 0.97) 0%,
        rgba(8, 8, 14, 0.85) 30%,
        rgba(8, 8, 14, 0.35) 60%,
        rgba(8, 8, 14, 0.10) 100%);
  }

  /* Content at bottom */
  .problems__card-content {
    max-width: 100%;
    padding: 0.5rem 0.75rem;
    justify-content: flex-end;
  }

  .problems__card-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: clamp(1.25rem, 5.5vw, 1.625rem);
  }

  .problems__card-text {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .problems__card-number {
    font-size: clamp(3.5rem, 14vw, 5rem);
    right: 1rem;
    bottom: auto;
    top: 1rem;
    color: rgba(255, 255, 255, 0.28);
  }

  /* Dots — horizontal, bottom fixed */
  .problems__dots {
    top: auto;
    bottom: 1.5rem;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 0.75rem;
  }

  .problems__dot {
    width: 8px;
    height: 8px;
  }

  /* ── Review modal — fixed header, scrolling body ── */
  .review-modal__dialog {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
  }

  .review-modal__header {
    flex-shrink: 0;
    position: relative;
    z-index: 6;
  }

  .review-modal__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
  }

  .review-modal__body::-webkit-scrollbar {
    display: none;
  }

  /* Bottom spacing inside scroll — on the form, not the scroll container */
  .review-modal__body .review-modal__form,
  .review-modal__body .glsr-form {
    padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  }

  /* Sticky gradient fades — injected by JS inside body */
  .modal-scroll-fade {
    position: sticky;
    left: 0;
    right: 0;
    height: 56px;
    pointer-events: none;
    z-index: 5;
    flex-shrink: 0;
  }

  .modal-scroll-fade--top {
    top: 0;
    background: linear-gradient(to bottom, #111119 25%, rgba(17, 17, 25, 0.95) 50%, rgba(17, 17, 25, 0.5) 75%, transparent);
    margin-bottom: -56px;
  }

  .modal-scroll-fade--bottom {
    bottom: 0;
    background: linear-gradient(to top, #111119 25%, rgba(17, 17, 25, 0.95) 50%, rgba(17, 17, 25, 0.5) 75%, transparent);
    margin-top: -56px;
  }

  .solution {
    margin-top: 0;
  }

  .solution__features {
    grid-template-columns: 1fr;
  }

  .solution__feature:nth-child(odd) {
    border-right: none;
  }

  .solution__compare-frame {
    aspect-ratio: 4 / 3;
  }

  .solution__compare-knob {
    width: 40px;
    height: 40px;
    gap: 6px;
  }

  .solution__compare-knob::before {
    border-right-width: 5px;
    border-top-width: 3.5px;
    border-bottom-width: 3.5px;
  }

  .solution__compare-knob::after {
    border-left-width: 5px;
    border-top-width: 3.5px;
    border-bottom-width: 3.5px;
  }

  .solution__compare-label {
    font-size: 0.875rem;
    padding: 0.25rem 0.625rem;
    bottom: 0.75rem;
  }

  .solution__compare-label--before {
    left: 0.75rem;
  }

  .solution__compare-label--after {
    right: 0.75rem;
  }

  .portfolio__grid {
    gap: 0.625rem;
  }

  .portfolio__item.is-pos-1,
  .portfolio__item.is-pos-2,
  .portfolio__item.is-pos-3,
  .portfolio__item.is-pos-4,
  .portfolio__item.is-pos-5,
  .portfolio__item.is-pos-6 {
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio__item.is-pos-1 .portfolio__item-inner,
  .portfolio__item.is-pos-6 .portfolio__item-inner {
    aspect-ratio: 3 / 2;
    height: auto;
  }

  .portfolio__item.is-pos-1 .portfolio__item-title,
  .portfolio__item.is-pos-6 .portfolio__item-title {
    font-size: 0.9375rem;
  }

  .portfolio__item-location,
  .portfolio__item-desc {
    opacity: 1;
    transform: translateY(0);
  }

  .how-it-works__timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .how-it-works__images {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    width: 300px;
  }

  .testimonials__arrow {
    display: none;
  }

  .testimonials__mask {
    width: 30px;
  }

  .contact__form-row,
  .review-modal__row {
    grid-template-columns: 1fr;
  }

  .contact__form-wrapper {
    min-height: auto;
  }

  .contact__success {
    min-height: auto;
    padding: 2rem 0;
  }

  .contact__success-inner {
    padding: 2rem 1.25rem;
  }

  .contact__success-inner svg {
    width: 36px;
    height: 36px;
  }

  .contact__success-inner h3 {
    font-size: 1.25rem;
  }

  .contact__success-inner p {
    font-size: 0.9375rem;
  }


  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Small mobile */

@media (max-width: 480px) {
  :root {
    --section-py: 3rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .btn--large {
    padding: 0.875rem 2rem;
    width: 100%;
    justify-content: center;
  }

  .problem-card__content {
    padding: 1.25rem;
  }

  .solution__feature {
    padding: 1rem;
    gap: 0.75rem;
  }

  .solution__feature-num {
    font-size: 1.5rem;
    min-width: 1.75rem;
  }

  .solution__feature .sya-icon {
    display: none;
  }

  .testimonial-card {
    width: 280px;
    padding: 1.25rem;
  }

  .contact__info-card {
    padding: 1.25rem;
  }

  .contact__map-overlay {
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    padding: 1rem;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
  }
}
