/* ═══════════════════════════════════════════════════════════════
   AMAN PRINTERS — responsive.css
   Full Responsive Stylesheet
   Breakpoints:
     • 1400px  — Large Desktop
     • 1200px  — Desktop / Small Laptop
     • 1024px  — Laptop / Landscape Tablet
     • 768px   — Tablet / Portrait
     • 480px   — Large Mobile
     • 375px   — Small Mobile
═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   1. LARGE DESKTOP  ≤ 1400px
═══════════════════════════════════════ */
@media (max-width: 1400px) {

  /* Slightly tighten hero visual panel */
  .hero-content { max-width: 500px; }
  .hero-visual {
    right: 2%;
    left: auto;
    top: 46%;
    transform: translateY(-50%) scale(0.9);
  }

  /* Services — stay 4-col but smaller gap */
  .services-grid { gap: 12px; }

  /* Footer — stay 4-col */
  .footer-container { gap: 40px; }
}

/* ═══════════════════════════════════════
   2. DESKTOP / SMALL LAPTOP  ≤ 1200px
═══════════════════════════════════════ */
@media (max-width: 1200px) {

  :root {
    --section-pad: clamp(70px, 9vw, 110px);
    --cp: clamp(20px, 4vw, 60px);
  }

  /* ── Navbar ── */
  .nav-links { gap: 22px; }
  .nav-links a { font-size: .73rem; }

  /* ── Hero ── */
  #hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: auto;
  }
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-sub {
    margin: 0 auto 30px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-scroll {
    display: none;
  }
  .hero-visual {
    display: flex;
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    transform: scale(0.8);
    margin: 20px auto -30px;
    width: 580px;
    height: 580px;
  }
  .hero-content { max-width: 100%; }
  .hero-title   { font-size: clamp(3rem, 8vw, 6.5rem); }

  /* ── Services — 3 cols ── */
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }

  /* ── Products masonry ── */
  .product-masonry { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }

  /* ── Portfolio ── */
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; }

  /* ── Testimonials cards narrower ── */
  .testimonials-track    { grid-template-columns: repeat(4, 300px); }
  .testimonial-card       { width: 300px; }

  /* ── Footer — 2×2 grid ── */
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 36px;
  }
}

/* ═══════════════════════════════════════
   3. LAPTOP / LANDSCAPE TABLET  ≤ 1024px
═══════════════════════════════════════ */
@media (max-width: 1024px) {

  :root {
    --section-pad: clamp(60px, 8vw, 90px);
    --cp: clamp(20px, 4vw, 48px);
  }

  /* ── Navbar — hide links, show hamburger ── */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  /* ── Hero ── */
  #hero { padding-top: 110px; padding-bottom: 80px; }
  .hero-title { font-size: clamp(2.8rem, 7vw, 5.5rem); }
  .hero-sub   { font-size: 1.25rem; max-width: 580px; }
  .cmyk-strips { display: none; }
  .hero-visual {
    transform: scale(0.72);
    margin: 0 auto -60px;
    width: 580px;
    height: 580px;
  }

  /* ── Section containers — single column ── */
  .section-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* ── About ── */
  .counters-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .cc-num        { font-size: 2.2rem; }
  .about-art     { display: none; }
  .founder-card  { max-width: 100%; }

  /* ── Services — 2 cols ── */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* ── Products — 2 cols ── */
  .product-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }
  .product-item--wide { grid-column: span 1; }
  .product-item--tall { grid-row: span 1; }

  /* ── Why Us ── */
  .why-art { display: none; }
  .why-right { width: 100%; }

  /* ── Portfolio — 2 cols ── */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .portfolio-item--wide { grid-column: span 1; }
  .portfolio-item--tall { grid-row: span 1; }

  /* ── Testimonials ── */
  .testimonials-track    { grid-template-columns: repeat(4, 280px); }
  .testimonial-card       { width: 280px; }

  /* ── Contact form row → single col ── */
  .cf-row { grid-template-columns: 1fr; gap: 12px; }

  /* ── Footer — 2 cols ── */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand { grid-column: span 2; }
}

/* ═══════════════════════════════════════
   4. TABLET / PORTRAIT  ≤ 768px
═══════════════════════════════════════ */
@media (max-width: 768px) {

  :root {
    --section-pad: 64px;
    --cp: 20px;
  }

  /* ── Cursor — hide on touch ── */
  .cur-dot, .cur-ring { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }
  a { cursor: pointer; }

  /* ── Navbar ── */
  #navbar { padding: 16px 0; }
  #navbar.scrolled { padding: 12px 0; }
  .nav-logo img { height: 48px; }
  .logo-name { font-size: 1.15rem; }
  .logo-sub  { display: none; }

  /* ── Hero ── */
  #hero {
    padding: 100px var(--cp) 80px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title { font-size: clamp(2.6rem, 9vw, 4.5rem); }
  .hero-sub   { font-size: 1.15rem; margin-bottom: 32px; }
  .hero-btns  { gap: 10px; margin-bottom: 40px; }
  .hero-badge { font-size: .65rem; padding: 7px 14px; }
  .hero-scroll { display: none; }
  .hero-visual {
    transform: scale(0.62);
    margin: -20px auto -90px;
    width: 580px;
    height: 580px;
  }

  /* ── Section titles ── */
  .section-title { font-size: clamp(2rem, 7vw, 3.5rem); }

  /* ── About ── */
  .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .counter-card  { padding: 22px 16px; }
  .about-tags    { gap: 8px; }
  .tag           { font-size: .68rem; padding: 5px 12px; }
  .founder-card  { padding: 32px 36px; gap: 28px; }
  .founder-avatar { width: 105px; height: 105px; }
  .founder-name  { font-size: 1.8rem; }
  .founder-title { font-size: 1.05rem; }
  .founder-quote { font-size: 1.15rem; }

  /* ── Services — 2 cols ── */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card  { padding: 22px 18px; }
  .sc-title      { font-size: 1.15rem; }
  .sc-desc       { font-size: 1.15rem; }

  /* ── Section eyebrow ── */
  .section-eyebrow { font-size: 1.3rem; }

  /* ── Products — 2 cols, shorter rows ── */
  .product-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
    gap: 12px;
  }

  /* ── Why Us ── */
  .why-item   { gap: 14px; padding: 18px 0; }
  .wi-num     { font-size: 1.6rem; width: 30px; }
  .wi-content h3 { font-size: 1.15rem; }
  .wi-content p  { font-size: 1.15rem; }

  /* ── Portfolio ── */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
    gap: 12px;
  }

  /* Portfolio filters — horizontal scroll */
  .portfolio-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 var(--cp) 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 8px;
  }
  .portfolio-filters::-webkit-scrollbar { display: none; }
  .pf-btn { flex-shrink: 0; padding: 8px 18px; font-size: .7rem; }

  /* ── Testimonials — full width cards ── */
  .testimonials-track {
    grid-template-columns: repeat(4, calc(100vw - 40px));
    gap: 16px;
  }
  .testimonial-card { width: calc(100vw - 40px); }

  /* ── Contact ── */
  .map-wrap iframe { height: 200px; }
  .contact-info-grid { grid-template-columns: 1fr; gap: 10px; }
  .ci-card { padding: 14px 16px; }
  .btn-wa-big { font-size: .82rem; padding: 15px 24px; }

  /* ── Footer ── */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 52px var(--cp) 40px;
  }
  .footer-brand     { grid-column: span 2; }
  .footer-tagline   { font-size: 1.1rem; }
  .footer-desc      { font-size: 1.15rem; }
  .footer-heading   { font-size: 0.95rem; }
  .footer-links a   { font-size: 1rem; }
  .footer-bottom-inner { font-size: 0.9rem; }

  /* ── Ticker ── */
  .ticker-content span { font-size: .85rem; padding: 0 14px; }

  /* ── WhatsApp float ── */
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }

  /* ── Section sub ── */
  .section-sub { font-size: 1.2rem; }
}

/* ═══════════════════════════════════════
   5. LARGE MOBILE  ≤ 480px
═══════════════════════════════════════ */
@media (max-width: 480px) {

  :root {
    --section-pad: 56px;
    --cp: 16px;
  }

  /* ── Loader ── */
  .ld-logo { font-size: 2.8rem; }
  .ld-sub  { font-size: 1.1rem; }
  .ld-bar  { width: 160px; }

  /* ── Hero ── */
  #hero { padding: 90px var(--cp) 64px; min-height: auto; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.8rem); line-height: .92; }
  .hero-sub   { font-size: 1.15rem; margin-bottom: 28px; }
  .hero-btns  { flex-direction: column; gap: 10px; width: 100%; }
  .btn        { width: 100%; justify-content: center; padding: 14px 20px; font-size: .8rem; }
  .hero-badge { font-size: .62rem; }
  .hero-visual {
    display: flex;
    transform: scale(0.52);
    margin: -50px auto -110px;
    width: 580px;
    height: 580px;
  }

  /* ── Section header ── */
  .section-title { font-size: clamp(1.9rem, 9vw, 3rem); }
  .section-container--full .section-header { margin-bottom: 40px; }

  /* ── About ── */
  .counters-grid    { grid-template-columns: 1fr 1fr; gap: 10px; }
  .counter-card     { padding: 18px 12px; }
  .cc-icon          { font-size: 1.4rem; }
  .cc-num           { font-size: 2rem; }
  .cc-label         { font-size: .65rem; }
  .about-tags       { gap: 6px; }
  .founder-card     { flex-direction: column; text-align: center; padding: 28px 24px; gap: 20px; }
  .founder-avatar   { width: 95px; height: 95px; }
  .founder-name     { font-size: 1.5rem; }
  .founder-title    { font-size: 1rem; }
  .founder-quote    { font-size: 1.1rem; }

  /* ── Services — 1 col ── */
  .services-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card  { padding: 20px 16px; }

  /* ── Products — 1 col ── */
  .product-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 10px;
  }

  /* ── Why Us ── */
  .why-item   { gap: 10px; padding: 16px 0; }
  .wi-num     { font-size: 1.4rem; width: 26px; }
  .wi-icon    { font-size: 1.2rem; margin-bottom: 5px; }
  .wi-content h3 { font-size: 1.1rem; }
  .wi-content p  { font-size: 1.15rem; }

  /* ── Portfolio — 1 col ── */
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
    gap: 10px;
  }

  /* ── Testimonials ── */
  .testimonials-track {
    grid-template-columns: repeat(4, calc(100vw - 32px));
    gap: 12px;
  }
  .testimonial-card { width: calc(100vw - 32px); padding: 24px 20px; }
  .tc-quote         { font-size: 1.15rem; }
  .tc-name          { font-size: 1.1rem; }
  .tc-role          { font-size: 0.95rem; }

  /* ── Contact ── */
  .contact-form-wrap { padding: 22px 16px; }
  .cf-title          { font-size: .95rem; }
  .map-wrap iframe   { height: 180px; }

  /* ── Footer ── */
  .footer-container  {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px var(--cp) 32px;
  }
  .footer-brand { grid-column: span 1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 6px; }

  /* ── Nav logo ── */
  .nav-logo img  { height: 42px; }
  .logo-name     { font-size: 1rem; }

  /* ── Buttons ── */
  .btn-wa-big { width: 100%; justify-content: center; font-size: .8rem; padding: 14px 20px; }

  /* ── Ticker ── */
  .ticker { padding: 10px 0; }
  .ticker-content span { font-size: .78rem; padding: 0 10px; }

  /* ── WhatsApp float ── */
  .whatsapp-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
  .wa-tooltip { display: none; }
}

/* ═══════════════════════════════════════
   6. SMALL MOBILE  ≤ 375px
═══════════════════════════════════════ */
@media (max-width: 375px) {

  :root { --cp: 14px; }

  .hero-title { font-size: clamp(2rem, 12vw, 3rem); }
  .section-title { font-size: clamp(1.7rem, 10vw, 2.6rem); }
  .hero-visual {
    transform: scale(0.45);
    margin: -70px auto -130px;
    width: 580px;
    height: 580px;
  }

  .counters-grid { grid-template-columns: 1fr 1fr; }
  .cc-num        { font-size: 1.7rem; }

  .services-grid { grid-template-columns: 1fr; }

  .footer-container { padding: 36px var(--cp) 28px; }

  .nav-container { padding: 0 var(--cp); }

  /* Testimonial cards full width */
  .testimonials-track  { grid-template-columns: repeat(4, calc(100vw - 28px)); }
  .testimonial-card    { width: calc(100vw - 28px); padding: 20px 16px; }
}

/* ═══════════════════════════════════════
   7. TOUCH DEVICE OVERRIDES
═══════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {

  /* Disable tilt / magnetic effects on touch */
  .service-card:hover { transform: none; }
  .product-item:hover { transform: none; }
  .counter-card:hover { transform: none; }
  .why-item:hover     { transform: none; }
  .ci-card:hover      { transform: none; }

  /* Keep tap-visible hover highlights */
  .service-card:active {
    background: rgba(124,58,237,.08);
    border-color: rgba(124,58,237,.3);
  }
  .portfolio-item .pi-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  /* Cursor hidden */
  .cur-dot, .cur-ring { display: none; }
  body, button, a { cursor: pointer; }
}

/* ═══════════════════════════════════════
   8. LANDSCAPE MOBILE
═══════════════════════════════════════ */
@media (max-width: 768px) and (orientation: landscape) {
  #hero { min-height: auto; padding-top: 85px; }
  .hero-title { font-size: clamp(2rem, 6vw, 3.2rem); }
  .hero-sub   { display: none; }
  :root { --section-pad: 48px; }
}

/* ═══════════════════════════════════════
   9. REDUCED MOTION
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .loader-progress   { animation: none; width: 100%; }
  .ticker-content    { animation: none; }
  .whatsapp-float    { animation: none; }
  .badge-dot         { animation: none; }
  .scroll-wheel      { animation: none; }
  .mug-steam         { animation: none; }
  .orb-1,.orb-2,.orb-3 { animation: none; }
  .pcb               { animation: none; }
  .art-bar           { animation: none; }
  .wa-ring           { animation: none; }
  .float-card        { animation: none; }
}

/* ═══════════════════════════════════════
   10. PRINT STYLES
═══════════════════════════════════════ */
@media print {
  #loader, .whatsapp-float, #navbar,
  .mobile-menu, .cur-dot, .cur-ring,
  #pbar, .ticker, .hero-scroll { display: none !important; }

  body    { background: white; color: black; }
  section { page-break-inside: avoid; }

  .hero-title, .section-title { color: black; -webkit-text-fill-color: black; }
  .grad-text { -webkit-text-fill-color: #7c3aed; }
  #hero { min-height: auto; padding-top: 24px; }

  .service-card, .counter-card, .product-item,
  .testimonial-card, .ci-card {
    border: 1px solid #ddd;
    background: #fafafa;
  }
}