/* =========================
   COMPONENTS
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(10, 14, 20, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(216, 187, 112, 0.2), rgba(63, 166, 163, 0.15));
  border: 1px solid rgba(216, 187, 112, 0.35);
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-logo,
.brand-mark {
  width: 3rem;
  height: 3rem;
}

.brand-text {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}

.nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav a:hover,
.nav a[aria-current="page"]:not(.btn) {
  color: var(--text);
}

.nav .btn-primary {
  background: linear-gradient(
    135deg,
    rgba(216, 187, 112, 0.22),
    rgba(184, 154, 78, 0.28)
  );
  border-color: rgba(216, 187, 112, 0.42);
  color: var(--gold-light);
  box-shadow: none;
  padding: 0.55rem 1rem;
  min-height: 38px;
  font-size: 0.9rem;
}

.nav .btn-primary:hover {
  background: linear-gradient(
    135deg,
    rgba(216, 187, 112, 0.32),
    rgba(184, 154, 78, 0.38)
  );
  border-color: rgba(216, 187, 112, 0.55);
  color: #fff8e8;
  box-shadow: 0 8px 18px rgba(216, 187, 112, 0.12);
}

.nav a.btn-primary,
.nav a.btn-primary:hover,
.nav a.btn-primary[aria-current="page"] {
  color: var(--gold-light);
}

.nav a.btn-primary:hover,
.nav a.btn-primary[aria-current="page"] {
  color: #fff8e8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #111;
  box-shadow: 0 14px 30px rgba(216, 187, 112, 0.18);
}

.btn-secondary,
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: rgba(63, 166, 163, 0.45);
  background: rgba(63, 166, 163, 0.08);
}

.client-tag,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.client-tag {
  color: #dffbfa;
  background: rgba(63, 166, 163, 0.12);
  border: 1px solid rgba(63, 166, 163, 0.3);
}

.pill {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.section-heading {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.cta-row,
.proof-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cta-row {
  align-items: center;
}

.card {
  height: 100%;
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: var(--shadow);
}

.card > * + * {
  margin-top: 0.75rem;
}

.card-premium {
  border-color: rgba(216, 187, 112, 0.35);
  background: linear-gradient(
    180deg,
    rgba(216, 187, 112, 0.12),
    rgba(255, 255, 255, 0.04)
  );
}

.hero-copy {
  display: grid;
  gap: 0.85rem;
}

.final-cta,
.footer-brand {
  display: grid;
  gap: 0.85rem;
  max-width: 42rem;
  padding: 1.35rem;
  border: 1px solid rgba(216, 187, 112, 0.28);
  border-radius: var(--radius);
  text-align: left;
}

.final-cta .cta-row {
  justify-content: flex-start;
}

.accent-aqua {
  color: var(--aqua);
}

.accent-coral {
  color: var(--coral);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aqua);
}

.site-footer,
.footer {
  border-top: 1px solid var(--border);
  background: rgba(10, 14, 20, 0.95);
  padding-block: 1.5rem;
  color: var(--muted);
}

.footer-row,
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  margin: 0;
}

.footer-top,
.footer-row a,
.foot-row a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-top:hover,
.footer-row a:hover,
.foot-row a:hover {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 720px) {
  .footer-row,
  .foot-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

.footer-container {
  padding-block: 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-meta a,
.footer-credit a {
  color: var(--muted);
}

.contact-meta a:hover,
.footer-credit a:hover {
  color: var(--text);
}

.footer-divider {
  height: 1px;
  margin-block: 1.5rem;
  background: var(--border);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1000px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.75rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-actions {
    width: 100%;
    justify-content: stretch;
  }

  .nav-actions .btn {
    flex: 1 1 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

.card-variants {
  background: rgba(63, 166, 163, 0.1);
}

.card-aqua {
  border-color: rgba(63, 166, 163, 0.4);
  background: rgba(63, 166, 163, 0.1);
}

.card-coral {
  border-color: rgba(242, 140, 133, 0.4);
  background: rgba(242, 140, 133, 0.1);
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(216, 187, 112, 0.15);
  border: 1px solid rgba(216, 187, 112, 0.4);
  color: var(--gold);
}

/* PRICE */
.price {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

/* FEATURE LIST */
.features {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.features li {
  padding-left: 1.1rem;
  position: relative;
  text-align: left;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--aqua);
  font-size: 0.8rem;
}

/* PRICING TRUST */
.pricing-trust {
  margin-top: 1.5rem;
}

/* WORK CARDS → unify with card system */
.work-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.work-card-aqua {
  border-color: rgba(63, 166, 163, 0.3);
}

.work-card-coral {
  border-color: rgba(242, 140, 133, 0.3);
}

.card p {
  line-height: 1.6;
}

.center-card {
  max-width: 42rem;
  text-align: left;
}

.center-card > .card {
  margin-inline: 0;
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.contact-form select:invalid {
  color: var(--muted);
}

.contact-form select option {
  color: #0a0e14;
  background-color: #ffffff;
}

.contact-form select option:disabled {
  color: #5a6370;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(63, 166, 163, 0.55);
  background: rgba(63, 166, 163, 0.08);
  box-shadow: 0 0 0 3px rgba(63, 166, 163, 0.12);
}

.form-group.is-valid input,
.form-group.is-valid textarea,
.form-group.is-valid select {
  border-color: rgba(63, 166, 163, 0.55);
}

.form-group.is-invalid input,
.form-group.is-invalid textarea,
.form-group.is-invalid select {
  border-color: rgba(242, 140, 133, 0.75);
  background: rgba(242, 140, 133, 0.07);
}

.field-feedback {
  min-height: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-group.is-valid .field-feedback {
  color: var(--aqua);
}

.form-group.is-invalid .field-feedback {
  color: var(--coral);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.form-status {
  display: none;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-success {
  background: rgba(63, 166, 163, 0.12);
  border: 1px solid rgba(63, 166, 163, 0.35);
  color: #b9fffc;
}

.form-error {
  background: rgba(242, 140, 133, 0.12);
  border: 1px solid rgba(242, 140, 133, 0.35);
  color: #ffd5d1;
}

.form-status.is-visible {
  display: block;
}

.btn.is-loading {
  opacity: 0.85;
  pointer-events: none;
}

/* CASE STUDY + WORK */
.case-preview-link {
  display: block;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.case-preview-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.case-preview-link:focus-visible {
  outline: 3px solid rgba(63, 166, 163, 0.5);
  outline-offset: 4px;
}

.project-demo {
  max-width: 42rem;
}

.case-preview,
.work-preview,
.case-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.case-preview {
  max-height: 320px;
  object-fit: cover;
}

.work-preview {
  aspect-ratio: 10 / 3;
  object-fit: cover;
}

.case-image {
  aspect-ratio: 11 / 4;
  object-fit: cover;
}

.insight-box {
  max-width: 42rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.work-preview {
  margin-bottom: 0.75rem;
}
