/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1450px) {
  .hero-content {
    padding: 0 3rem;
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  .logo-link img {
    transform: scale(0.7);
  }
}

@media (min-width: 769px) and (max-width: 1099px) {
  .site-logo {
    width: min(180px, 30vw);
  }

  .nav-links {
    gap: 1.5rem;
    font-size: 0.92rem;
  }

  .hero-content {
    padding: 0 2.5rem;
    gap: 2.5rem;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-logo {
    width: min(170px, 56vw);
  }

  .nav-wrapper {
    position: relative;
  }

  .hero {
    min-height: 85vh;
    padding: 4rem 0 3rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: -1rem;
    right: -1rem;
    width: calc(100% + 2rem);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
    z-index: 20;
  }

  .hamburger {
    display: inline-flex;
    z-index: 30;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    text-align: center;
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.98rem;
    color: var(--text);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.85rem;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-description {
    font-size: 1rem;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    display: none;
  }
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .strengths-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .strengths-preview-frame {
    border-radius: 22px;
    width: min(100%, 360px);
  }

  .strengths-preview {
    min-height: 420px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-row-logo {
    order: -1;
  }

  .project-logo-large {
    width: 120px;
  }

  .strength-card {
    padding: 1.9rem 1.5rem;
    border-radius: 18px;
  }

  .strength-number {
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 1rem;
    font-size: 0.92rem;
  }

  .strength-card h3 {
    font-size: 1.25rem;
  }

  .strength-card p {
    max-width: none;
    font-size: 0.98rem;
  }

  .about-text p {
    font-size: 1.02rem;
  }

  .card {
    padding: 1.85rem 1.5rem;
  }

  .contact-content h2 {
    font-size: 2rem;
  }

  .thankyou-grid {
    grid-template-columns: 1fr;
  }

  .thankyou-actions {
    flex-direction: column;
  }

  .contact-form-header h1 {
    font-size: 1.75rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.85rem 0.95rem;
    font-size: 16px;
  }

  .logo-link img {
    transform: scale(0.65);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .ripple-element,
  .typing-btn .typing-caret {
    animation: none;
    transition: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .ripple-element {
    opacity: 0.25;
  }

  .typing-btn .typing-caret {
    opacity: 0.9;
  }
}
