/* === Mobile & tablet refinements === */

@media (max-width: 1024px) {
  :root {
    --header-h: 72px;
  }

  .logo-img--full {
    max-height: 44px;
    width: auto;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 48px;
  }

  .hero-visual {
    min-height: 260px;
    margin-bottom: 8px;
  }

  .globe-wrap--large {
    width: 280px;
    height: 280px;
  }

  .globe-wrap--medium {
    width: 240px;
    height: 240px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
    text-align: center;
  }

  .hero-subtitle,
  .hero-badge {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .stat-value,
  p.stat-value {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .container {
    padding: 0 16px;
  }

  section {
    padding: 56px 0;
  }

  /* Header: logo compact */
  .logo-img--full {
    display: none;
  }

  .logo-img--compact {
    display: block;
    max-height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    object-position: left center;
  }

  .header-inner {
    gap: 12px;
  }

  .logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .nav-main {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav-main a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .btn {
    padding: 12px 22px;
    min-height: 48px;
  }

  /* Hero mobile */
  .hero-grid {
    gap: 24px;
  }

  .hero-visual {
    min-height: 220px;
  }

  .globe-wrap--large {
    width: 240px;
    height: 240px;
  }

  .globe-wrap--medium {
    width: 200px;
    height: 200px;
  }

  .globe-wrap .orbit-label {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 24px;
  }

  .stat-item {
    flex-direction: row;
    text-align: left;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
  }

  .section-heading {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }

  .trust {
    padding: 32px 0;
  }

  .trust-heading {
    font-size: 0.8rem;
  }

  .about-grid {
    gap: 32px;
  }

  .about-content h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .about-content p,
  .about-content .btn {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .contact-grid {
    gap: 40px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .logo-img--footer {
    max-height: 48px;
  }

  .cta-inner {
    gap: 24px;
  }

  .cta-content h2 {
    font-size: 1.35rem;
  }

  .project-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .logo-img--compact {
    max-width: 130px;
    max-height: 34px;
  }

  .globe-wrap--large {
    width: 200px;
    height: 200px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Desktop: show full logo, hide compact */
@media (min-width: 769px) {
  .logo-img--compact {
    display: none;
  }

  .logo-img--full {
    display: block;
    max-height: 52px;
    width: auto;
    max-width: 220px;
  }
}

@media (min-width: 769px) {
  .logo-img--footer {
    max-height: 56px;
    max-width: 240px;
  }
}
