/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet horizontal */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: none;
  }

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

  .hero-grid {
    gap: var(--space-5);
  }

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

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

  .orbital-container {
    width: min(100%, 420px);
  }

  .icon-node {
    width: 44px;
    height: 44px;
  }

  .icon-node .material-symbols-outlined {
    font-size: 22px;
  }

  .icon-line {
    width: 38px;
    height: 38px;
  }
}

/* Tablet vertical */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-4);
  }

  .hero-content p {
    max-width: 100%;
    font-size: 15px;
  }

  .hero-actions {
    gap: var(--space-3);
  }

  .orbital-container {
    width: min(100%, 340px);
  }

  .icon-node {
    width: 38px;
    height: 38px;
    box-shadow: 0 8px 18px rgba(7, 44, 75, 0.12);
  }

  .icon-node .material-symbols-outlined {
    font-size: 19px;
  }

  .icon-line {
    width: 32px;
    height: 32px;
  }

  .orbit-dot {
    width: 5px;
    height: 5px;
  }

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

/* Mobile nav / tablet chica */
@media (max-width: 860px) {
  .container {
    width: min(100% - 32px, 1280px);
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
    border-radius: var(--radius-md);
  }

  .main-nav a.active {
    border-bottom: 0;
    background: rgba(7, 44, 75, 0.08);
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section {
    padding: 72px 0;
  }

  .cdf-footer {
    padding: 40px 24px 20px;
  }

  .cdf-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .cdf-footer__brand {
    grid-column: 1 / -1;
  }

  .cdf-footer__copy {
    justify-self: start;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .header-container {
    height: 64px;
    justify-content: flex-end;
  }

  main {
    padding-top: 64px;
  }

  .main-nav {
    top: 64px;
  }

  .brand-name {
    font-size: 19px;
  }

  .header-actions .btn {
    display: none;
  }

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

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

  .orbital-container {
    width: min(100%, 300px);
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--space-3);
  }

  .hero-actions .btn {
    flex: 1 1 0;
    width: auto;
    justify-content: center;
    padding-inline: 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero-actions .btn .material-symbols-outlined {
    font-size: 18px;
  }

  .eyebrow {
    font-size: 11px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .feature-card {
    min-height: auto;
    padding: var(--space-5);
  }

  .feature-card h3 {
    font-size: 21px;
  }

  .feature-card p {
    font-size: 16px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: var(--space-4);
  }

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

  .process-card {
    min-height: auto;
    padding: var(--space-5);
  }

  .process-number {
    margin-bottom: var(--space-4);
    font-size: 46px;
  }

  .process-card h3 {
    font-size: 21px;
  }

  .process-card p {
    font-size: 16px;
  }

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

  .pricing-card,
  .cta-card {
    padding: 24px;
  }

  .trust-row,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-row .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .cdf-footer {
    padding: 36px 20px 24px;
  }

  .cdf-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .cdf-footer__brand {
    align-items: center;
  }

  .cdf-footer__links {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
  }

  .cdf-footer__copy {
    justify-self: center;
    text-align: center;
  }
 
}