/* ========================================
   Responsive – kiwebsites.com
   ======================================== */

/* ---- Tablet (max 1024px) ---- */
@media (max-width: 1024px) {
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    flex-wrap: wrap;
  }

  .process-step {
    flex: 1 1 45%;
  }

  .process-step::after {
    display: none;
  }

  .hero__inner {
    gap: var(--space-xl);
  }

  .hero__portrait-img {
    width: 280px;
  }
}

/* ---- Mobile (max 768px) ---- */
@media (max-width: 768px) {
  :root {
    --fs-4xl: 2.5rem;
    --fs-3xl: 2rem;
    --fs-2xl: 1.5rem;
    --fs-5xl: 3rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .section-padding {
    padding: var(--space-3xl) 0;
  }

  /* Navigation mobile */
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--gen-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.8s var(--ease-out), border-color 0.8s var(--ease-out);
  }

  body.revealed .nav__links {
    background: rgba(10, 10, 15, 0.98);
    border-bottom-color: var(--pre-border);
  }

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

  .nav__toggle {
    display: flex;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* USP grid */
  .usp-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Process steps */
  .process-steps {
    flex-direction: column;
  }

  .process-step {
    flex: 1 1 100%;
  }

  /* Hero */
  .hero__inner {
    flex-direction: column;
  }

  .hero__content {
    max-width: 100%;
    padding: calc(80px + var(--space-2xl)) var(--space-lg) var(--space-xl);
    text-align: center;
    align-items: center;
    order: 2;
  }

  .hero__content .hero__cta {
    align-self: center;
  }

  .hero__portrait {
    flex: 0 0 auto;
    order: 1;
    max-height: 50vh;
    padding-top: 80px;
  }

  .hero__portrait-img {
    max-width: 280px;
  }

  .hero__portrait::before,
  .hero__portrait::after {
    display: none;
  }

  .hero__subtitle {
    font-size: var(--fs-base);
    margin-left: auto;
    margin-right: auto;
  }

  .hero__scroll-hint {
    display: none;
  }

  /* Reveal message */
  .reveal-overlay__message-line {
    font-size: var(--fs-sm);
  }

  .reveal-overlay__message-highlight {
    font-size: var(--fs-xl);
  }

  /* Premium orbs – smaller on mobile */
  .premium-orb--1 {
    width: 150px;
    height: 150px;
  }

  .premium-orb--2 {
    width: 100px;
    height: 100px;
  }
}

/* ---- Small Mobile (max 480px) ---- */
@media (max-width: 480px) {
  :root {
    --fs-4xl: 2rem;
    --fs-3xl: 1.75rem;
    --fs-5xl: 2.5rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .generic-section {
    padding: var(--space-3xl) 0;
  }

  .service-card {
    padding: var(--space-xl);
  }
}
