/* ============================================================
   ARCHA MEDIA — RESPONSIVE STYLESHEET
   responsive.css
   ============================================================ */

/* ------------------------------------------------------------
   BREAKPOINTS
   Desktop Large : 1440px+
   Desktop       : 1200px
   Tablet        : 768px
   Mobile        : 480px
   Small Mobile  : 360px
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   1440px — Large desktop tweaks
   ------------------------------------------------------------ */
@media (min-width: 1440px) {
  :root {
    --section-pad: 140px;
  }

  .hero__title {
    font-size: 5rem;
  }
}

/* ------------------------------------------------------------
   1200px — Standard desktop (base is already here)
   ------------------------------------------------------------ */
@media (max-width: 1200px) {
  :root {
    --section-pad: 100px;
  }

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

  .hero__logo-display {
    width: 320px;
    height: 320px;
  }

  .hero__logo-svg {
    width: 180px;
    height: 180px;
  }

  .about__inner {
    gap: var(--space-12);
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__grid .footer__brand {
    grid-column: 1 / -1;
    max-width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-8);
  }

  .footer__brand .footer__desc {
    margin-bottom: 0;
  }

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

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

/* ------------------------------------------------------------
   1024px — Laptop
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .nav__menu {
    display: none;
  }

  .nav__actions .btn {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
  }

  .hero__visual {
    display: none;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about__visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .about__content {
    padding-right: 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

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

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .process__timeline::before {
    left: 30px;
    transform: none;
  }

  .process__step {
    flex-direction: row !important;
    gap: var(--space-6);
  }

  .process__step-number {
    flex-shrink: 0;
  }

  .process__step-content {
    flex: 1;
  }
}

/* ------------------------------------------------------------
   768px — Tablet
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .section-subtitle {
    font-size: var(--text-base);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  /* Platforms */
  .platforms__grid {
    grid-template-columns: 1fr;
  }

  /* Why grid */
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }

  /* Process */
  .process__timeline::before {
    display: none;
  }

  .process__step {
    flex-direction: column !important;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .process__step-number {
    width: 48px;
    height: 48px;
    font-size: var(--text-base);
  }

  /* Testimonials */
  .testimonial-card {
    min-width: calc(100% - 0px);
    margin-right: 0;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: 1 / -1;
    display: block !important;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }

  /* About badge */
  .about__badge {
    bottom: -10px;
    right: -10px;
  }

  /* Team */
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Achievement */
  .achievement__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Form grid */
  .form__grid {
    grid-template-columns: 1fr;
  }

  /* Contact CTA */
  .cta-section__title {
    font-size: var(--text-3xl);
  }

  .cta-section__actions {
    flex-direction: column;
  }

  /* Hero */
  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__trust {
    flex-wrap: wrap;
    gap: var(--space-6);
  }

  .hero__trust-divider {
    display: none;
  }

  /* Page hero */
  .page-hero__title {
    font-size: var(--text-4xl);
  }
}

/* ------------------------------------------------------------
   480px — Mobile
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  :root {
    --section-pad: 64px;
  }

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

  /* Hero */
  .hero__title {
    font-size: var(--text-3xl);
    letter-spacing: -0.02em;
  }

  .hero__subtitle {
    font-size: var(--text-base);
  }

  .hero__label {
    font-size: 10px;
  }

  /* Section headers */
  .section-header {
    margin-bottom: var(--space-10);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  /* Buttons */
  .btn-lg {
    padding: 14px 28px;
    font-size: var(--text-sm);
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Cards */
  .card {
    padding: var(--space-6);
  }

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

  /* Why grid */
  .why__grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    padding: var(--space-6) var(--space-4);
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  /* Team */
  .team__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Achievement */
  .achievement__grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__legal {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  /* Process */
  .process__step-content {
    padding: var(--space-4) var(--space-5);
  }

  /* Testimonials slider — full width single card */
  .testimonials__track {
    gap: 0;
  }

  .testimonial-card {
    min-width: 100%;
    margin-right: var(--space-6);
  }

  /* FAQ */
  .faq-item__question {
    font-size: var(--text-sm);
  }

  /* Contact */
  .contact__form-card {
    padding: var(--space-6);
  }

  /* Page hero */
  .page-hero {
    min-height: 40vh;
  }

  .page-hero__title {
    font-size: var(--text-3xl);
  }

  .page-hero__subtitle {
    font-size: var(--text-base);
  }

  /* 404 */
  .page-404__number {
    font-size: 120px;
  }

  /* About badge */
  .about__badge {
    display: none;
  }

  /* Nav actions hidden on mobile (only hamburger) */
  .nav__actions {
    gap: var(--space-3);
  }

  /* Back to top + WhatsApp buttons */
  .back-to-top {
    bottom: calc(var(--space-8) + 64px);
    left: var(--space-5);
    width: 40px;
    height: 40px;
  }

  .whatsapp-btn {
    bottom: var(--space-5);
    right: var(--space-5);
    width: 50px;
    height: 50px;
  }

  /* Platform card */
  .platform-card {
    padding: var(--space-6);
  }
}

/* ------------------------------------------------------------
   360px — Small Mobile
   ------------------------------------------------------------ */
@media (max-width: 360px) {
  .hero__title {
    font-size: var(--text-2xl);
  }

  .section-title {
    font-size: var(--text-xl);
  }

  .stat-item__number {
    font-size: var(--text-4xl);
  }

  .nav__logo-text {
    display: none;
  }

  .about__pillar {
    padding: var(--space-4) var(--space-5);
  }

  .process__step-number {
    width: 40px;
    height: 40px;
    font-size: var(--text-sm);
  }
}

/* ------------------------------------------------------------
   PRINT STYLES
   ------------------------------------------------------------ */
@media print {
  .nav,
  .hero__scroll,
  .whatsapp-btn,
  .back-to-top,
  .scroll-progress,
  .nav__hamburger,
  .nav__drawer,
  .nav__drawer-overlay {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    padding: 40px 0;
  }
}

/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__logo-svg,
  .hero__logo-ring,
  .hero__orb,
  .hero__logo-glow {
    animation: none !important;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ------------------------------------------------------------
   HIGH CONTRAST
   ------------------------------------------------------------ */
@media (forced-colors: active) {
  .btn-primary {
    border: 2px solid ButtonText;
  }

  .card {
    border: 1px solid ButtonText;
  }
}
