/* ===========================================
   RESPONSIVE - LAUNCH EDITION
=========================================== */

/* ==========================
   LARGE LAPTOP
========================== */

@media (max-width: 1200px) {
  .navbar {
    padding: 20px 30px;
  }

  .hero-content h1 {
    font-size: 60px;
  }
}

/* ==========================
   TABLET
========================== */

@media (max-width: 992px) {
  /* ---------- NAVBAR ---------- */

  .desktop-cta {
    display: none;
  }

  .mobile-cta {
    display: block;
    list-style: none;
    margin-top: 25px;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 18px 22px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    flex-direction: row;
    gap: 12px;
  }

  .logo img {
    width: 60px;
  }

  .logo-text h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .logo-text p {
    font-size: 12px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: #1f2937;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: 0.35s ease;
    z-index: 9999;
    padding: 40px 20px;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 22px;
  }

  /* ---------- HERO ---------- */

  .hero {
    min-height: 100vh;
    padding: 140px 25px 80px;
  }

  .hero-content h1 {
    font-size: 48px;
    line-height: 1.15;
  }

  .hero-content p {
    font-size: 18px;
    max-width: 620px;
    margin: 25px auto 40px;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  /* ---------- CONTENT ---------- */

  .about-container {
    flex-direction: column;
  }

  .about-content {
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img {
    margin: auto auto 20px;
  }
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {
  .hero {
    padding: 125px 20px 70px;
  }

  .hero-content h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 600px;
    margin: 25px auto 40px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    max-width: 320px;
    padding: 18px 28px;
    font-size: 17px;
    text-align: center;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .legacy h2 {
    font-size: 42px;
  }

  .cta {
    padding: 120px 20px;
  }

  .cta h2 {
    font-size: 40px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form textarea,
  .contact-form button {
    grid-column: 1;
  }
}

/* ==========================
   SMALL PHONES
========================== */

@media (max-width: 480px) {
  .navbar {
    padding: 16px;
  }

  .logo img {
    width: 48px;
  }

  .logo-text h2 {
    font-size: 18px;
    line-height: 1.2;
  }

  .logo-text p {
    display: none;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 16px;
  }

  .nav-links {
    width: 100%;
  }
}
@media (max-width: 1200px) {
  .logo-text p {
    display: none;
  }
}
@media (max-width: 1200px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
  }

  .consultation-btn {
    display: none;
  }
}
@media (max-width: 768px) {
  .nav-actions {
    transform: scale(0.7);
    transform-origin: right center;
  }

  .navbar {
    padding: 16px;
  }

  .logo img {
    width: 52px;
    height: 52px;
  }

  .logo-text h2 {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .logo-text p {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
  }
}
@media (max-width: 768px) {
  header.scrolled .navbar {
    padding: 16px;
  }

  header.scrolled .logo img {
    width: 52px;
    height: 52px;
  }
}
