/* ============================================================
   MedLoSoft – Global Stylesheet
   Branding: Dark Navy #1a2535 / Orange #f4853a / White #ffffff
   ============================================================ */

/* ── Reset & Variables ───────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

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

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

:root {
  --navy:       #1a2535;
  --navy-light: #1e2d42;
  --navy-mid:   #243350;
  --orange:     #f4853a;
  --orange-dark: #d96c20;
  --orange-glow: rgba(244, 133, 58, 0.3);
  --white:      #ffffff;
  --gray:       #8fa0b8;
  --gray-light: #b8c8d8;
  --card-bg:    rgba(30, 45, 66, 0.8);
  --border:     rgba(244, 133, 58, 0.2);
  --font-body:  'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-orange: 0 0 40px rgba(244,133,58,0.25);
}

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

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

/* ── Canvas Background ───────────────────────────────────── */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}

#bg-canvas.matrix-ready { opacity: 0.45; }

#app {
  position: relative;
  z-index: 1;
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ── Selection ───────────────────────────────────────────── */
::selection { background: var(--orange); color: var(--white); }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
p { line-height: 1.75; color: var(--gray-light); }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }

.text-orange { color: var(--orange); }
.text-white  { color: var(--white); }

.mono        { font-family: var(--font-mono); }

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  position: relative;
  z-index: 1;
}

/* ── Utility ─────────────────────────────────────────────── */

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

.mt-2 { margin-top: 1rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--orange-glow);
}

.quote-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}
.quote-cta::after {
  content: '→';
  flex: none;
  font-size: 1.15em;
  line-height: 1;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ── Tags / Badges ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(244,133,58,0.12);
  color: var(--orange);
  border: 1px solid rgba(244,133,58,0.3);
}

/* ── Section Labels ──────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-label::before { content: '// '; opacity: 0.6; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  text-align: center;
}
.section-title span { color: var(--orange); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

/* ── Navigation ──────────────────────────────────────────── */
nav.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  background: rgba(26, 37, 53, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

nav.navbar.scrolled {
  background: rgba(26, 37, 53, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(244,133,58,0.15), 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img { height: 36px; filter: drop-shadow(0 0 10px var(--orange-glow)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-light);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--orange);
  background: rgba(244,133,58,0.08);
}

.nav-language-item { position: relative; }
.language-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 52px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--gray-light);
  font-size: 1rem;
  list-style: none;
  cursor: pointer;
}
.language-dropdown summary::-webkit-details-marker { display: none; }
.language-dropdown summary:hover,
.language-dropdown summary:focus-visible,
.language-dropdown[open] summary {
  color: var(--white);
  border-color: rgba(244, 133, 58, 0.45);
  background: rgba(244, 133, 58, 0.1);
}
.language-dropdown summary .fa-language { width: 1.2em; height: 1.2em; }
.language-chevron {
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.1rem);
  transition: transform var(--transition);
}
.language-dropdown[open] .language-chevron { transform: rotate(225deg) translateY(-0.1rem); }
.language-flag { font-size: 1.1rem; line-height: 1; }
.language-options {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.45rem);
  right: 0;
  display: grid;
  min-width: 9.5rem;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(16, 23, 35, 0.98);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}
.language-options a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.6rem 0.7rem;
}
.language-options a[aria-current="page"] {
  color: var(--orange);
  background: rgba(244, 133, 58, 0.1);
}

.nav-cta {
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.6rem 1.3rem !important;
  border-radius: 8px !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
}

/* Hamburger for mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero Section ────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 25% 45%, rgba(26, 37, 53, 0.6) 0%, rgba(26, 37, 53, 0.2) 65%, transparent 100%);
}

#hero > .container {
  /* Keep the flex item's width independent of the current typing frame. */
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.2s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px; height: 2px;
  background: var(--orange);
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.4s;
  text-shadow: 0 4px 20px rgba(10, 16, 26, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}
.hero-heading-line { display: block; }
.hero-typing-row {
  display: block;
  min-height: 2.1em;
  margin-top: 0.15rem;
}
.hero-title .typed-container {
  display: inline;
  color: var(--orange);
}
.hero-title .typed-prefix {
  display: inline;
}
.hero-title .typed-suffix {
  display: inline;
  white-space: nowrap;
}
.hero-title .cursor {
  display: inline-block;
  width: 4px;
  height: 0.82em;
  background: var(--orange);
  vertical-align: -0.05em;
  margin-left: 5px;
  box-shadow: 0 0 8px var(--orange);
  animation: blink 1s step-end infinite;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  max-width: 500px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.6s;
  text-shadow: 0 2px 12px rgba(10, 16, 26, 0.9);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.8s;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  opacity: 0;
  animation: fadeInRight 1s ease forwards 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

/* 3D Phone Container */
.phone-3d-container {
  width: 100%;
  max-width: 440px;
  height: clamp(480px, 60vh, 620px);
  aspect-ratio: 9 / 14;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  margin: 0 auto;
}
.phone-3d-container:active {
  cursor: grabbing;
}
.phone-3d-container::before {
  content: '';
  position: absolute;
  inset: 5% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 55%, rgba(244, 133, 58, 0.34) 0%, rgba(244, 133, 58, 0.16) 42%, transparent 72%);
  filter: blur(26px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}
.phone-ready::before { opacity: 1; }
.phone-3d-container canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 700ms ease;
  width: 100% !important;
  height: 100% !important;
  display: block;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 50px rgba(244, 133, 58, 0.25));
}

/* Balanced sizing for wide screens: Phone covers roughly half the hero with safe headroom */
@media (min-width: 1200px) {
  #hero .container {
    max-width: 1280px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
  }
  .hero-visual {
    max-width: 460px;
  }
  .phone-3d-container {
    max-width: 460px;
    height: clamp(520px, 64vh, 660px);
  }
}

@media (min-width: 1440px) {
  #hero .container {
    max-width: 1380px;
  }
  .hero-visual {
    max-width: 480px;
  }
  .phone-3d-container {
    max-width: 480px;
    height: clamp(560px, 66vh, 700px);
  }
}

/* ── Services Section: macOS Finder Interactive Console ────── */
.services-macos-section {
  padding: 6.5rem 0 7.5rem 0;
  background: linear-gradient(180deg, rgba(26, 37, 53, 0.8) 0%, rgba(19, 28, 41, 0.85) 100%);
  position: relative;
}

/* Finder Main Window Frame */
.finder-window {
  margin: 2.5rem auto 0 auto;
  scroll-margin-top: 5rem;
  max-width: 1040px;
  background: rgba(22, 31, 46, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow:
    0 35px 90px -15px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  overflow: hidden;
  position: relative;
  z-index: 10;
  /* 8-Bit Retro Videogame Cursor for Finder Window */
  --finder-cursor-arrow: url("data:image/png;base64,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") 0 0,
                         url("/images/cursor-8bit-arrow.png") 0 0,
                         url("images/cursor-8bit-arrow.png") 0 0,
                         default;
  --finder-cursor-hand: url("data:image/png;base64,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") 8 0,
                        url("/images/cursor-8bit-hand.png") 8 0,
                        url("images/cursor-8bit-hand.png") 8 0,
                        pointer;
  cursor: var(--finder-cursor-arrow);
}

/* 8-Bit Retro Videogame Hand Cursor for ALL clickable / interactive items inside Finder */
.finder-window button,
.finder-window a,
.finder-window li,
.finder-window .sidebar-item,
.finder-window .finder-folder-item,
.finder-window .traffic-dot,
.finder-window .breadcrumb-btn,
.finder-window .sheet-back-btn,
.finder-window .btn,
.finder-window [role="button"],
.finder-window [data-service-trigger],
.finder-window [data-finder-target],
.finder-window button *,
.finder-window a *,
.finder-window li *,
.finder-window .sidebar-item *,
.finder-window .finder-folder-item *,
.finder-window .traffic-dot *,
.finder-window .breadcrumb-btn *,
.finder-window .sheet-back-btn *,
.finder-window .btn * {
  cursor: var(--finder-cursor-hand) !important;
}

/* ── Finder Titlebar ── */
.finder-titlebar {
  height: 50px;
  background: linear-gradient(180deg, rgba(38, 50, 70, 0.95) 0%, rgba(27, 37, 52, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  user-select: none;
}

/* Traffic Lights */
.traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 60px;
}

.traffic-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: var(--finder-cursor-hand);
  transition: transform 0.15s ease;
  border: none;
  padding: 0;
}

.traffic-dot:hover {
  transform: scale(1.1);
}

.traffic-dot-close {
  background: #ff5f56;
  box-shadow: 0 0 0 1px #e0443e inset;
}

.traffic-dot-min {
  background: #ffbd2e;
  box-shadow: 0 0 0 1px #dea123 inset;
}

.traffic-dot-max {
  background: #27c93f;
  box-shadow: 0 0 0 1px #1aab29 inset;
}

/* Center Breadcrumb */
.finder-title-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: #cbd5e1;
  font-weight: 500;
}

.breadcrumb-icon {
  color: #60a5fa;
  font-size: 0.92rem;
}

.breadcrumb-root {
  color: var(--gray);
}

.breadcrumb-separator {
  font-size: 0.65rem;
  color: var(--gray-muted);
}

.breadcrumb-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: inherit;
  font-family: inherit;
  font-weight: 600;
  cursor: var(--finder-cursor-hand);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.breadcrumb-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #38bdf8;
}

.breadcrumb-sub-item {
  color: #38bdf8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.finder-titlebar-spacer {
  width: 60px;
}

/* ── Finder Body (Sidebar + Canvas) ── */
.finder-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 460px;
}

/* Finder Sidebar */
.finder-sidebar {
  background: rgba(16, 23, 35, 0.75);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0.85rem;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.sidebar-group-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(148, 163, 184, 0.65);
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sidebar-item {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.48rem 0.65rem;
  border-radius: 6px;
  font-size: 0.82rem;
  color: #cbd5e1;
  cursor: var(--finder-cursor-hand);
  transition: all 0.15s ease;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  transform: translateX(2px);
}

.sidebar-item.active {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  font-weight: 600;
}

.sidebar-icon {
  font-size: 0.88rem;
  width: 18px;
  text-align: center;
  color: inherit;
}

.sidebar-label {
  flex: 1;
}

.sidebar-badge {
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  color: var(--gray-light);
}

/* ── Finder Canvas / Main Area ── */
.finder-canvas {
  background: rgba(14, 20, 31, 0.82);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 460px;
}

/* ── 1. Folder Grid View ── */
.finder-folder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
  padding: 2.5rem 2rem;
  flex: 1;
  align-content: center;
}

.finder-folder-hint {
  grid-column: 1 / -1;
  margin-bottom: -0.75rem;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
}

.finder-folder-item {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 1.1rem 0.75rem 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: var(--finder-cursor-hand);
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
  touch-action: manipulation;
}

.finder-folder-item:focus-visible {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.5);
}

.finder-folder-item:active {
  transform: scale(0.97);
}

/* Folder Graphic (Realistic macOS Folder) */
.finder-folder-art {
  width: 86px;
  height: 68px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.folder-tab {
  position: absolute;
  top: 0;
  left: 4px;
  width: 36px;
  height: 14px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--folder-start, #60a5fa) 0%, var(--folder-mid, #3b82f6) 100%);
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.15);
}

.folder-paper {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 13px;
  width: 60px;
  height: 44px;
  transform: translateY(0) rotate(0);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(145deg, #ffffff, #dbe4ef);
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.folder-paper::after {
  content: '';
  position: absolute;
  inset: 7px 8px 12px;
  background: repeating-linear-gradient(to bottom, #aab9cd 0 2px, transparent 2px 7px);
  opacity: 0.65;
}

.finder-folder-item:focus-visible .folder-paper {
  transform: translateY(-20px) rotate(-6deg);
}

@media (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .folder-paper {
    animation: folderPaperPeek 12s ease-in-out infinite;
    animation-delay: var(--paper-delay, 1.5s);
  }
}

@keyframes folderPaperPeek {
  0%, 8%, 100% { transform: translateY(0) rotate(0); }
  3% { transform: translateY(-20px) rotate(-6deg); }
  5% { transform: translateY(-2px) rotate(1deg); }
  6.5% { transform: translateY(-5px) rotate(-1deg); }
}

.folder-body {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--folder-start, #60a5fa) 0%, var(--folder-mid, #2563eb) 85%, var(--folder-end, #1d4ed8) 100%);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset;
  display: flex;
  align-items: center;
  justify-content: center;
}

.folder-icon-emboss {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35) inset, 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .finder-folder-item:hover .folder-paper {
    transform: translateY(-20px) rotate(-6deg);
  }

  .finder-folder-item:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.5);
  }

  .finder-folder-item:hover .folder-icon-emboss {
    transform: scale(1.1);
    color: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
  }
}

.folder-name {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.25rem;
  max-width: 170px;
}

.folder-sub {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.35;
  max-width: 165px;
}

/* ── 2. In-Window Detail View (No Modal, Stays Inside Finder) ── */
.finder-detail-container {
  padding: 2rem 2.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.finder-service-sheet {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  animation: sheetFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sheetFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sheet Top Nav Bar */
.sheet-nav-bar {
  display: flex;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sheet-back-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  cursor: var(--finder-cursor-hand);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.sheet-back-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  transform: translateX(-2px);
}

/* Sheet Hero */
.sheet-hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sheet-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: var(--accent-color, var(--orange));
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 20px -6px var(--accent-color, var(--orange));
  flex-shrink: 0;
}

.sheet-hero-text {
  flex: 1;
}

.sheet-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.sheet-tagline {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* One card for each service's illustration and details. */
.sheet-service-content {
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--preview-accent) 35%, transparent);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.sheet-preview {
  height: 252px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 28% 45%, color-mix(in srgb, var(--preview-accent) 20%, transparent), transparent 58%), #101a29;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sheet-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.05), transparent 48%);
}

.sheet-concept-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 1rem;
  z-index: 1;
}

.sheet-concept-art {
  display: grid;
  place-items: center;
  width: min(72%, 420px);
  height: 190px;
  flex: none;
  position: relative;
}

.concept-window-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #263449;
}

.concept-window-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5f56;
}

.concept-window-bar span:nth-child(2) {
  background: #ffbd2e;
}

.concept-window-bar span:nth-child(3) {
  background: #27c93f;
}

.concept-desktop-window,
.concept-web-window,
.concept-support-window {
  width: 100%;
  height: 175px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 9px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.42);
}

.concept-desktop-window {
  background: #111a2c;
  transform: rotate(-5deg);
}

.concept-desktop-stack,
.concept-web-stack,
.concept-support-stack {
  width: 100%;
  height: 190px;
  position: relative;
}

.concept-desktop-stack .concept-desktop-window {
  width: 79%;
  height: 165px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
}

.concept-desktop-inventory,
.concept-support-diagnostic {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 9px;
  background: #202b40;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.42);
}

.concept-desktop-inventory {
  width: 61%;
  height: 138px;
  top: 0;
  right: 0;
  transform: rotate(7deg);
}

.concept-desktop-inventory-body {
  display: grid;
  gap: 9px;
  padding: 12px;
  color: #c084fc;
}

.concept-desktop-inventory-body > i {
  font-size: 15px;
}

.concept-desktop-inventory-body > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.concept-desktop-inventory-body > div span:first-child {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(192, 132, 252, 0.5);
}

.concept-desktop-inventory-body > div span:last-child {
  width: 52%;
  height: 4px;
  border-radius: 3px;
  background: #6e7791;
}

.concept-desktop-body {
  display: grid;
  grid-template-columns: 35px 1fr;
  height: calc(100% - 22px);
}

.concept-desktop-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  background: #1c2940;
  color: #9db0cd;
  font-size: 10px;
}

.concept-desktop-sidebar i:first-child {
  color: #c084fc;
}

.concept-desktop-main {
  padding: 13px;
}

.concept-ui-label {
  display: block;
  width: 54%;
  height: 7px;
  border-radius: 4px;
  background: #e5d6ff;
}

.concept-desktop-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 12px 0;
}

.concept-desktop-stats div {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 7px;
  border: 1px solid rgba(192, 132, 252, 0.13);
  border-radius: 6px;
  background: rgba(192, 132, 252, 0.09);
  color: #c084fc;
}

.concept-desktop-stats span {
  width: 65%;
  height: 5px;
  border-radius: 3px;
  background: #75839b;
}

.concept-desktop-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 45px;
  padding: 0 5px;
  border-bottom: 1px solid #41516b;
}

.concept-desktop-chart span {
  flex: 1;
  height: 40%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(#c084fc, #7e22ce);
}

.concept-desktop-chart span:nth-child(2),
.concept-desktop-chart span:nth-child(5) { height: 68%; }
.concept-desktop-chart span:nth-child(3) { height: 52%; }
.concept-desktop-chart span:nth-child(4),
.concept-desktop-chart span:nth-child(7) { height: 87%; }
.concept-desktop-chart span:nth-child(6) { height: 62%; }

.concept-web-window {
  background: #eef3f9;
  transform: rotate(-4deg);
}

.concept-web-stack .concept-web-window {
  width: 84%;
  height: 165px;
  position: absolute;
  left: 0;
  top: 5px;
}

.concept-web-mobile {
  width: 26%;
  height: 150px;
  position: absolute;
  right: 1%;
  bottom: 0;
  z-index: 2;
  padding: 5px;
  border: 3px solid #263449;
  border-radius: 13px;
  background: #0b1420;
  box-shadow: 0 16px 27px rgba(0, 0, 0, 0.4);
  transform: rotate(7deg);
}

.concept-web-mobile-speaker {
  width: 20px;
  height: 3px;
  position: absolute;
  top: 5px;
  left: 50%;
  z-index: 1;
  border-radius: 3px;
  background: #263449;
  transform: translateX(-50%);
}

.concept-web-mobile-screen {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 12px 5px 5px;
  border-radius: 7px;
  background: #eef3f9;
}

.concept-web-mobile-logo {
  width: 14px;
  height: 5px;
  border-radius: 2px;
  background: #f4853a;
}

.concept-web-mobile-hero {
  display: grid;
  place-items: center;
  height: 52px;
  border-radius: 4px;
  background: linear-gradient(135deg, #fdba74, #ea580c);
  color: white;
  font-size: 14px;
}

.concept-web-mobile-screen > span:not(.concept-web-mobile-logo) {
  width: 85%;
  height: 4px;
  border-radius: 3px;
  background: #afbdcc;
}

.concept-web-mobile-screen > span:nth-last-of-type(1) {
  width: 60%;
}

.concept-web-mobile-button {
  width: 50%;
  height: 9px;
  margin-top: 2px;
  border-radius: 3px;
  background: #f4853a;
}

.concept-web-page {
  padding: 11px 13px;
  color: #1a2737;
}

.concept-web-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 12px;
}

.concept-web-nav span {
  width: 20px;
  height: 3px;
  border-radius: 4px;
  background: #9eabc0;
}

.concept-web-nav .concept-web-logo {
  width: 18px;
  height: 9px;
  margin-right: auto;
  background: #f4853a;
}

.concept-web-hero {
  display: grid;
  grid-template-columns: 1fr 40%;
  align-items: center;
  gap: 8px;
  height: 105px;
}

.concept-web-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.concept-web-eyebrow,
.concept-web-line {
  height: 4px;
  border-radius: 3px;
  background: #afbdcc;
}

.concept-web-eyebrow { width: 40%; }
.concept-web-line { width: 85%; }

.concept-web-heading-lines {
  display: grid;
  gap: 5px;
  width: 100%;
}
.concept-web-heading-lines span {
  width: 82%;
  height: 8px;
  border-radius: 4px;
  background: #263449;
}
.concept-web-heading-lines span:last-child {
  width: 62%;
}

.concept-web-button {
  display: block;
  width: 64px;
  height: 20px;
  border-radius: 4px;
  background: #f4853a;
}

.concept-web-graphic {
  display: grid;
  place-items: center;
  height: 88px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fdba74, #ea580c);
  color: #fff;
  font-size: 30px;
}

.concept-design-board {
  width: 100%;
  height: 180px;
  position: relative;
}

.concept-design-card {
  position: absolute;
  width: 58%;
  height: 145px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.concept-design-card-back {
  top: 0;
  left: 5%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: #33223d;
  transform: rotate(-9deg);
}

.concept-design-card-back span {
  height: 12px;
  border-radius: 5px;
  background: #80506d;
}

.concept-design-card-back span:first-child { width: 50%; }
.concept-design-card-back span:nth-child(2) { height: 52px; background: #a34681; }
.concept-design-card-back span:last-child { width: 70%; }

.concept-design-card-front {
  right: 3%;
  bottom: 0;
  background: #fef5fa;
  transform: rotate(6deg);
}

.concept-design-heading {
  display: flex;
  justify-content: space-between;
}

.concept-design-heading span {
  width: 38%;
  height: 5px;
  border-radius: 5px;
  background: #d5adca;
}

.concept-design-heading span:last-child { width: 18%; }

.concept-design-hero {
  height: 62px;
  margin: 13px 0 9px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f9a8d4, #db2777);
}

.concept-design-lines {
  display: grid;
  gap: 4px;
}

.concept-design-lines span {
  height: 4px;
  border-radius: 5px;
  background: #d7bdcd;
}

.concept-design-lines span:last-child { width: 70%; }

.concept-design-button {
  width: 40%;
  height: 10px;
  margin-top: 7px;
  border-radius: 4px;
  background: #ec4899;
}

.concept-design-swatches {
  position: absolute;
  left: 2%;
  bottom: 0;
  display: flex;
  gap: 3px;
  padding: 5px;
  border-radius: 20px;
  background: #192335;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.concept-design-swatches span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ec4899;
}

.concept-design-swatches span:nth-child(2) { background: #f9a8d4; }
.concept-design-swatches span:nth-child(3) { background: #fff1f8; }

.concept-design-cursor {
  position: absolute;
  right: 0;
  bottom: 16px;
  color: #fff;
  font-size: 20px;
  filter: drop-shadow(2px 3px 1px #34243b);
}

.concept-support-window {
  overflow: visible;
  background: #102b2b;
  transform: rotate(-4deg);
}

.concept-support-stack .concept-support-window {
  width: 83%;
  height: 165px;
  position: absolute;
  left: 0;
  top: 4px;
}

.concept-support-diagnostic {
  width: 57%;
  height: 102px;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: #102b2b;
  transform: rotate(7deg);
}

.concept-support-diagnostic-body {
  display: grid;
  gap: 7px;
  padding: 9px 11px;
  color: #34d399;
}

.concept-support-diagnostic-body i {
  font-size: 14px;
}

.concept-support-diagnostic-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.concept-support-diagnostic-icons .concept-support-error {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(248, 113, 113, 0.17);
  color: #f87171;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.concept-support-diagnostic-body span {
  width: 78%;
  height: 4px;
  border-radius: 3px;
  background: #3e776b;
}

.concept-support-diagnostic-body span:nth-last-child(1) {
  width: 52%;
}

.concept-support-body {
  padding: 12px 16px;
}

.concept-support-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a7f3d0;
  font-size: 11px;
  font-weight: 700;
}

.concept-support-status i { color: #34d399; }
.concept-support-status span {
  width: 42%;
  height: 6px;
  border-radius: 4px;
  background: #a7f3d0;
}

.concept-support-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  height: 57px;
  margin: 12px 0;
  padding: 0 5px;
  border: 1px solid rgba(52, 211, 153, 0.16);
  border-radius: 6px;
  background: rgba(52, 211, 153, 0.05);
}

.concept-support-line span {
  flex: 1;
  height: 15px;
  border-radius: 3px;
  background: #34d399;
}

.concept-support-line span:nth-child(2),
.concept-support-line span:nth-child(5),
.concept-support-line span:nth-child(8) { height: 26px; }
.concept-support-line span:nth-child(3),
.concept-support-line span:nth-child(6) { height: 38px; }
.concept-support-line span:nth-child(4) { height: 47px; }

.concept-support-bottom {
  display: flex;
  gap: 6px;
}

.concept-support-bottom span {
  width: 28%;
  height: 6px;
  border-radius: 5px;
  background: #426a66;
}

.concept-support-bottom span:nth-child(2) { width: 18%; }

.sheet-device-stack {
  width: 300px;
  height: 252px;
  flex: none;
  position: relative;
}

.sheet-tablet {
  width: 205px;
  height: 142px;
  position: absolute;
  top: 55px;
  left: 90px;
  padding: 7px;
  border: 4px solid #35465b;
  border-radius: 15px;
  background: #080e17;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42);
  transform: rotate(7deg);
}

.sheet-tablet-screen {
  height: 100%;
  padding: 11px;
  border-radius: 8px;
  background: #eef6ff;
  color: #172638;
}

.sheet-tablet-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
}

.sheet-tablet-header i {
  color: #0284c7;
}

.sheet-app-title-line {
  display: block;
  width: 45%;
  height: 6px;
  border-radius: 4px;
  background: #45657f;
}

.sheet-tablet-content {
  display: grid;
  grid-template-columns: 58% 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.sheet-tablet-card {
  display: grid;
  place-items: center;
  height: 62px;
  border-radius: 7px;
  background: linear-gradient(135deg, #0369a1, #38bdf8);
  color: #fff;
  font-size: 23px;
}

.sheet-tablet-lines {
  display: grid;
  gap: 8px;
}

.sheet-tablet-lines span {
  height: 6px;
  border-radius: 4px;
  background: #bfdbec;
}

.sheet-tablet-lines span:last-child {
  width: 65%;
}

.sheet-phone {
  width: 144px;
  height: 275px;
  flex: none;
  position: absolute;
  top: 14px;
  left: 25px;
  z-index: 2;
  padding: 7px;
  border: 3px solid #35465b;
  border-radius: 25px;
  background: #080e17;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.13) inset;
  transform: rotate(-7deg);
}

.sheet-phone-speaker {
  width: 40px;
  height: 6px;
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #090f18;
}

.sheet-phone-screen {
  height: 100%;
  padding: 25px 9px 9px;
  overflow: hidden;
  border-radius: 17px;
  color: #172638;
  background: #eef6ff;
}

.sheet-phone-app-header,
.sheet-phone-tabbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sheet-phone-app-header {
  font-size: 10px;
  font-weight: 800;
}

.sheet-phone-app-header i:first-child {
  color: #0284c7;
}

.sheet-phone-app-header i:last-child {
  color: #60768a;
}

.sheet-phone-welcome {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 29px;
  margin: 22px 0 10px;
}

.sheet-phone-welcome-line {
  display: block;
  width: 55%;
  height: 6px;
  border-radius: 4px;
  background: #8ba9bf;
}
.sheet-phone-welcome-line:last-child {
  width: 85%;
  height: 8px;
  background: #2b4259;
}

.sheet-phone-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 10px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0369a1, #38bdf8);
  color: white;
}

.sheet-phone-feature i {
  font-size: 19px;
}

.sheet-phone-feature-lines {
  display: grid;
  gap: 6px;
  flex: 1;
}

.sheet-phone-feature-lines span {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.8);
}

.sheet-phone-feature-lines span:last-child {
  width: 67%;
  opacity: 0.5;
}

.sheet-phone-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.sheet-phone-mini-grid div {
  display: grid;
  place-items: center;
  height: 29px;
  border-radius: 7px;
  background: #dceefa;
  color: #0284c7;
  font-size: 12px;
}

.sheet-phone-tabbar {
  margin-top: 11px;
  padding: 8px 6px;
  border-top: 1px solid #cbdcea;
  color: #60768a;
  font-size: 11px;
}

.sheet-phone-tabbar i:first-child {
  color: #0284c7;
}

.sheet-detail-content {
  background: transparent;
}

.sheet-detail-sections {
  display: grid;
  gap: 1.25rem;
  padding: 1rem;
}

/* Sheet Content Sections */
.sheet-section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sheet-section-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sheet-desc-text {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.65;
}

/* Capabilities Grid */
.sheet-capabilities-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.sheet-capability-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  line-height: 1.4;
}

.cap-check {
  color: #34d399;
  font-size: 0.8rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Client Value Callout */
.sheet-value-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(244, 133, 58, 0.08);
  border: 1px solid rgba(244, 133, 58, 0.28);
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
}

.value-box-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(244, 133, 58, 0.18);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.value-box-content {
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.value-box-content strong {
  color: var(--orange-light);
}

/* Sheet Action Bar */
.sheet-action-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0;
}

.sheet-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 15px rgba(244, 133, 58, 0.35);
}

.sheet-back-bottom { display: none; }

/* Helper hidden class */
.hidden {
  display: none !important;
}

/* ── Responsive Rules for macOS Finder Window ── */
@media (max-width: 860px) {
  .finder-body {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .finder-sidebar {
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1rem;
  }

  .sidebar-list {
    min-width: 0;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .sidebar-list li {
    flex: 0 0 auto;
  }

  .sidebar-item {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .finder-canvas,
  .finder-folder-grid,
  .finder-detail-container {
    min-width: 0;
  }

  .finder-folder-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    padding: 1.5rem 1rem;
  }

  .sheet-capabilities-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 580px) {
  .finder-window {
    width: 100%;
  }

  .finder-titlebar {
    padding: 0 0.75rem;
  }

  .finder-title-breadcrumb {
    min-width: 0;
    flex: 1;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
  }

  .breadcrumb-root,
  .finder-title-breadcrumb > .breadcrumb-separator {
    display: none;
  }

  .breadcrumb-sub-item {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .finder-body,
  .finder-canvas {
    min-height: 0;
  }

  .finder-sidebar {
    display: none;
  }

  .finder-folder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.3rem;
    padding: 1rem 0.5rem;
  }

  .finder-folder-hint {
    margin-bottom: 0.25rem;
    text-align: center;
  }

  .finder-folder-item {
    min-width: 0;
    padding: 0.8rem 0.25rem;
  }

  .finder-folder-art {
    transform: scale(0.85);
    margin-bottom: 0.3rem;
  }

  .folder-name {
    font-size: 0.83rem;
  }

  .folder-sub {
    font-size: 0.7rem;
  }

  .finder-detail-container {
    padding: 1.1rem 0.85rem;
  }

  .sheet-service-content {
    margin-inline: -0.85rem;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .sheet-hero {
    flex-direction: column;
    text-align: center;
  }

  .sheet-preview {
    height: 222px;
  }

  .sheet-concept-layout {
    padding: 0.75rem;
  }

  .sheet-concept-art {
    width: min(90%, 300px);
    height: 150px;
  }

  .concept-desktop-stack,
  .concept-web-stack,
  .concept-support-stack {
    height: 150px;
  }

  .concept-desktop-window,
  .concept-web-window,
  .concept-support-window {
    height: 145px;
  }

  .concept-desktop-stack .concept-desktop-window,
  .concept-web-stack .concept-web-window,
  .concept-support-stack .concept-support-window {
    height: 135px;
  }

  .concept-desktop-inventory {
    height: 100px;
  }

  .concept-desktop-inventory-body {
    gap: 4px;
    padding: 6px;
  }

  .concept-web-mobile {
    width: 30%;
    height: 112px;
    padding: 3px;
  }

  .concept-web-mobile-screen {
    gap: 4px;
    padding: 10px 3px 3px;
  }

  .concept-web-mobile-hero {
    height: 35px;
  }

  .concept-support-diagnostic {
    height: 78px;
  }

  .concept-support-diagnostic-body {
    gap: 4px;
    padding: 5px;
  }

  .concept-desktop-main,
  .concept-support-body {
    padding: 8px;
  }

  .concept-desktop-stats {
    margin: 7px 0;
  }

  .concept-desktop-stats div {
    height: 27px;
    padding: 4px;
    gap: 3px;
  }

  .concept-desktop-chart {
    height: 32px;
  }

  .concept-web-page {
    padding: 8px;
  }

  .concept-web-hero {
    height: 90px;
  }

  .concept-web-graphic {
    height: 72px;
    font-size: 20px;
  }

  .concept-design-board {
    height: 150px;
  }

  .concept-design-card {
    height: 120px;
    padding: 8px;
  }

  .concept-design-card-back span:nth-child(2),
  .concept-design-hero {
    height: 42px;
  }

  .concept-support-line {
    height: 44px;
    margin: 9px 0;
  }

  .concept-support-line span:nth-child(4) {
    height: 38px;
  }

  .sheet-device-stack {
    width: 240px;
    height: 222px;
  }

  .sheet-tablet {
    width: 150px;
    height: 88px;
    top: 60px;
    left: 80px;
    padding: 3px;
    border-width: 3px;
    border-radius: 9px;
  }

  .sheet-tablet-screen {
    padding: 5px;
  }

  .sheet-tablet-header {
    font-size: 7px;
  }

  .sheet-tablet-content {
    gap: 4px;
    margin-top: 7px;
  }

  .sheet-tablet-card {
    height: 38px;
    font-size: 14px;
  }

  .sheet-tablet-lines {
    gap: 4px;
  }

  .sheet-tablet-lines span {
    height: 4px;
  }

  .sheet-phone {
    left: 20px;
    transform: rotate(-7deg) scale(0.78);
    transform-origin: top left;
  }

  .sheet-action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .sheet-cta-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .sheet-back-bottom {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .sheet-concept-layout {
    padding: 0.45rem;
  }

  .sheet-device-stack {
    width: 205px;
  }

  .sheet-tablet {
    width: 130px;
    left: 70px;
  }

  .sheet-phone {
    left: 12px;
    transform: rotate(-7deg) scale(0.68);
  }
}

/* ── About Section ───────────────────────────────────────── */
#about {
  padding: 7rem 0;
  position: relative;
  background: linear-gradient(180deg, rgba(26, 37, 53, 0.8) 0%, rgba(19, 28, 41, 0.85) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-terminal-container {
  max-width: 840px;
  margin: 0 auto 4rem;
}

.terminal-window {
  background: rgba(10, 15, 22, 0.95);
  border: 1px solid rgba(244, 133, 58, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(244, 133, 58, 0.08);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gray);
  letter-spacing: 0.3px;
}

.terminal-body {
  padding: 1.5rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
}

.terminal-ascii {
  font-family: var(--font-mono);
  font-size: clamp(0.48rem, 1.25vw, 0.72rem);
  line-height: 1.15;
  color: var(--orange);
  margin: 0.85rem 0 1.25rem;
  overflow-x: auto;
  text-shadow: 0 0 12px rgba(244, 133, 58, 0.35);
  border: none;
  background: transparent;
  padding: 0;
}

.terminal-info-banner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  margin-bottom: 0.75rem;
}

.t-info-row {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

.t-key {
  color: #64ffda;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.5px;
}

.t-val {
  color: #e2e8f0;
  line-height: 1.5;
}

.t-prompt {
  color: var(--orange);
  font-weight: 700;
}

.t-cmd {
  color: #f1f5f9;
  font-weight: 500;
}

.t-cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--orange);
  vertical-align: middle;
  margin-left: 4px;
  animation: blink 1s step-end infinite;
}

/* About Value Cards Grid */
.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.about-card {
  background: rgba(30, 45, 66, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(244, 133, 58, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 133, 58, 0.35);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.45);
  background: rgba(30, 45, 66, 0.7);
}

.about-card:hover::before {
  opacity: 1;
}

.about-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.about-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform var(--transition);
}

.about-card:hover .about-card-icon {
  transform: scale(1.08);
}

.about-card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid;
}

.about-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.about-card-desc {
  font-size: 0.94rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* About CTA Banner */
.about-cta-banner {
  background: linear-gradient(135deg, rgba(244, 133, 58, 0.12) 0%, rgba(30, 45, 66, 0.75) 100%);
  border: 1px solid rgba(244, 133, 58, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.35);
}

.about-cta-content {
  flex: 1;
}

.about-cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.about-cta-desc {
  font-size: 0.94rem;
  color: var(--gray-light);
  margin: 0;
  line-height: 1.6;
}

.about-cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}


/* ── Portfolio Section ───────────────────────────────────── */
#portfolio {
  padding: 7rem 0;
  background: linear-gradient(180deg, rgba(32, 48, 70, 0.78) 0%, rgba(30, 45, 66, 0.78) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* ── Showcase Carousel & Laptop Mockup ─────────────────── */
.showcase-carousel-wrapper {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Category Filter Tabs */
.showcase-tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(30, 45, 66, 0.6);
  color: var(--gray-light);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.showcase-tab:hover {
  background: rgba(244, 133, 58, 0.1);
  color: var(--white);
  border-color: rgba(244, 133, 58, 0.4);
  transform: translateY(-2px);
}
.showcase-tab.active {
  background: linear-gradient(135deg, rgba(244, 133, 58, 0.22) 0%, rgba(244, 133, 58, 0.08) 100%);
  color: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(244, 133, 58, 0.25);
  font-weight: 600;
}
.tab-icon {
  font-size: 1rem;
  color: var(--orange);
  transition: transform var(--transition);
}
.showcase-tab:hover .tab-icon {
  transform: scale(1.15);
}

/* ── Solution Description Below Laptop ── */
.showcase-solution-container {
  width: 100%;
  max-width: 780px;
  margin: 1.25rem auto 1rem;
  position: relative;
  min-height: 60px;
  text-align: center;
  padding: 0 1rem;
}

.showcase-intro-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-intro-card.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.showcase-solution-desc {
  font-size: 1.05rem;
  color: var(--gray-light);
  line-height: 1.65;
  margin: 0 auto;
}

/* ── 3D Orbital Carousel Stage ───────────────────────────── */
.portfolio-3d-stage {
  width: 100%;
  max-width: 1140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  perspective: 1400px;
  transform-style: preserve-3d;
  padding: 1.5rem 1rem 2.5rem;
  min-height: 480px;
}

/* 3D Track hosting the 6 orbiting project cards */
.orbital-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  pointer-events: none;
}

/* Base Card in 3D Space */
.orbital-card {
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  position: absolute;
  width: min(696px, calc(100vw - 44px));
  aspect-ratio: 16 / 10;
  margin-top: -22px;
  border-radius: 6px;
  overflow: hidden;
  background: #080d14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.85s ease;
  user-select: none;
  pointer-events: auto;
}

.orbital-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.orbital-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
}

.orbital-card-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

/* ── 3D Orbital Trajectory Slots ── */

/* Slot 0: Active in orbit – Fades seamlessly because the active screenshot is rendered directly inside .laptop-screen */
.orbital-card.slot-active {
  transform: translate3d(0, 0, -60px) rotateY(0deg) scale(0.85);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  filter: brightness(0.9);
  box-shadow: none;
}

/* Slot +1: Right Flank (Floating in 3D Perspective) */
.orbital-card.slot-next {
  transform: translate3d(380px, -8px, -140px) rotateY(-34deg) scale(0.76);
  z-index: 10;
  opacity: 0.88;
  filter: brightness(0.85) saturate(0.95);
  box-shadow: -10px 18px 45px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.orbital-card.slot-next:hover {
  transform: translate3d(385px, -12px, -100px) rotateY(-26deg) scale(0.8);
  opacity: 1;
  filter: brightness(1) saturate(1.05);
  border-color: rgba(244, 133, 58, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(244, 133, 58, 0.25);
}

/* Slot -1: Left Flank (Floating in 3D Perspective) */
.orbital-card.slot-prev {
  transform: translate3d(-380px, -8px, -140px) rotateY(34deg) scale(0.76);
  z-index: 10;
  opacity: 0.88;
  filter: brightness(0.85) saturate(0.95);
  box-shadow: 10px 18px 45px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.orbital-card.slot-prev:hover {
  transform: translate3d(-385px, -12px, -100px) rotateY(26deg) scale(0.8);
  opacity: 1;
  filter: brightness(1) saturate(1.05);
  border-color: rgba(244, 133, 58, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(244, 133, 58, 0.25);
}

/* Slot +2: Right Back (Passing behind laptop screen) */
.orbital-card.slot-far-next {
  transform: translate3d(220px, -20px, -360px) rotateY(-65deg) scale(0.55);
  z-index: 6;
  opacity: 0.52;
  filter: brightness(0.6) saturate(0.8) blur(0.5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.orbital-card.slot-far-next:hover {
  opacity: 0.8;
  filter: brightness(0.85) saturate(0.95);
}

/* Slot -2: Left Back (Passing behind laptop screen) */
.orbital-card.slot-far-prev {
  transform: translate3d(-220px, -20px, -360px) rotateY(65deg) scale(0.55);
  z-index: 6;
  opacity: 0.52;
  filter: brightness(0.6) saturate(0.8) blur(0.5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.orbital-card.slot-far-prev:hover {
  opacity: 0.8;
  filter: brightness(0.85) saturate(0.95);
}

/* Slot 3: Deep Center Back (Directly behind the laptop) */
.orbital-card.slot-back {
  transform: translate3d(0px, -32px, -480px) rotateY(180deg) scale(0.44);
  z-index: 3;
  opacity: 0.2;
  filter: brightness(0.35) saturate(0.6) blur(1px);
  pointer-events: none;
}

.orbital-card.slot-back-next,
.orbital-card.slot-back-prev {
  z-index: 3;
  opacity: 0.2;
  filter: brightness(0.35) saturate(0.6) blur(1px);
  pointer-events: none;
}

.orbital-card.slot-back-next {
  transform: translate3d(65px, -32px, -480px) rotateY(-110deg) scale(0.44);
}

.orbital-card.slot-back-prev {
  transform: translate3d(-65px, -32px, -480px) rotateY(110deg) scale(0.44);
}

/* ── Center Silver Laptop Mockup ── */
.laptop-mockup {
  width: 100%;
  max-width: 720px;
  position: relative;
  perspective: 1000px;
  z-index: 20;
  flex-shrink: 0;
  pointer-events: none;
}

/* Silver Edition Laptop Lid */
.laptop-lid,
.laptop-mockup.silver-edition .laptop-lid {
  position: relative;
  background: linear-gradient(135deg, #d8dce3 0%, #c4c9d3 50%, #b8bfc9 100%);
  border: 11px solid #d2d6df;
  border-bottom: 13px solid #b5bcc7;
  border-radius: 18px 18px 2px 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75) inset,
              0 2px 4px rgba(0, 0, 0, 0.1),
              0 25px 60px rgba(0, 0, 0, 0.65);
  box-sizing: border-box;
}

/* Webcam dot with status glow */
.laptop-camera,
.laptop-mockup.silver-edition .laptop-camera {
  width: 7px;
  height: 7px;
  background: #0b0e14;
  border: 1px solid #6c7686;
  border-radius: 50%;
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  box-shadow: 0 0 3px rgba(56, 189, 248, 0.7);
}

/* Laptop Screen Viewport */
.laptop-screen,
.laptop-mockup.silver-edition .laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #080d14;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  border: 3px solid #11151e;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

/* Sliding Display Viewport inside Screen */
.laptop-screen-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.laptop-screen-loader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: #080d14;
  pointer-events: none;
}

.laptop-screen-loader::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 -24px 0 #f4853a, 17px -17px 0 rgba(244,133,58,.85),
    24px 0 0 rgba(244,133,58,.7), 17px 17px 0 rgba(244,133,58,.55),
    0 24px 0 rgba(244,133,58,.4), -17px 17px 0 rgba(244,133,58,.3),
    -24px 0 0 rgba(244,133,58,.2), -17px -17px 0 rgba(244,133,58,.1);
  animation: phoneLoading 1s steps(8) infinite;
}

.laptop-screen-error {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--gray-light);
  text-align: center;
  background: #080d14;
}

.laptop-screen-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  z-index: 1;
}

.laptop-screen-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.laptop-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Screen Gloss Highlight Overlay */
.screen-gloss-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 60%);
  pointer-events: none;
  z-index: 10;
}

/* Laptop Carousel Navigation Arrows (Floating at sides) */
.laptop-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 35;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  user-select: none;
  opacity: 0.95;
  pointer-events: auto;
}
.laptop-nav-btn:hover {
  opacity: 1;
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 0 22px rgba(244, 133, 58, 0.6);
  transform: translateY(-50%) scale(1.12);
}
.laptop-prev-btn { left: -26px; }
.laptop-next-btn { right: -26px; }

/* Silver Edition Laptop Hinge */
.laptop-hinge,
.laptop-mockup.silver-edition .laptop-hinge {
  width: 16%;
  height: 6px;
  background: linear-gradient(180deg, #7c8491 0%, #545b67 50%, #6f7783 100%);
  margin: 0 auto;
  border-radius: 0 0 3px 3px;
  border-top: 1px solid #4a515c;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Silver Edition Laptop Base (Chassis) */
.laptop-base,
.laptop-mockup.silver-edition .laptop-base {
  width: 108%;
  height: 15px;
  margin-left: -4%;
  background: linear-gradient(180deg, #f0f3f7 0%, #d8dde5 35%, #b6bcc7 80%, #8d95a2 100%);
  border-radius: 0 0 16px 16px;
  position: relative;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset,
              0 14px 38px rgba(0, 0, 0, 0.75),
              0 2px 4px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

/* Silver Thumb Notch */
.laptop-notch,
.laptop-mockup.silver-edition .laptop-notch {
  width: 80px;
  height: 5px;
  background: linear-gradient(180deg, #9da4af 0%, #7c8490 100%);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 6px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) inset;
}

/* Ambient floor shadow under laptop */
.laptop-shadow {
  width: 94%;
  height: 24px;
  margin: 8px auto 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 50%, transparent 80%);
  filter: blur(6px);
}


/* Responsive adjustments */




@media (max-width: 768px) {
  /* On phones the laptop is the only carousel surface. */
  .portfolio-3d-stage {
    perspective: none;
    transform-style: flat;
    min-height: 0;
    padding: 1rem 0 1.5rem;
  }
  .orbital-track { display: none; }
  .laptop-mockup { perspective: none; }
  .laptop-lid {
    border-width: 8px;
    border-bottom-width: 10px;
    border-radius: 12px 12px 2px 2px;
  }
  .laptop-base {
    height: 12px;
    border-radius: 0 0 10px 10px;
  }
  .laptop-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    top: 45%;
  }
  .laptop-prev-btn { left: -14px; }
  .laptop-next-btn { right: -14px; }
  .showcase-tabs {
    gap: 0.4rem;
  }
  .showcase-tab {
    font-size: 0.78rem;
    padding: 0.45rem 0.9rem;
  }

}




/* ── Testimonials / Contact CTA ─────────────────────────── */
#contact {
  padding: 7rem 0;
  background: linear-gradient(180deg, rgba(26, 37, 53, 0.78) 0%, rgba(30, 45, 66, 0.78) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Contact Section: Horizontal Quick Facts Row */
.contact-quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 2.25rem auto 3.5rem auto;
  width: 100%;
}

.quick-fact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1rem;
  background: rgba(30, 45, 66, 0.65);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.quick-fact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 133, 58, 0.4);
  background: rgba(30, 45, 66, 0.9);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(244, 133, 58, 0.15);
}

.quick-fact-icon {
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-fact-label {
  font-size: 0.82rem;
  color: var(--gray-light);
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .contact-quick-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.75rem auto 2.5rem auto;
  }
}

@media (max-width: 480px) {
  .contact-quick-facts {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .quick-fact-card {
    padding: 0.85rem 0.5rem;
  }
  .quick-fact-label {
    font-size: 0.75rem;
    white-space: normal;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info p { font-size: 1rem; margin-bottom: 2rem; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(30,45,66,0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--gray-light);
  transition: all var(--transition);
}
.contact-link:hover {
  border-color: var(--orange);
  color: var(--white);
  transform: translateX(6px);
}
.contact-link-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(244,133,58,0.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-link-whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.08);
}
.contact-link-whatsapp:hover {
  border-color: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2);
}
.contact-link-whatsapp .contact-link-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}
.badge-fast {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.2);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-left: 0.4rem;
}

/* Form */
.contact-form {
  background: rgba(30,45,66,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}
.contact-form button[type="submit"] {
  justify-content: center;
  text-align: center;
}

.form-alert {
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.form-alert-after-submit {
  margin-top: 1rem;
  margin-bottom: 0;
}
.form-alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}
.form-alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0 1rem;
  color: var(--gray);
  font-size: 0.82rem;
  font-family: var(--font-mono);
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.form-divider:not(:empty)::before {
  margin-right: 0.75rem;
}
.form-divider:not(:empty)::after {
  margin-left: 0.75rem;
}

.btn-email-alt {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--gray-light);
}
.btn-email-alt:hover:not(:disabled) {
  border-color: var(--orange);
  color: var(--white);
  background: rgba(244, 133, 58, 0.08);
}
.btn-email-alt:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-light);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(26,37,53,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244,133,58,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select option { background: var(--navy-light); }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--navy-light);
  border-top: 1px solid rgba(244,133,58,0.1);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img { height: 38px; margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--gray);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--gray);
}
.footer-copy span { color: var(--orange); }

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition);
  color: var(--gray);
}
.social-btn:hover {
  background: rgba(244,133,58,0.15);
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

/* Scroll-reveal */
.reveal[data-reveal-pending] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal[data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-2 { transition-delay: 0.2s; }



.whatsapp-float {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  max-width: calc(100vw - 2.5rem);
  padding: 0.8rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: #25d366;
  color: #082b16;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, background 0.2s;
}
.whatsapp-float i { font-size: 1.5rem; }
.whatsapp-float.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.whatsapp-float:hover { background: #46e181; color: #082b16; }
.whatsapp-float:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; transform: none; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; max-width: 520px; margin: 0 auto; }
  .about-cards-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-cta-banner { flex-direction: column; text-align: center; gap: 1.5rem; padding: 2rem 1.75rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* 3D Carousel Tablet */
  .portfolio-3d-stage { perspective: 1200px; padding: 1rem 0 2rem; }
  .orbital-card { width: min(580px, calc(100vw - 36px)); margin-top: -18px; }
  .orbital-card.slot-next { transform: translate3d(260px, -6px, -130px) rotateY(-30deg) scale(0.68); }
  .orbital-card.slot-prev { transform: translate3d(-260px, -6px, -130px) rotateY(30deg) scale(0.68); }
  .orbital-card.slot-far-next { transform: translate3d(150px, -16px, -320px) rotateY(-58deg) scale(0.48); }
  .orbital-card.slot-far-prev { transform: translate3d(-150px, -16px, -320px) rotateY(58deg) scale(0.48); }
}

@media (max-width: 768px) {
  .hero-grid { gap: 0; }
  .hero-content { display: contents; }
  .hero-eyebrow { order: 0; }
  .hero-title { order: 1; }
  .hero-visual { order: 2; margin: 0 auto 1.5rem; }
  .hero-desc { order: 3; }
  .hero-actions { order: 4; }

  .nav-links { display: none; }
  .nav-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
  }
  .nav-hamburger[aria-expanded="true"] {
    border-color: rgba(244, 133, 58, 0.45);
    background: rgba(244, 133, 58, 0.12);
  }
  .nav-hamburger[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav-links.open {
    display: grid;
    gap: 0.25rem;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(16, 23, 35, 0.98);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    color: #d5e0ec;
    font-size: 0.95rem;
    line-height: 1.3;
  }
  .nav-links.open .language-dropdown summary { width: 52px; height: 44px; }
  .nav-links.open .language-options {
    position: static;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
  }
  .nav-links.open a:hover,
  .nav-links.open a:focus-visible {
    color: #fff;
    background: rgba(244, 133, 58, 0.12);
  }
  .nav-links.open .nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
    min-height: 48px;
    color: #fff;
  }
  .nav-links.open .nav-cta:hover,
  .nav-links.open .nav-cta:focus-visible {
    background: var(--orange-dark) !important;
  }

.t-info-row { grid-template-columns: 1fr; gap: 0.2rem; }
  .terminal-body { padding: 1.25rem 1rem; font-size: 0.78rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

.phone-3d-container { height: 440px; }

  .laptop-prev-btn { left: -12px; width: 40px; height: 40px; font-size: 1rem; }
  .laptop-next-btn { right: -12px; width: 40px; height: 40px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .phone-3d-container { height: 380px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

}

/* Native anchor navigation keeps deep links and browser history intact. */
section[id] { scroll-margin-top: 5rem; }
.w-full { width: 100%; }
.mt-3 { margin-top: 1.5rem; }
.form-hint { font-size: 0.8rem; margin-bottom: 1rem; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.portfolio-3d-stage { touch-action: pan-y; }
.slide-enter-next { animation: slideEnterNext .65s cubic-bezier(.25, 1, .5, 1) both; }
.slide-enter-prev { animation: slideEnterPrev .65s cubic-bezier(.25, 1, .5, 1) both; }
.slide-exit-next { animation: slideExitNext .65s cubic-bezier(.25, 1, .5, 1) both; }
.slide-exit-prev { animation: slideExitPrev .65s cubic-bezier(.25, 1, .5, 1) both; }
@keyframes slideEnterNext { from { transform: translateX(100%); opacity: 1; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideEnterPrev { from { transform: translateX(-100%); opacity: 1; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideExitNext { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-100%); opacity: 0; } }
@keyframes slideExitPrev { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal[data-reveal-pending] { opacity: 1; transform: none; }
}
/* Centered dotted loader keeps the same reserved space as the canvas. */
.phone-3d-container::after {
  content: '';
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 -24px 0 #f4853a, 17px -17px 0 rgba(244,133,58,.85),
    24px 0 0 rgba(244,133,58,.7), 17px 17px 0 rgba(244,133,58,.55),
    0 24px 0 rgba(244,133,58,.4), -17px 17px 0 rgba(244,133,58,.3),
    -24px 0 0 rgba(244,133,58,.2), -17px -17px 0 rgba(244,133,58,.1);
  animation: phoneLoading 1s steps(8) infinite;
}
.phone-ready canvas { opacity: 1; }
.phone-ready::after, .phone-unavailable::after { display: none; }
@keyframes phoneLoading { to { transform: rotate(360deg); } }
.nav-logo img, .footer-brand img { width: auto; }

/* Keep direct WhatsApp contact above the compact email form at every size. */
.contact-grid.contact-stack {
  grid-template-columns: minmax(0, 1fr);
  max-width: 680px;
  margin-inline: auto;
  gap: 1.5rem;
}
.contact-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gray);
  font-size: 0.875rem;
}
.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.contact-stack .contact-form { padding: clamp(1.25rem, 4vw, 2.5rem); }
.contact-stack .contact-link-whatsapp { justify-content: center; }
.contact-stack .contact-link .mono { flex-wrap: wrap; gap: 0.35rem; }
.contact-stack .contact-link { overflow-wrap: anywhere; }
.contact-stack .contact-form h3 { margin-bottom: 0.75rem; }
.contact-stack .contact-email-submit:disabled { opacity: 0.6; cursor: wait; }

.contact-stack .contact-whatsapp {
  background: #25d366;
  color: #080d14;
  justify-content: center;
  gap: 0.75rem;
  white-space: normal;
  text-align: center;
}
.contact-stack .contact-whatsapp:hover { background: #49e183; }
.contact-whatsapp-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
}
.contact-whatsapp-speed {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.75;
}

/* Native disclosure controls keep FAQ content accessible without scripts. */
#faq {
  padding: 7rem 0;
  background: linear-gradient(180deg, rgba(32, 48, 70, 0.78) 0%, rgba(30, 45, 66, 0.78) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.faq-list {
  max-width: 840px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}
.faq-item {
  background: rgba(30,45,66,0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.faq-item summary {
  padding: 1.25rem;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
}
.faq-item summary::marker { color: var(--orange); }
.faq-item summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -4px;
  border-radius: 10px;
}
.faq-item[open] { border-color: rgba(244,133,58,0.4); }
.faq-item p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  color: var(--gray-light);
  line-height: 1.7;
}

.faq-cta {
  max-width: 680px;
  margin: 3rem auto 0;
}
.faq-cta p { margin-bottom: 1.25rem; }

@media (max-width: 600px) {
  #faq { padding: 5rem 0; }
}
