/* =============================================
   HUBLE — Responsive Styles
   ============================================= */

/* Nav hamburger/links — always set, overridden at 1024px */
.nav-hamburger {
  display: flex;
}

.nav-links {
  display: none;
}

.nav-mobile {
  display: flex;
}

/* ---- MOBILE (< 768px) ---- */
@media (max-width: 767px) {
  /* Hero compact mobile */
  .hero-content {
    max-width: 100%;
    text-align: center;
    padding: 0 1.25rem;
  }

  .hero-content .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: none;
  }

  .hero-ctas {
    justify-content: center;
  }

  /* Hide most decorative elements on mobile */
  .hero-ring,
  .hero-chip-card,
  .hero-avatar-card,
  .hero-disc-mint,
  .hero-mini-tag {
    display: none;
  }

  .hero-grid {
    background-size: 28px 28px;
  }

  .hero-blob-3 { display: none; }

  .hero-marquee {
    height: 30px;
  }

  .hero-marquee span {
    font-size: 0.62rem;
  }

  /* Disable min-height — let content dictate */
  .section {
    min-height: auto;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
  }

  /* 20% smaller text */
  .section .section-title {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
  }

  .section .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .section-label {
    font-size: 0.72rem;
  }

  /* Services — compact mobile card */
  .svc-inner {
    padding: 1.25rem;
  }
  .icon-frame {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  .icon-frame svg {
    width: 24px;
    height: 24px;
  }
  .svc-title {
    font-size: 1.15rem;
  }
  .svc-lede {
    font-size: 0.8rem;
  }
  .svc-eyebrow {
    font-size: 0.64rem;
  }
  .svc-chip {
    font-size: 0.65rem;
    padding: 0.25rem 0.55rem;
  }
  .svc-stat .num {
    font-size: 1rem;
  }
  .svc-stat .num .unit {
    font-size: 0.62rem;
  }
  .svc-stat .lbl {
    font-size: 0.6rem;
  }
  .svc-stat {
    padding: 0 0.35rem;
  }
  .svc-price {
    font-size: 0.72rem;
  }
  .svc-price b {
    font-size: 0.85rem;
  }
  .svc-cta {
    padding: 0.55rem 0.9rem;
    font-size: 0.74rem;
  }
  .svc-badges .svc-badge {
    font-size: 0.55rem;
  }

  /* Process orbs — compact mobile */
  .process-track { display: none; }

  .orb {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.75rem;
  }

  .orb .num { font-size: 1.4rem; }

  .step h3 { font-size: 0.95rem; }

  .step p { font-size: 0.78rem; }

  .step-eyebrow { font-size: 0.62rem; }

  .dur { font-size: 0.65rem; padding: 0.2rem 0.55rem; }

  .process-foot {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
    font-size: 0.72rem;
  }

  .about-text p {
    font-size: 0.88rem;
    text-align: center;
  }

  .value-item h4 {
    font-size: 0.82rem;
  }

  .value-item p {
    font-size: 0.7rem;
  }

  /* FAQ — stack aside + list on mobile */
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .faq-aside {
    position: static;
    padding: 1.1rem;
  }
  .faq-aside-title { font-size: 1.3rem; }
  .faq-aside p { font-size: 0.8rem; }
  .faq-tab { font-size: 0.68rem; padding: 0.3rem 0.6rem; }

  .faq-item summary {
    padding: 0.95rem 1rem 0.95rem 1.4rem;
    grid-template-columns: auto 1fr auto auto;
    gap: 0.5rem;
  }
  .faq-num { font-size: 0.68rem; }
  .faq-q { font-size: 0.88rem; }
  .faq-tag { display: none; } /* hide tag on mobile to save space */
  .faq-toggle {
    width: 28px;
    height: 28px;
  }
  .faq-toggle::before { width: 10px; }
  .faq-toggle::after { height: 10px; }

  .faq-body {
    padding: 0 1.4rem 1rem;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .faq-body p { font-size: 0.84rem; }

  .faq-prompt {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  .faq-prompt .prompt-t { font-size: 0.8rem; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-visual {
    height: 280px;
    order: 1;
  }

  .about-orbit {
    width: 260px;
    height: 260px;
  }

  .orbit-card {
    width: 90px;
    height: 75px;
    padding: 0.5rem;
  }

  .orbit-card svg {
    width: 18px;
    height: 18px;
  }

  .orbit-card span {
    font-size: 0.6rem;
  }

  .about-text .section-title {
    text-align: center;
  }

  .about-text .section-label {
    justify-content: center;
  }

  .about-values {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Contact compact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info .section-title {
    font-size: 1.4rem;
  }

  .contact-info .section-title,
  .contact-info .section-label {
    text-align: center;
    justify-content: center;
  }

  .contact-info > p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .contact-details {
    align-items: center;
  }

  .contact-form {
    padding: 1.1rem;
  }
  .form-hd-t { font-size: 1rem; }
  .form-hd-step { font-size: 0.58rem; }

  .form-row2 {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
  }

  .field {
    padding: 1rem 0.85rem 0.5rem;
  }
  .field label {
    font-size: 0.82rem;
    left: 2.5rem;
    top: 1rem;
  }
  .field input,
  .field textarea {
    font-size: 0.85rem;
    padding-left: 1.75rem;
  }
  .lead-icon {
    width: 18px;
    height: 18px;
    left: 0.85rem;
  }

  .chip-label {
    font-size: 0.62rem;
    margin: 0.75rem 0 0.5rem;
  }
  .chip-choice {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }

  .form-foot {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  .form-foot .form-submit {
    width: 100%;
    justify-content: center;
  }

  .form-submit {
    padding: 0.75rem;
    font-size: 0.88rem;
    margin-top: 0.25rem;
  }

  /* Footer mobile — compact pills */
  .footer {
    padding: 1.5rem 0 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    display: none;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-logo img {
    height: 28px;
  }

  .footer-col h4 {
    display: none;
  }

  .footer-col-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
  }

  .footer-link {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    background: rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-full);
    color: var(--dark);
  }

  .footer-link:hover {
    background: rgba(0, 0, 0, 0.12);
    transform: none;
  }

  .footer-bottom {
    padding-top: 0.75rem;
    margin-top: 1rem;
  }

  .footer-bottom p {
    font-size: 0.7rem;
  }
}

/* ---- TABLET (>= 768px) ---- */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-visual {
    order: 0;
    height: 420px;
  }

  .about-text .section-title {
    text-align: left;
  }

  .about-text .section-label {
    justify-content: flex-start;
  }

  .about-text p {
    text-align: left;
  }

  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }

  .contact-info {
    text-align: left;
  }

  .contact-info .section-title,
  .contact-info .section-label {
    text-align: left;
    justify-content: flex-start;
  }

  .contact-details {
    align-items: flex-start;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-row2 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
    text-align: left;
  }

  .footer-brand p {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-logo {
    justify-content: flex-start;
  }

  .footer-col-links {
    align-items: flex-start;
  }
}

/* ---- DESKTOP (>= 1024px) ---- */
@media (min-width: 1024px) {
  .nav-hamburger {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .nav-mobile {
    display: none !important;
  }


  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .about-grid {
    gap: 5rem;
  }

  .about-visual {
    height: 500px;
  }

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

  .contact-grid {
    gap: 4rem;
  }

  .contact-form {
    padding: 2.5rem;
  }
}

/* ---- LARGE DESKTOP (>= 1440px) ---- */
@media (min-width: 1440px) {
  :root {
    --container-width: 1320px;
  }
}
