/* ═══════════════════════════════════════════════════════════
   Portfolio — styles.css  |  Clean light theme, SF Pro
   ═══════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-white:   #ffffff;
  --bg-surface: #f6f6f1;   /* Warm off-white for alternating sections */
  --bg-card:    #ffffff;
  --bg-dark:    #1a1a1a;

  /* Borders */
  --border:     #e1e3e5;
  --border-dark: #c9cbcd;

  /* Brand */
  --brand:        #D95F00;
  --brand-hover:  #BC5300;
  --brand-light:  #FFF2E8;
  --brand-mid:    #FFD9BB;

  /* Text */
  --text-heading: #1a1a1a;
  --text-body:    #4a5568;
  --text-muted:   #8a929e;
  --text-light:   #b0b8c4;

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
          'Helvetica Neue', Arial, sans-serif;

  /* Shape */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.11);

  /* Misc */
  --transition:  all 0.2s ease;
  --nav-height:  68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
[hidden] { display: none !important; }

/* ─── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text-heading);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
}

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Utilities ─────────────────────────────────────────── */
.accent-text {
  color: var(--brand);
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
  letter-spacing: -0.01em;
}

.btn--sm  { font-size: 0.8125rem; padding: 7px 16px; }
.btn--lg  { font-size: 0.9375rem; padding: 13px 26px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn--primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
.btn--primary:active {
  transform: scale(0.98);
}

.btn--ghost {
  background: transparent;
  color: var(--text-heading);
  border-color: var(--border-dark);
}
.btn--ghost:hover {
  background: var(--bg-surface);
  border-color: #adb5bd;
}

.btn--outline {
  background: transparent;
  color: var(--text-heading);
  border-color: var(--border-dark);
}
.btn--outline:hover {
  background: var(--bg-surface);
  border-color: var(--brand);
  color: var(--brand);
}

/* For use on dark/video backgrounds */
.btn--ghost-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.scrolled {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-xs);
}

.page--application .nav {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-xs);
}

.page--application .container {
  max-width: 1240px;
}

.page--application .contact__grid {
  grid-template-columns: 0.8fr 1.45fr;
  gap: 56px;
}

.page--application .contact__info {
  order: 1;
}

.page--application .contact__form-wrapper {
  order: 2;
}

.nav__container {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-right: auto;
  letter-spacing: -0.02em;
  transition: opacity 0.15s;
}
.nav__logo:hover { opacity: 0.75; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.15s;
}
.nav__links a:hover,
.nav__links a.active { color: #fff; opacity: 0.82; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 99;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-link {
  display: block;
  padding: 11px 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-link:hover { color: var(--text-heading); background: var(--bg-surface); }
.mobile-menu .btn { margin-top: 8px; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: #111;
}

/* Video layer */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* Dark overlay — controls how readable the text is over the footage */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.52) 0%,
    rgba(0,0,0,0.48) 60%,
    rgba(0,0,0,0.62) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeDown 0.6s ease both;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: #FF8C3B;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 800px;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero__seo-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.015em;
  margin-bottom: 16px;
  max-width: 760px;
  animation: fadeUp 0.7s ease 0.15s both;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: #fff;
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 36px;
  animation: fadeUp 0.7s ease 0.2s both;
  margin-left: auto;
  margin-right: auto;
}
.hero__subtitle strong {
  color: #fff;
  font-weight: 600;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
  animation: fadeUp 0.7s ease 0.3s both;
}

/* Stats bar */
.hero__stats {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  animation: fadeUp 0.7s ease 0.4s both;
  display: inline-flex;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  gap: 2px;
}

.hero__stat-number,
.hero__stat-suffix {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero__stat-value {
  display: flex;
  align-items: baseline;
}

.hero__stat-suffix {
  display: inline;
  margin-left: 1px;
}

.hero__stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero__stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.35;
  transition: opacity 0.2s;
}
.hero__scroll:hover { opacity: 0.6; }

.scroll-indicator {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  position: relative;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: rgba(255,255,255,0.8);
  border-radius: 3px;
  animation: scrollBounce 1.6s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  60%       { transform: translateX(-50%) translateY(9px); opacity: 0; }
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Services & Pricing ─────────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../public/flat-lay%20desk%2C%20overhead%2C%20minimal.png') center / cover no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pricing-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
  transform: translateY(-3px);
}

.pricing-card--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.pricing-card--featured:hover {
  box-shadow: 0 8px 32px rgba(217,95,0,0.15);
  border-color: var(--brand);
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__icon {
  font-size: 1.625rem;
  margin-bottom: 12px;
  display: block;
}

.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
  line-height: 1.3;
}

.pricing-card__subline {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 10px;
}


.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.pricing-card__currency {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-card__amount {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card__range {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.01em;
}

.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--text-body);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  flex-shrink: 0;
}

.services__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 36px;
  padding: 14px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Ongoing Plan ───────────────────────────────────────── */
.ongoing-plan {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 40px;
  align-items: start;
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  margin-top: 28px;
  position: relative;
  overflow: hidden;
}

/* Subtle brand glow in top-left corner */
.ongoing-plan::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(217,95,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.ongoing-plan__label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.ongoing-plan__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.ongoing-plan__desc {
  font-size: 0.875rem;
  color: #8a929e;
  line-height: 1.7;
}

/* Feature list */
.ongoing-plan__features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  border-left: 1px solid #2a2a2a;
  padding-left: 40px;
}

.ongoing-plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ongoing-plan__icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.ongoing-plan__features strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e8eaed;
  margin-bottom: 2px;
}

.ongoing-plan__features p {
  font-size: 0.8rem;
  color: #8a929e;
  line-height: 1.5;
}

/* Price column */
.ongoing-plan__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  border-left: 1px solid #2a2a2a;
  padding-left: 40px;
  padding-top: 4px;
  flex-shrink: 0;
}

.ongoing-plan__amount {
  display: flex;
  align-items: flex-start;
  gap: 3px;
}

.ongoing-plan__currency {
  font-size: 0.8rem;
  font-weight: 600;
  color: #8a929e;
  padding-top: 8px;
}

.ongoing-plan__num {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ongoing-plan__per {
  font-size: 0.9rem;
  color: #8a929e;
  padding-top: 1.8rem;
}

.ongoing-plan__note {
  font-size: 0.75rem;
  color: #8a929e;
  line-height: 1.5;
  margin-top: -4px;
}

.ongoing-plan__cta {
  padding: 10px 18px;
  font-size: 0.875rem;
  line-height: 1.2;
}

/* ─── Portfolio ──────────────────────────────────────────── */
.portfolio {
  padding: 100px 0;
  background: var(--bg-white);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 48px;
}

.portfolio-card {
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover .portfolio-card__media video {
  transform: scale(1.03);
}

/* Media slot — accepts <img> or <video>, shows gradient placeholder until then */
.portfolio-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  outline: none;
}
.portfolio-card__media:focus-visible {
  box-shadow: inset 0 0 0 2px var(--brand);
}

/* Placeholder label — hidden once real media is present */
.portfolio-card__media:not(:has(img)):not(:has(video))::after {
  content: '— preview incoming —';
  font-family: -apple-system, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  position: absolute;
}

.portfolio-card__media img,
.portfolio-card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.45s ease;
}
/* Gradient placeholders — each hints at a different site aesthetic */
.portfolio-card__media--1 {
  background: linear-gradient(160deg, #1a1a20 0%, #2c2535 60%, #1a1a20 100%);
}
.portfolio-card__media--2 {
  background: linear-gradient(160deg, #0a0a0f 0%, #081525 60%, #050a10 100%);
}
.portfolio-card__media--3 {
  background: linear-gradient(160deg, #1c1410 0%, #2e1f14 60%, #1c1410 100%);
}

/* Card body */
.portfolio-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--border);
}

.portfolio-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.portfolio-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 7px;
  letter-spacing: -0.02em;
}

.portfolio-card__desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.portfolio-card__footer {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.portfolio-card__type {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ─── Portfolio Video Lightbox ───────────────────────────── */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
}

.video-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100vw - 20px));
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.video-lightbox__player {
  width: 100%;
  max-height: min(92vh, 1200px);
  display: block;
  background: #000;
}

.video-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.35);
}
.video-lightbox__close:hover {
  background: rgba(0,0,0,0.8);
}

/* ─── Process ────────────────────────────────────────────── */
.process {
  padding: 0 0 100px;
  background: var(--bg-white);
}

.process__banner {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process__banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.process__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

.process__banner-text {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  padding: 0 28px;
  text-align: center;
}

.process__banner-text .section-tag { color: #FF8C3B; }
.process__banner-text .section-title { color: #fff; }
.process__banner-text .section-subtitle { color: rgba(255,255,255,0.72); }

.process .container {
  padding-top: 72px;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

/* Decision step spans full width */
.process-step--full {
  grid-column: 1 / -1;
}

.process-step {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.process-step:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}

/* Hide the connecting line — not needed in card layout */
.process-step__line { display: none; }

.process-step__marker {
  margin-bottom: 12px;
}

.process-step__number {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  padding: 3px 10px;
  border-radius: 100px;
}

.process-step__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-step__icon-wrap {
  font-size: 1.625rem;
  line-height: 1;
  margin-bottom: 4px;
}

.process-step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.process-step__desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Process branches (decision step) */
.process-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.process-branch {
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid var(--border);
}

.process-branch__icon {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-branch h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.process-branch p {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.55;
}

.process-branch p strong {
  color: var(--text-heading);
  font-weight: 600;
}

.process-branch--neutral {
  background: var(--bg-surface);
}
.process-branch--neutral .process-branch__icon {
  background: #e8eaed;
  color: var(--text-muted);
}

.process-branch--mid {
  background: var(--brand-light);
  border-color: var(--brand-mid);
}
.process-branch--mid .process-branch__icon {
  background: var(--brand-mid);
  color: var(--brand);
}

.process-branch--go {
  background: var(--brand-light);
  border-color: var(--brand);
}
.process-branch--go .process-branch__icon {
  background: var(--brand);
  color: #fff;
}

/* Form section labels */
.form-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

/* ─── Contact ────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--bg-surface);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact__info .section-title { text-align: left; }
.contact__info .section-tag   { display: block; }

.contact__desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__feature-icon {
  font-size: 1.125rem;
  padding: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  line-height: 1;
  flex-shrink: 0;
}

.contact__feature strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.contact__feature p {
  font-size: 0.8375rem;
  color: var(--text-muted);
}

/* ─── Application FAQ ─────────────────────────────────────── */
.application-faq {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.application-faq__header {
  margin-bottom: 28px;
}

.application-faq__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.application-faq__item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.application-faq__item summary {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
}

.application-faq__item summary::-webkit-details-marker {
  display: none;
}

.application-faq__item p {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* ─── Form ───────────────────────────────────────────────── */
.contact__form-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact__preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__preview-title {
  font-size: 1.25rem;
  color: var(--text-heading);
}

.contact__preview-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

.contact__preview-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 6px;
}

.contact__preview-list li {
  font-size: 0.875rem;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
}

.contact__preview-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-heading);
}

.form-group label span { color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-white);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-size: 0.9375rem;
  color: var(--text-heading);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238a929e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}
.form-group select option { background: #fff; color: var(--text-heading); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(217,95,0,0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e53e3e;
}
.form-group input.error:focus,
.form-group textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}

.form-error {
  font-size: 0.75rem;
  color: #e53e3e;
  min-height: 15px;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -4px;
}

.form-note--left {
  text-align: left;
  margin-top: 2px;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.spinner {
  width: 17px;
  height: 17px;
  animation: spin 0.8s linear infinite;
}

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

.form-success {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  background: var(--brand);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

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

.form-success h3 {
  font-size: 1.375rem;
  color: var(--text-heading);
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--text-body);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  padding: 48px 0 32px;
}

.footer__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.footer__brand .nav__logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.875rem;
  color: #8a929e;
  line-height: 1.6;
}

.footer__logo { display: inline-flex; }

.footer__nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer__nav a {
  font-size: 0.875rem;
  color: #8a929e;
  transition: color 0.15s;
  white-space: nowrap;
}
.footer__nav a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #2a2a2a;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: #8a929e;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .ongoing-plan { grid-template-columns: 1fr 1fr; }
  .ongoing-plan__price { border-left: none; padding-left: 0; border-top: 1px solid #2a2a2a; padding-top: 24px; grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 32px; align-items: center; text-align: left; }
}

@media (max-width: 900px) {
  .ongoing-plan { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .ongoing-plan__features { border-left: none; padding-left: 0; border-top: 1px solid #2a2a2a; padding-top: 24px; }
  .ongoing-plan__price { border-left: none; padding-left: 0; flex-direction: row; gap: 28px; align-items: center; text-align: left; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step--full { grid-column: auto; }
  .process-branches { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .application-faq__list { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .page--application .contact__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .portfolio__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero .container { padding-top: 60px; padding-bottom: 80px; }
  .hero__stat { padding: 14px 18px; }

  .process__banner { height: 260px; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form-wrapper { padding: 24px 18px; }
  .footer__content { flex-direction: column; gap: 20px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .hero__stats { flex-wrap: wrap; }
  .hero__stat-divider { display: none; }
  .hero__stat {
    flex: 0 0 50%;
    border-bottom: 1px solid var(--border);
  }
  .hero__stat:nth-child(7),
  .hero__stat:last-child { border-bottom: none; }
}

/* ─── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
