/* =============================================================================
   DigiAlto — Main Stylesheet (Light Mode)
   Fonts: Syne (headings) + Inter (body) via Google Fonts
   ============================================================================= */

/* =============================================================================
   1. CSS Custom Properties
   ============================================================================= */

:root {
  --bg:          #F8F7F4;
  --bg-alt:      #FFFFFF;
  --bg-card:     #FFFFFF;
  --bg-card-hov: #F4F3EE;
  --text:        #0D0D12;
  --text-2:      #3A3A46;
  --muted:       #6B6B78;
  --faint:       rgba(13, 13, 18, 0.35);
  --border:      rgba(13, 13, 18, 0.08);
  --border-h:    rgba(13, 13, 18, 0.16);
  --accent:      #FF7700;
  --accent-dim:  rgba(255, 119, 0, 0.10);
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.08), 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg:   0 8px 32px rgba(0, 0, 0, 0.1), 0 24px 64px rgba(0, 0, 0, 0.08);
  --ff-head:     'Syne', -apple-system, sans-serif;
  --ff-body:     'Inter', -apple-system, sans-serif;
  --nav-h:       64px;
  --nav-bg:      rgba(248, 247, 244, 0.92);
  --r-sm:        8px;
  --r-md:        14px;
  --r-lg:        22px;
  --r-full:      9999px;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================================
   2. Reset & Base
   ============================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

ul,
ol {
  list-style: none;
}

::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

::selection {
  background: rgba(255, 119, 0, 0.15);
  color: var(--text);
}

/* =============================================================================
   3. Z-index Critical Fix
   ============================================================================= */

main {
  position: relative;
  z-index: 2;
}

footer {
  position: relative;
  z-index: 2;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

/* =============================================================================
   4. Page Overlay
   ============================================================================= */

#page-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  z-index: 99999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s var(--ease-out);
}

#page-overlay.is-loaded {
  opacity: 0;
}

#page-overlay.is-leaving {
  opacity: 1;
  pointer-events: all;
}

/* =============================================================================
   5. Progress Bar
   ============================================================================= */

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: var(--accent);
  z-index: 100000;
  transition: width 0.1s linear;
}

/* =============================================================================
   6. Site Intro
   ============================================================================= */

#site-intro {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-inner {
  text-align: center;
}

.intro-logo-wrap {
  overflow: hidden;
  margin-bottom: 16px;
}

.intro-logo-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(60px);
  opacity: 0;
}

#site-intro.is-ready .intro-logo-inner {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
}

.intro-brand-name {
  font-family: var(--ff-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}

.intro-tagline-wrap {
  overflow: hidden;
}

.intro-tagline-inner {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(40px);
  opacity: 0;
}

#site-intro.is-ready .intro-tagline-inner {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.6s 0.15s var(--ease-out), opacity 0.6s 0.15s var(--ease-out);
}

.intro-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border);
}

.intro-progress-fill {
  height: 100%;
  background-color: var(--accent);
  width: 0%;
  transition: width linear;
}

/* =============================================================================
   7. Background Layers
   ============================================================================= */

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.orb-1 {
  width: 700px;
  height: 700px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(255, 119, 0, 0.08), transparent 70%);
}

.orb-2 {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(41, 100, 255, 0.05), transparent 70%);
}

.orb-3 {
  width: 500px;
  height: 500px;
  top: 30%;
  left: 30%;
  background: radial-gradient(circle, rgba(255, 180, 80, 0.04), transparent 70%);
}

.geo-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.geo {
  display: none;
}

/* =============================================================================
   8. DigiAlto Logo Mark
   ============================================================================= */

.da-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  position: relative;
  flex-shrink: 0;
}

.da-logo-icon .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.da-logo-letter {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  position: relative;
  z-index: 1;
  line-height: 1;
}

.da-logo-xl {
  width: 56px;
  height: 56px;
}

.da-logo-xl .da-logo-letter {
  font-size: 28px;
}

.da-logo-sm {
  width: 28px;
  height: 28px;
}

.da-logo-sm .da-logo-letter {
  font-size: 14px;
}

/* =============================================================================
   9. Main Navigation
   ============================================================================= */

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 9000;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--text);
}

.brand-name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin-left: auto;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: all 0.15s;
  display: block;
}

.nav-link:hover {
  color: var(--text);
  background-color: rgba(13, 13, 18, 0.05);
}

.nav-link.active {
  color: var(--text);
  font-weight: 600;
}

.nav-item.has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s var(--ease-out);
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: all 0.15s;
}

.nav-dropdown a:hover {
  color: var(--text);
  background-color: var(--accent-dim);
}

.nav-icon {
  flex-shrink: 0;
  color: var(--accent);
  width: 16px;
  height: 16px;
}

.nav-cta {
  margin-left: 8px;
  flex-shrink: 0;
}

.nav-scrolled {
  box-shadow: 0 1px 0 var(--border);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-brand--logo img,
.nav-brand--logo .custom-logo {
  max-height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* =============================================================================
   10. Mobile Menu
   ============================================================================= */

#mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  z-index: 8999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 88px 24px 32px;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: all 0.35s var(--ease-out);
}

#mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

#mobile-menu a {
  font-family: var(--ff-head);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

#mobile-menu a.sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  padding-left: 20px;
  font-family: var(--ff-body);
  border-bottom: none;
}

/* =============================================================================
   11. Buttons
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #E56A00;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 119, 0, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-h);
}

.btn-ghost:hover {
  background-color: var(--bg-card-hov);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* =============================================================================
   12. Layout
   ============================================================================= */

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.inner-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}

.grad-text {
  background: linear-gradient(135deg, #FF7700 0%, #FF4500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================================================
   13. Hero
   ============================================================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  padding-top: 60px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
  will-change: transform;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background-color: var(--accent);
}

.hero-headline {
  font-family: var(--ff-head);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.hero-trust::before {
  content: '✦';
  color: var(--accent);
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* =============================================================================
   14. Stats Bar
   ============================================================================= */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 80px;
}

.stat-item {
  padding: 40px 32px;
  text-align: left;
  background-color: var(--bg);
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.stat-num {
  font-family: var(--ff-head);
  font-size: clamp(36px, 3vw, 52px);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =============================================================================
   15. Services Grid (Homepage)
   ============================================================================= */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.svc-card {
  background-color: var(--bg-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.svc-card:hover {
  background-color: var(--bg-card-hov);
}

.svc-card:nth-child(3n) {
  border-right: none;
}

.svc-card:nth-child(n + 4) {
  border-bottom: none;
}

.svc-card-num {
  font-family: var(--ff-head);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.svc-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background-color: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.svc-card-name {
  font-family: var(--ff-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.svc-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.svc-card-arrow {
  font-size: 18px;
  color: var(--accent);
  margin-top: auto;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s var(--ease-out);
}

.svc-card:hover .svc-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.svc-card-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
  transform-origin: left;
}

.svc-card:hover .svc-card-accent-bar {
  transform: scaleX(1);
}

/* =============================================================================
   16. Why Section
   ============================================================================= */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px;
  background-color: var(--bg-card);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease-out);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 119, 0, 0.2);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background-color: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.why-content h3 {
  font-family: var(--ff-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.why-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* =============================================================================
   17. CTA Section
   ============================================================================= */

.cta-section {
  background-color: var(--text);
  padding: 96px 0;
  text-align: center;
}

.cta-headline {
  font-family: var(--ff-head);
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 800;
  color: #F8F7F4;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 17px;
  color: rgba(248, 247, 244, 0.65);
  margin-bottom: 40px;
}

.cta-section .btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.cta-section .btn-ghost {
  border-color: rgba(248, 247, 244, 0.3);
  color: #F8F7F4;
}

.cta-section .btn-ghost:hover {
  border-color: #F8F7F4;
  background-color: transparent;
}

/* =============================================================================
   18. About Page
   ============================================================================= */

.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 60px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text-block h2 {
  font-family: var(--ff-head);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.about-text-block p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}

.value-text h4 {
  font-family: var(--ff-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.value-text p {
  font-size: 14px;
  color: var(--muted);
}

.about-image-block {
  background-color: var(--bg-card);
  border-radius: var(--r-lg);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.founder-card {
  text-align: center;
  padding: 48px 32px;
}

.founder-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background-color: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
}

.founder-name {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.founder-title {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.founder-bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================================================
   19. Services Filter & Grid
   ============================================================================= */

.svc-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.svc-filter-btn {
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.svc-filter-btn.active,
.svc-filter-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.serve-card {
  background-color: var(--bg-card);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.serve-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(255, 119, 0, 0.2);
}

.serve-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background-color: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.serve-card-title {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.serve-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.serve-card-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

/* =============================================================================
   20. Service Detail Pages
   ============================================================================= */

.svc-hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 60px);
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
}

.svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--svc-color, var(--accent));
  font-size: 12px;
  font-weight: 600;
  color: var(--svc-color, var(--accent));
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.svc-hero-title {
  font-family: var(--ff-head);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.svc-hero-sub {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 36px;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.deliverable-card {
  background-color: var(--bg-card);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease-out);
}

.deliverable-card:hover {
  border-color: rgba(255, 119, 0, 0.3);
  box-shadow: var(--shadow-md);
}

.deliverable-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-dim);
  color: var(--accent);
}

.deliverable-card h3 {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.deliverable-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.process-step-num {
  font-family: var(--ff-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--svc-color, var(--accent));
  opacity: 0.25;
  line-height: 1;
}

.process-step h3 {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  background-color: var(--bg-card);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  padding: 24px 28px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.related-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.related-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.related-card-name {
  font-family: var(--ff-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.related-card-arrow {
  color: var(--accent);
  font-size: 20px;
  margin-left: auto;
}

/* =============================================================================
   21. Contact Page
   ============================================================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
}

.contact-info h2 {
  font-family: var(--ff-head);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-2);
}

.contact-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-form-wrap {
  background-color: var(--bg-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

.form-input,
.form-textarea,
.form-select {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--ff-body);
  transition: border-color 0.2s;
  width: 100%;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* =============================================================================
   22. FAQ
   ============================================================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  font-family: var(--ff-head);
  gap: 16px;
  user-select: none;
}

.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  padding-bottom: 20px;
  display: none;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
  color: var(--accent);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* =============================================================================
   23. Footer
   ============================================================================= */

footer {
  background-color: var(--text);
  color: #F8F7F4;
  border-top: 1px solid rgba(248, 247, 244, 0.1);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand-col p {
  font-size: 14px;
  color: rgba(248, 247, 244, 0.55);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 260px;
}

.footer-col-title {
  font-family: var(--ff-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 247, 244, 0.4);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(248, 247, 244, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(248, 247, 244, 1);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(248, 247, 244, 0.08);
  font-size: 13px;
  color: rgba(248, 247, 244, 0.3);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .nav-brand .brand-name {
  color: #F8F7F4;
}

footer .da-logo-letter {
  color: #F8F7F4;
}

footer .ring {
  border-color: rgba(248, 247, 244, 0.5);
}

footer .nav-brand--logo img {
  filter: brightness(0) invert(1);
}

/* =============================================================================
   24. Scroll Reveal
   ============================================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.32s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.40s; }
[data-stagger].is-visible > *:nth-child(7) { transition-delay: 0.48s; }
[data-stagger].is-visible > *:nth-child(8) { transition-delay: 0.56s; }

/* =============================================================================
   25. Title Reveals
   ============================================================================= */

.reveal-line {
  overflow: hidden;
  display: block;
}

.reveal-inner {
  display: block;
  will-change: transform;
}

/* =============================================================================
   26. Elementor & WordPress Compatibility
   ============================================================================= */

.elementor-section,
.e-container {
  position: relative;
  z-index: 1;
}

.elementor-widget-heading .elementor-heading-title {
  color: var(--text);
}

.elementor-widget-text-editor {
  color: var(--muted);
}

.nav-brand--logo img,
.nav-brand--logo .custom-logo {
  max-height: 40px;
  width: auto;
  display: block;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
}

.wp-block-heading {
  color: var(--text);
}

.wp-block-paragraph {
  color: var(--muted);
  line-height: 1.7;
}

.da-elementor-zone {
  position: relative;
  z-index: 2;
}

/* =============================================================================
   27. Responsive — 1024px
   ============================================================================= */

@media (max-width: 1024px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    margin-left: auto;
  }

  .inner,
  .inner-narrow {
    padding: 0 24px;
  }

  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-card:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .svc-card:nth-child(2n) {
    border-right: none;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-right: 1px solid var(--border);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .deliverables-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =============================================================================
   28. Responsive — 768px
   ============================================================================= */

@media (max-width: 768px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .svc-card:nth-child(2n) {
    border-right: none;
  }

  .svc-card:nth-child(n) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-headline {
    font-size: clamp(40px, 8vw, 56px);
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   29. Responsive — 480px
   ============================================================================= */

@media (max-width: 480px) {
  .inner,
  .inner-narrow {
    padding: 0 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 60px;
  }

  .hero-inner {
    padding-top: 0;
    padding-bottom: 0;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}

/* =============================================================================
   30. Reduced Motion
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  [data-stagger] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-inner {
    will-change: auto;
  }

  .reveal-inner {
    will-change: auto;
  }

  #site-intro {
    display: none;
  }

  .intro-logo-inner,
  .intro-tagline-inner {
    transform: none;
    opacity: 1;
    transition: none;
  }

  .svc-card-arrow {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .svc-card-accent-bar {
    transform: scaleX(1);
    transition: none;
  }

  .nav-dropdown {
    transition: none;
  }

  #mobile-menu {
    transition: none;
  }

  #page-overlay {
    transition: none;
  }
}
