/* ============================================================
   CloudVSwift — Master Stylesheet
   Dark Vibrant Theme | Spatial CSS Naming Convention
   ============================================================ */


:root {
  
  --clr-bg:          #0d1117;
  --clr-bg-2:        #111820;
  --clr-bg-3:        #161e28;
  --clr-surface:     #1a2332;
  --clr-surface-2:   #1e2a3a;
  --clr-border:      rgba(78, 205, 100, 0.15);
  --clr-border-2:    rgba(78, 205, 100, 0.08);

  --clr-primary:     #4ecd64;
  --clr-primary-dim: #3aab4e;
  --clr-accent:      #a8ff78;
  --clr-accent-2:    #78e8a0;
  --clr-electric:    #00ff88;

  --clr-text:        #e2eaf4;
  --clr-text-muted:  #8a9bb5;
  --clr-text-faint:  #4a5a70;
  --clr-white:       #f0f8f4;

  
  --glow-primary:    0 0 20px rgba(78, 205, 100, 0.35), 0 0 40px rgba(78, 205, 100, 0.15);
  --glow-accent:     0 0 15px rgba(168, 255, 120, 0.4);
  --glow-sm:         0 0 10px rgba(78, 205, 100, 0.25);

  
  --grad-primary:    linear-gradient(135deg, #4ecd64 0%, #a8ff78 100%);
  --grad-hero:       linear-gradient(160deg, rgba(13,17,23,0.95) 0%, rgba(26,35,50,0.85) 60%, rgba(78,205,100,0.1) 100%);
  --grad-card:       linear-gradient(135deg, rgba(26,35,50,0.9) 0%, rgba(30,42,58,0.8) 100%);
  --grad-section:    linear-gradient(180deg, #0d1117 0%, #111820 50%, #0d1117 100%);

  
  --shadow-sm:       0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:       0 4px 16px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg:       0 8px 32px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
  --shadow-card:     0 2px 8px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3), inset 0 1px 0 rgba(78,205,100,0.05);

  
  --space-xs:        0.5rem;
  --space-sm:        1rem;
  --space-md:        1.5rem;
  --space-lg:        2.5rem;
  --space-xl:        4rem;
  --space-2xl:       6rem;
  --space-3xl:       8rem;

  
  --radius-sm:       6px;
  --radius-md:       12px;
  --radius-lg:       20px;
  --radius-xl:       28px;
  --radius-pill:     9999px;

  
  --font-head:       'Libre Baskerville', Georgia, serif;
  --font-body:       'DM Sans', system-ui, sans-serif;

  
  --trans-fast:      150ms ease;
  --trans-base:      250ms ease;
  --trans-slow:      400ms ease;

  
  --nav-h:           70px;
}


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

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

body.canvas {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--clr-primary); text-decoration: none; transition: color var(--trans-base); }
a:hover { color: var(--clr-accent); }
ul { list-style: none; }


h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--clr-white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { color: var(--clr-text); }


.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow { max-width: 800px; }
.container--legal  { max-width: 760px; }


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--trans-base);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn--primary {
  background: var(--grad-primary);
  color: #0d1117;
  box-shadow: var(--glow-sm), 0 2px 8px rgba(0,0,0,0.3);
}
.btn--primary:hover {
  box-shadow: var(--glow-primary), 0 4px 16px rgba(0,0,0,0.4);
  transform: translateY(-2px);
  color: #0d1117;
}

.btn--ghost {
  background: transparent;
  color: var(--clr-primary);
  border: 1.5px solid var(--clr-primary);
}
.btn--ghost:hover {
  background: rgba(78, 205, 100, 0.1);
  box-shadow: var(--glow-sm);
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }
.btn--full { width: 100%; justify-content: center; }


.orbit-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background var(--trans-slow), box-shadow var(--trans-slow), backdrop-filter var(--trans-slow);
  background: transparent;
}

.orbit-nav--solid,
.orbit-nav.is-scrolled {
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--clr-border), var(--shadow-sm);
}

.orbit-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.orbit-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.orbit-nav__logo { width: 32px; height: 32px; }

.orbit-nav__name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

.orbit-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.orbit-nav__link {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--trans-base);
  text-decoration: none;
}
.orbit-nav__link:hover {
  color: var(--clr-white);
  background: rgba(78, 205, 100, 0.08);
}
.orbit-nav__link--active {
  color: var(--clr-primary);
}

.orbit-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.orbit-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--trans-base);
}
.orbit-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.orbit-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.orbit-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.drawer {
  position: fixed;
  inset: 0;
  z-index: 800;
  pointer-events: none;
}

.drawer.is-open {
  pointer-events: all;
}

.drawer__curtain {
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.97);
  clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0);
  transition: clip-path 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}

.drawer.is-open .drawer__curtain {
  clip-path: polygon(100% 0, 100% 0, 0 100%, 0 100%);
}

.drawer__nav {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 2rem var(--space-lg);
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease 0.35s;
}

.drawer.is-open .drawer__nav {
  opacity: 1;
}

.drawer__link {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  color: var(--clr-white);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color var(--trans-base), transform var(--trans-base);
  text-align: right;
}
.drawer__link:hover {
  color: var(--clr-primary);
  transform: translateX(-8px);
}


.drawer--toc {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  inset: unset;
  pointer-events: all;
  width: 220px;
  flex-shrink: 0;
  height: fit-content;
  align-self: flex-start;
}

.drawer__toc-inner {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.drawer__toc-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-faint);
  margin-bottom: var(--space-sm);
}

.drawer__toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.drawer__toc-link {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all var(--trans-base);
  text-decoration: none;
}
.drawer__toc-link:hover {
  color: var(--clr-white);
  background: rgba(78, 205, 100, 0.06);
}
.drawer__toc-link.is-active {
  color: var(--clr-primary);
  border-left-color: var(--clr-primary);
  background: rgba(78, 205, 100, 0.08);
}


.stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.stage__bg {
  position: absolute;
  inset: 0;
}

.stage__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stage__overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

.stage__overlay--dark {
  background: linear-gradient(160deg, rgba(13,17,23,0.98) 0%, rgba(13,17,23,0.92) 100%);
}

.stage__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--space-xl)) var(--space-md) var(--space-xl);
  width: 100%;
}

.stage__content--centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stage__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(78, 205, 100, 0.12);
  border: 1px solid rgba(78, 205, 100, 0.3);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.stage__headline {
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.15;
  color: var(--clr-white);
  margin-bottom: var(--space-md);
  max-width: 700px;
}

.stage__headline--glow {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(78, 205, 100, 0.4));
}

.stage__headline--md { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.stage__headline--sm { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }

.stage__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--clr-text-muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.stage__sub--narrow { max-width: 480px; }

.stage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.stage__content--centered .stage__actions {
  justify-content: center;
}

.stage__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--clr-text-faint);
  font-size: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


.stage--inner {
  min-height: 40vh;
  background: var(--clr-bg-2);
}

.stage--legal {
  min-height: 30vh;
  background: var(--clr-bg-2);
}


.gallery {
  padding: var(--space-2xl) 0;
}

.gallery--features {
  background: var(--clr-bg-2);
}

.gallery--about {
  background: var(--clr-bg);
  position: relative;
}
.gallery--about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-primary);
  opacity: 0.2;
}

.gallery--services {
  background: var(--clr-bg-3);
}

.gallery--detail {
  background: var(--clr-bg-2);
}

.gallery--tips {
  background: var(--clr-bg);
}

.gallery--prose {
  background: var(--clr-bg-2);
}

.gallery--prose-alt {
  background: var(--clr-bg-3);
}

.gallery--contact {
  background: var(--clr-bg-2);
}

.gallery--map {
  background: var(--clr-bg);
  padding-bottom: var(--space-2xl);
}

.gallery--legal {
  background: var(--clr-bg-2);
  flex: 1;
}


.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-desc {
  color: var(--clr-text-muted);
  max-width: 560px;
  margin: 0 auto;
}


.shelf--features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.shelf--services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.shelf--steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.shelf--tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.shelf--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}


.spotlight--feature {
  background: var(--grad-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--trans-slow);
  backdrop-filter: blur(8px);
}

.spotlight--feature:hover {
  border-color: rgba(78, 205, 100, 0.35);
  box-shadow: var(--shadow-lg), var(--glow-sm);
  transform: translateY(-4px);
}

.spotlight__icon {
  width: 52px;
  height: 52px;
  background: rgba(78, 205, 100, 0.12);
  border: 1px solid rgba(78, 205, 100, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--clr-primary);
  margin-bottom: var(--space-md);
  transition: all var(--trans-base);
}

.spotlight--feature:hover .spotlight__icon {
  background: rgba(78, 205, 100, 0.2);
  box-shadow: var(--glow-sm);
}

.spotlight__title {
  margin-bottom: 0.75rem;
  color: var(--clr-white);
}

.spotlight__desc {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}


.spotlight--service {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--trans-slow);
  position: relative;
  overflow: hidden;
}

.spotlight--service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--trans-base);
}

.spotlight--service:hover::before,
.spotlight--service.is-expanded::before {
  opacity: 1;
}

.spotlight--service:hover {
  border-color: var(--clr-border);
  box-shadow: var(--shadow-md), var(--glow-sm);
  transform: translateY(-3px);
}

.spotlight--service-featured {
  background: linear-gradient(135deg, rgba(78, 205, 100, 0.1) 0%, rgba(26,35,50,0.95) 60%);
  border-color: rgba(78, 205, 100, 0.3);
}

.spotlight__service-icon {
  font-size: 1.75rem;
  color: var(--clr-primary);
  margin-bottom: var(--space-sm);
  display: block;
  transition: all var(--trans-base);
}

.spotlight--service:hover .spotlight__service-icon {
  filter: drop-shadow(0 0 8px rgba(78, 205, 100, 0.5));
}

.spotlight--service h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.spotlight--service p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.spotlight__expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--trans-slow);
}

.spotlight--service:hover .spotlight__expand,
.spotlight--service.is-expanded .spotlight__expand {
  max-height: 200px;
}

.spotlight__expand p {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--clr-border-2);
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}


.spotlight--step {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-slow);
  box-shadow: var(--shadow-card);
}

.spotlight--step:hover {
  border-color: var(--clr-border);
  box-shadow: var(--shadow-md), var(--glow-sm);
  transform: translateY(-4px);
}

.spotlight__step-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: 0.1em;
  padding: var(--space-md) var(--space-md) 0;
}

.spotlight__step-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin: var(--space-sm) 0;
}

.spotlight--step h3 {
  padding: 0 var(--space-md);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.spotlight--step p {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 0.875rem;
  color: var(--clr-text-muted);
}


.spotlight--tip {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--trans-slow);
}

.spotlight--tip:hover {
  border-color: var(--clr-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.spotlight__tip-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.spotlight__tip-header i {
  font-size: 1.2rem;
  color: var(--clr-primary);
}

.spotlight__tip-cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-faint);
}

.spotlight--tip h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.spotlight--tip p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

.spotlight--tip p + p {
  margin-top: 0.75rem;
}


.spotlight--contact {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--trans-base);
}

.spotlight--contact:hover {
  border-color: var(--clr-border);
  box-shadow: var(--glow-sm);
}

.spotlight--contact i {
  font-size: 1.25rem;
  color: var(--clr-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.spotlight--contact strong {
  display: block;
  color: var(--clr-white);
  font-size: 0.875rem;
  margin-bottom: 0.3rem;
}

.spotlight--contact p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.spotlight--contact a {
  color: var(--clr-text-muted);
}
.spotlight--contact a:hover { color: var(--clr-primary); }


.spotlight--infobox {
  display: flex;
  gap: var(--space-md);
  background: rgba(78, 205, 100, 0.06);
  border: 1px solid rgba(78, 205, 100, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-md);
}

.spotlight--infobox i {
  color: var(--clr-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.spotlight--infobox p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  margin: 0;
}


.spotlight--mini {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.spotlight--mini i {
  font-size: 1.25rem;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.spotlight--mini h4 {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.spotlight--mini p {
  font-size: 0.825rem;
  color: var(--clr-text-muted);
}


.spotlight--feature:has(.spotlight__icon) {
  padding-top: var(--space-lg);
}

.gallery:has(.spotlight--service-featured) {
  background: var(--clr-bg-3);
}


.gallery__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.gallery__split--prose {
  margin: var(--space-xl) 0;
}

.gallery__split-visual {
  position: relative;
}

.gallery__img--main {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.gallery__img--secondary {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 55%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid var(--clr-bg);
  box-shadow: var(--shadow-lg), var(--glow-sm);
}

.gallery__img--rounded {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.gallery__split-text h2 {
  margin-bottom: var(--space-md);
}

.gallery__split-text p {
  color: var(--clr-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.75;
}

.gallery__split-text .btn {
  margin-top: var(--space-sm);
}


.stage-curtain--cta {
  background: linear-gradient(135deg, rgba(78, 205, 100, 0.08) 0%, rgba(13,17,23,0.95) 60%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--space-3xl) 0;
}

.stage-curtain__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.stage-curtain__title {
  margin-bottom: var(--space-sm);
}

.stage-curtain__sub {
  color: var(--clr-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.stage-curtain__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}


.prose-block {
  margin-bottom: var(--space-xl);
}

.prose-block h2,
.prose-block h3 {
  margin-bottom: var(--space-sm);
}

.prose-block p {
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.prose-block--highlighted {
  background: rgba(78, 205, 100, 0.04);
  border-left: 3px solid var(--clr-primary);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.prose-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prose-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.prose-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--clr-primary);
  border-radius: 50%;
}

.prose-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-lg);
  height: 280px;
  object-fit: cover;
}


.canvas--with-sidebar {
  display: flex;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  align-items: flex-start;
}

.canvas--main-content {
  flex: 1;
  min-width: 0;
}

.canvas--main-content .gallery {
  padding: var(--space-lg) 0;
}

.canvas--main-content .container--narrow {
  max-width: 100%;
  padding: 0;
}

.toc-section {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}


.gallery__contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.gallery__contact-form h2,
.gallery__contact-info h2 {
  margin-bottom: var(--space-sm);
}

.contact-intro {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.contact-office {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.contact-office h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

.contact-office p {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.map-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.gallery__map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-lg);
}


.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-muted);
}

.form__input {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--trans-base);
  min-height: 44px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form__input:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(78, 205, 100, 0.15);
  background: var(--clr-surface-2);
}

.form__input::placeholder { color: var(--clr-text-faint); }

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__group--checkbox { flex-direction: row; align-items: flex-start; gap: 0; }

.form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.form__checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form__checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--clr-border);
  border-radius: 4px;
  background: var(--clr-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-base);
  margin-top: 1px;
}

.form__checkbox-label input:checked + .form__checkbox-custom {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.form__checkbox-label input:checked + .form__checkbox-custom::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #0d1117;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}


.form:has(:focus) {
  border-color: transparent;
}

.form__group:has(.form__input:focus) .form__label {
  color: var(--clr-primary);
}


.stage--thanks {
  min-height: 70vh;
  background: linear-gradient(135deg, #1a4a2e 0%, #0d2a1a 50%, #0d1117 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage__thanks-content {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 560px;
}

.stage__thanks-icon {
  font-size: 3rem;
  color: var(--clr-accent);
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 20px rgba(168, 255, 120, 0.5));
}

.stage__thanks-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: var(--space-md);
}

.stage__thanks-sub {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-lg);
  line-height: 1.75;
}


.legal-intro {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--clr-border-2);
}

.legal-intro p {
  color: var(--clr-text-muted);
  line-height: 1.8;
}

.legal-group {
  margin-bottom: var(--space-xl);
}

.legal-group h2 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--clr-white);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--clr-border-2);
}

.legal-group p,
.legal-group ul {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.legal-group ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-group ul li {
  list-style: disc;
  padding-left: 0.25rem;
}

.legal-group a { color: var(--clr-primary); }
.legal-group a:hover { color: var(--clr-accent); }

.legal-ordered {
  list-style: none;
  counter-reset: legal-counter;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.legal-ordered > li {
  counter-increment: legal-counter;
  position: relative;
}

.legal-ordered > li h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--clr-white);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-ordered > li h2::before {
  content: counter(legal-counter, decimal-leading-zero);
  font-size: 0.75rem;
  color: var(--clr-primary);
  font-family: var(--font-body);
  font-weight: 600;
  background: rgba(78, 205, 100, 0.1);
  border: 1px solid rgba(78, 205, 100, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
  flex-shrink: 0;
}

.legal-ordered > li p,
.legal-ordered > li ul {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.legal-ordered > li ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legal-ordered > li ul li { list-style: disc; }
.legal-ordered a { color: var(--clr-primary); }


.cookie-table-wrapper {
  overflow-x: auto;
  margin: var(--space-sm) 0 var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.cookie-table th {
  background: var(--clr-surface);
  color: var(--clr-text-muted);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--clr-border);
  white-space: nowrap;
}

.cookie-table td {
  color: var(--clr-text-muted);
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--clr-border-2);
  vertical-align: top;
}

.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

.gallery--legal h2 {
  font-size: 1.3rem;
  margin: var(--space-lg) 0 var(--space-sm);
  color: var(--clr-white);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--clr-border-2);
}

.gallery--legal h3 {
  font-size: 1.05rem;
  margin: var(--space-md) 0 var(--space-xs);
  color: var(--clr-accent-2);
}

.gallery--legal p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.gallery--legal ul {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  padding-left: 1.25rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gallery--legal ul li { list-style: disc; }
.gallery--legal a { color: var(--clr-primary); }
.gallery--legal a:hover { color: var(--clr-accent); }


.footer {
  background: #080d12;
  border-top: 1px solid var(--clr-border-2);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: auto;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__logo { width: 28px; height: 28px; }

.footer__name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--clr-white);
  font-weight: 700;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
}

.footer__links a {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  transition: color var(--trans-base);
}
.footer__links a:hover { color: var(--clr-primary); }

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer__contact span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  color: var(--clr-text-faint);
}

.footer__contact i { color: var(--clr-primary); font-size: 0.75rem; }
.footer__contact a { color: var(--clr-text-faint); }
.footer__contact a:hover { color: var(--clr-primary); }

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: var(--space-md);
  border-top: 1px solid var(--clr-border-2);
  width: 100%;
}

.footer__legal span {
  font-size: 0.8rem;
  color: var(--clr-text-faint);
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
}

.footer__legal-links a {
  font-size: 0.775rem;
  color: var(--clr-text-faint);
  transition: color var(--trans-base);
}
.footer__legal-links a:hover { color: var(--clr-primary); }


.cookie-panel {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100vh;
  background: var(--clr-bg-3);
  border-left: 1px solid var(--clr-border);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(0,0,0,0.6);
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
}

.cookie-panel.is-visible {
  right: 0;
}

.cookie-panel__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-slow);
}

.cookie-panel__overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

.cookie-panel__header {
  padding: var(--space-lg) var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--clr-border-2);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.cookie-panel__shield {
  font-size: 1.5rem;
  color: var(--clr-primary);
  flex-shrink: 0;
}

.cookie-panel__header h3 {
  font-size: 1rem;
  color: var(--clr-white);
  margin-bottom: 0.3rem;
}

.cookie-panel__header p {
  font-size: 0.775rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.cookie-panel__header a { color: var(--clr-primary); font-size: 0.775rem; }

.cookie-panel__body {
  flex: 1;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.75rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-md);
}

.cookie-category__info h4 {
  font-size: 0.85rem;
  color: var(--clr-white);
  margin-bottom: 0.2rem;
}

.cookie-category__info p {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
}

.cookie-toggle {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle__track {
  position: absolute;
  inset: 0;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--trans-base);
}

.cookie-toggle__track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--clr-text-faint);
  border-radius: 50%;
  transition: all var(--trans-base);
}

.cookie-toggle input:checked + .cookie-toggle__track {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.cookie-toggle input:checked + .cookie-toggle__track::after {
  transform: translateX(20px);
  background: #0d1117;
}

.cookie-toggle input:disabled + .cookie-toggle__track {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-panel__footer {
  padding: var(--space-md);
  border-top: 1px solid var(--clr-border-2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-panel__footer .btn {
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
}


@media (max-width: 1024px) {
  .canvas--with-sidebar {
    flex-direction: column;
    padding: var(--space-lg) var(--space-md);
  }
  .drawer--toc {
    position: static;
    width: 100%;
    align-self: auto;
  }
  .drawer__toc-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .gallery__split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .gallery__img--secondary {
    display: none;
  }
  .gallery__img--main {
    height: 280px;
  }
  .gallery__contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .orbit-nav__links { display: none; }
  .orbit-nav__toggle { display: flex; }

  .stage__headline { font-size: clamp(1.75rem, 7vw, 2.5rem); }

  .shelf--features,
  .shelf--services {
    grid-template-columns: 1fr;
  }

  .shelf--steps {
    grid-template-columns: 1fr 1fr;
  }

  .shelf--two-col {
    grid-template-columns: 1fr;
  }

  .gallery__split--prose {
    grid-template-columns: 1fr;
  }

  .gallery__split--prose .gallery__split-visual {
    order: -1;
  }

  .cookie-panel {
    width: 100%;
    right: -100%;
  }
  .cookie-panel.is-visible { right: 0; }
}

@media (max-width: 480px) {
  .shelf--steps {
    grid-template-columns: 1fr;
  }

  .shelf--tips {
    grid-template-columns: 1fr;
  }

  .stage__actions {
    flex-direction: column;
    width: 100%;
  }

  .stage__actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .footer__links {
    flex-direction: column;
    gap: 0.5rem;
  }
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.canvas--thanks .stage--thanks {
  flex: 1;
}