/* =========================================
   SWAHUB - RESPONSIVE.CSS
   Tablet / Mobile / Small screens
========================================= */

/* ---------- Large Tablet / Small Laptop ---------- */
@media (max-width: 1200px) {
    .container {
      width: min(100% - 36px, 1100px);
    }
  
    .hero-grid,
    .page-hero-grid {
      gap: 32px;
    }
  
    .hero-content h1,
    .page-hero-content h1 {
      font-size: clamp(36px, 4.6vw, 58px);
    }
  
    .section-heading h2 {
      font-size: clamp(28px, 3.8vw, 42px);
    }
  
    .benefit-grid,
    .trust-grid,
    .process-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .footer-grid {
      grid-template-columns: 1.2fr 0.9fr 0.9fr;
      gap: 24px;
    }

    .home-hero-grid {
      gap: 40px;
    }

    .story-visual {
      min-height: 500px;
    }

    .story-card-bottom {
      left: 64px;
      width: 264px;
    }
  }
  
  /* ---------- Tablet ---------- */
  @media (max-width: 992px) {
    :root {
      --space-8: 48px;
      --space-9: 60px;
    }
  
    .site-header {
      backdrop-filter: blur(14px);
    }
  
    .navbar {
      min-height: 74px;
    }
  
    .nav-links {
      position: absolute;
      top: calc(100% + 10px);
      left: 18px;
      right: 18px;
      display: none;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      padding: 20px;
      background: rgba(255, 255, 255, 0.98);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-lg);
      box-shadow: var(--color-shadow);
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .nav-links a {
      width: 100%;
      font-size: 15px;
    }
  
    .nav-links a.active::after,
    .nav-links a:hover::after {
      display: none;
    }
  
    .menu-toggle {
      display: inline-flex;
    }
  
    .nav-actions .btn {
      display: none;
    }
  
    .hero-grid,
    .page-hero-grid,
    .split-cards,
    .role-cta-grid,
    .footer-grid,
    .form-row {
      grid-template-columns: 1fr;
    }
  
    .hero-grid,
    .page-hero-grid {
      align-items: start;
    }
  
    .hero-content,
    .page-hero-content,
    .page-hero-panel,
    .hero-card {
      width: 100%;
    }
  
    .hero-content h1,
    .page-hero-content h1 {
      max-width: 100%;
      font-size: clamp(34px, 6vw, 52px);
    }
  
    .hero-text,
    .page-hero-text {
      max-width: 100%;
      font-size: 17px;
    }
  
    .hero-card,
    .page-hero-panel {
      margin-top: 10px;
    }
  
    .process-grid::before {
      display: none;
    }
  
    .section {
      padding: 56px 0;
    }
  
    .section-heading {
      margin-bottom: 32px;
    }
  
    .section-heading h2 {
      font-size: clamp(28px, 5vw, 38px);
    }
  
    .section-heading p {
      font-size: 16px;
    }
  
    .benefit-grid,
    .trust-grid,
    .process-grid {
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }
  
    .contact-form-wrap {
      padding: 24px;
    }
  
    .footer-grid {
      gap: 28px;
    }
  
    .footer-brand p {
      max-width: 100%;
    }

    .home-page .nav-links {
      background: rgba(10, 16, 28, 0.96);
      border-color: rgba(255, 255, 255, 0.08);
      box-shadow: 0 24px 48px rgba(2, 6, 23, 0.26);
    }

    .home-page .nav-links a {
      color: rgba(255, 255, 255, 0.88);
    }

    .home-hero {
      padding-top: 112px;
      padding-bottom: 36px;
    }

    .home-hero-grid {
      gap: 32px;
    }

    .home-hero-content {
      max-width: 100%;
    }

    .home-hero-content .hero-text {
      max-width: 620px;
      font-size: 18px;
    }

    .home-story-card {
      justify-content: center;
    }

    .story-visual {
      min-height: 470px;
      width: min(100%, 620px);
    }

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

    .trust-strip-item:nth-child(3),
    .trust-strip-item:nth-child(4) {
      border-top: 1px solid rgba(219, 229, 242, 0.85);
    }

    .trust-strip-item:nth-child(3) {
      border-left: none;
    }

    .role-split-grid,
    .workflow-steps,
    .trust-note-panel {
      grid-template-columns: 1fr;
    }

    .workflow-steps::before {
      display: none;
    }

    .trust-note-panel {
      gap: 22px;
      padding: 34px;
    }
  }
  
  /* ---------- Mobile ---------- */
  @media (max-width: 768px) {
    :root {
      --radius-lg: 18px;
      --radius-xl: 22px;
      --space-7: 32px;
      --space-8: 40px;
      --space-9: 48px;
    }
  
    body {
      line-height: 1.6;
    }
  
    .container {
      width: min(100% - 24px, 100%);
    }
  
    .site-header {
      border-bottom: 1px solid rgba(199, 213, 234, 0.7);
    }
  
    .navbar {
      min-height: 68px;
      gap: 12px;
    }
  
    .brand-logo {
      width: 44px;
      height: auto;
    }
  
    .brand-text {
      font-size: 20px;
    }
  
    .nav-links {
      left: 12px;
      right: 12px;
      top: calc(100% + 8px);
      padding: 18px;
      gap: 14px;
    }
  
    .hero-section,
    .page-hero {
      padding: 64px 0 44px;
    }
  
    .hero-content h1,
    .page-hero-content h1 {
      font-size: clamp(30px, 8vw, 42px);
      line-height: 1.08;
    }
  
    .hero-text,
    .page-hero-text {
      font-size: 16px;
      margin-bottom: 22px;
    }
  
    .eyebrow {
      font-size: 11px;
      padding: 6px 12px;
      margin-bottom: 12px;
    }
  
    .hero-actions,
    .card-actions,
    .form-actions,
    .section-action {
      flex-direction: column;
      align-items: stretch;
    }
  
    .hero-actions .btn,
    .card-actions .btn,
    .form-actions .btn,
    .section-action .btn {
      width: 100%;
    }
  
    .hero-inline-points,
    .hero-trust,
    .access-points {
      gap: 10px;
    }
  
    .hero-inline-points span {
      width: 100%;
      justify-content: center;
      text-align: center;
    }
  
    .trust-item,
    .access-point {
      flex: 1 1 100%;
    }
  
    .hero-card-inner,
    .hero-panel-card,
    .info-card,
    .benefit-card,
    .trust-card,
    .process-card,
    .role-cta-card,
    .contact-form-wrap,
    .founder-note {
      padding: 22px;
    }
  
    .split-cards,
    .role-cta-grid,
    .benefit-grid,
    .trust-grid,
    .process-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  
    .section {
      padding: 48px 0;
    }
  
    .section-heading {
      margin-bottom: 26px;
    }
  
    .section-heading h2 {
      font-size: clamp(24px, 7vw, 34px);
      line-height: 1.15;
    }
  
    .section-heading p {
      font-size: 15px;
    }
  
    .mini-label,
    .card-tag {
      font-size: 11px;
    }
  
    .flow-item,
    .hero-panel-item {
      gap: 12px;
    }
  
    .flow-step,
    .process-number {
      width: 36px;
      height: 36px;
      font-size: 13px;
      border-radius: 10px;
    }
  
    .flow-item h4,
    .hero-panel-item h4,
    .process-card h4,
    .benefit-card h3,
    .info-card h3,
    .trust-card h4,
    .role-cta-card h3 {
      font-size: 17px;
    }
  
    .flow-item p,
    .hero-panel-item p,
    .process-card p,
    .benefit-card p,
    .info-card p,
    .trust-card p,
    .role-cta-card p,
    .faq-item p {
      font-size: 14px;
    }
  
    .founder-note h2 {
      font-size: clamp(24px, 7vw, 32px);
    }
  
    .founder-note p {
      font-size: 15px;
    }
  
    .faq-item {
      padding: 18px;
    }
  
    .faq-item summary {
      font-size: 15px;
      line-height: 1.45;
      padding-right: 22px;
    }
  
    .contact-form-wrap {
      padding: 20px;
    }
  
    .form-row {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  
    .form-group input,
    .form-group textarea,
    .form-group select {
      min-height: 48px;
    }
  
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }
  
    .footer-links h4 {
      margin-bottom: 10px;
    }
  
    .footer-links a {
      margin-bottom: 8px;
    }
  
    .footer-bottom {
      padding: 16px 0 24px;
    }
  
    .footer-bottom p {
      font-size: 13px;
    }

    .home-page .site-header {
      background: rgba(8, 14, 27, 0.84);
    }

    .home-hero {
      padding: 104px 0 28px;
    }

    .home-hero-content h1 {
      font-size: clamp(38px, 11vw, 56px);
    }

    .home-hero-content .hero-text {
      font-size: 17px;
      margin-bottom: 26px;
    }

    .hero-note {
      font-size: 14px;
    }

    .story-visual {
      min-height: 420px;
      border-radius: 28px;
    }

    .story-card {
      padding: 18px;
      border-radius: 20px;
    }

    .story-card h3 {
      font-size: 18px;
    }

    .story-card p {
      font-size: 13px;
    }

    .story-card-need {
      top: 28px;
      left: 18px;
      width: 250px;
    }

    .story-card-top {
      top: 142px;
      right: 18px;
      width: 218px;
    }

    .story-card-bottom {
      bottom: 28px;
      left: 40px;
      width: 252px;
    }

    .story-badge {
      right: 28px;
      bottom: 142px;
      padding: 10px 14px;
      font-size: 12px;
    }

    .trust-strip {
      grid-template-columns: 1fr;
    }

    .trust-strip-item {
      justify-content: flex-start;
      min-height: 62px;
    }

    .trust-strip-item + .trust-strip-item,
    .trust-strip-item:nth-child(3) {
      border-left: none;
    }

    .trust-strip-item + .trust-strip-item {
      border-top: 1px solid rgba(219, 229, 242, 0.85);
    }

    .role-split-section {
      padding-top: 76px;
    }

    .role-panel,
    .trust-note-panel {
      padding: 28px;
      border-radius: 24px;
    }

    .role-panel h3,
    .trust-note-copy h2 {
      font-size: clamp(28px, 8vw, 36px);
    }

    .workflow-section {
      padding-top: 20px;
    }

    .workflow-steps {
      gap: 14px;
    }

    .step-card {
      padding: 24px 20px 22px;
      border-radius: 20px;
    }
  }
  
  /* ---------- Small Mobile ---------- */
  @media (max-width: 520px) {
    .container {
      width: min(100% - 20px, 100%);
    }
  
    .navbar {
      min-height: 64px;
    }
  
    .brand-logo {
      width: 40px;
      height: auto;
    }
  
    .brand-text {
      font-size: 18px;
    }
  
    .menu-toggle {
      width: 42px;
      height: 42px;
      border-radius: 10px;
    }
  
    .hero-section,
    .page-hero {
      padding: 56px 0 38px;
    }
  
    .hero-content h1,
    .page-hero-content h1 {
      font-size: 29px;
    }
  
    .hero-text,
    .page-hero-text {
      font-size: 15px;
    }
  
    .hero-card-inner,
    .hero-panel-card,
    .info-card,
    .benefit-card,
    .trust-card,
    .process-card,
    .role-cta-card,
    .contact-form-wrap,
    .founder-note {
      padding: 18px;
    }
  
    .section {
      padding: 40px 0;
    }
  
    .section-heading h2 {
      font-size: 23px;
    }
  
    .btn {
      min-height: 46px;
      padding: 0 18px;
      font-size: 14px;
    }
  
    .hero-inline-points span,
    .access-point,
    .trust-item {
      padding: 12px 14px;
    }
  
    .faq-item summary::after {
      font-size: 20px;
    }
  
    .ordered-flow,
    .info-card ul,
    .info-card ol {
      padding-left: 18px;
    }

    .home-hero {
      padding-top: 96px;
    }

    .home-hero-content h1 {
      font-size: 34px;
    }

    .home-hero-content .hero-text {
      font-size: 16px;
    }

    .story-visual {
      min-height: 360px;
    }

    .story-card {
      padding: 16px;
    }

    .story-card h3 {
      font-size: 16px;
    }

    .story-card-need {
      width: 206px;
    }

    .story-card-top {
      top: 128px;
      width: 190px;
    }

    .story-card-bottom {
      left: 20px;
      bottom: 22px;
      width: 222px;
    }

    .story-badge {
      right: 18px;
      bottom: 120px;
      padding: 9px 12px;
      font-size: 11px;
      display: none;
    }

    .role-panel,
    .trust-note-panel {
      padding: 22px;
    }

    .step-number {
      width: 46px;
      height: 46px;
      margin-bottom: 14px;
    }

    .step-card h3 {
      font-size: 20px;
    }
  }
  
  /* ---------- Very Small Devices ---------- */
  @media (max-width: 380px) {
    .brand-text {
      font-size: 17px;
    }
  
    .hero-content h1,
    .page-hero-content h1 {
      font-size: 26px;
    }
  
    .section-heading h2 {
      font-size: 22px;
    }
  
    .btn {
      font-size: 13px;
    }
  
    .hero-inline-points span {
      font-size: 13px;
    }
  }
