/* BrahmnMitra — responsive.css */

/* 1140px — Mobile navigation overlay */
@media (max-width: 1140px) {
  #nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 90;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: rgba(4, 8, 18, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 88px 24px 48px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #nav.open {
    display: flex;
    animation: navIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  #nav a {
    color: #eaf2ff;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 12px 24px;
    min-height: 44px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    transition: background 0.2s ease, color 0.2s ease;
  }
  #nav a:hover,
  #site-header.on-light #nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
  #nav a[aria-current="true"],
  #nav a[aria-current="page"],
  #site-header.on-light #nav a[aria-current="true"],
  #site-header.on-light #nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.18);
    color: var(--amber);
    font-weight: 600;
  }
  #nav .nav-cta {
    margin-top: 10px;
    font-size: 1rem;
    padding: 13px 28px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    color: #2a1600 !important;
  }

  #nav-toggle {
    display: flex;
    position: relative;
    z-index: 100;
  }
  #nav-toggle[aria-expanded="true"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
  }

  #site-header {
    padding: 9px 12px 9px 18px;
    width: calc(100% - 24px);
    top: 10px;
  }
  #site-header .call {
    padding: 10px 16px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* 1024px — Medium screens & landscape tablets */
@media (max-width: 1024px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tst-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  footer .inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* 920px — Vertical process timeline */
@media (max-width: 920px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .proc-rail {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(255, 179, 71, 0.25),
      rgba(255, 179, 71, 0.85),
      rgba(95, 233, 245, 0.7)
    );
  }
  .proc-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .proc-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }
  .proc-step .n {
    width: 56px;
    height: 56px;
  }
  .proc-step p {
    max-width: none;
  }
  .proc-step .txt {
    padding-top: 8px;
  }
}

/* 768px — Tablet & Phablets */
@media (max-width: 768px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .tst-grid {
    grid-template-columns: 1fr;
  }
  .window-frame {
    width: 26vh;
    height: 34vh;
    margin-left: -13vh;
    margin-top: -17vh;
  }
  .stat-grid {
    gap: 20px;
  }
  .proof {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  #flight-block {
    grid-template-columns: 1fr;
  }
  footer .inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  html {
    scroll-padding-top: 76px;
  }
}

/* 600px — Mobile forms, widgets and stats */
@media (max-width: 600px) {
  #cinema,
  .stage {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-copy {
    padding: 0 16px;
  }
  .hero-copy .eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    padding: 5px 14px;
    margin-bottom: 14px;
  }
  .hero-copy h1,
  .hero-title {
    gap: 10px;
  }
  .hero-brand-name {
    font-size: clamp(1.95rem, 8vw, 2.7rem);
    letter-spacing: 0.04em;
    line-height: 1.08;
  }
  .hero-copy .tagline,
  .hero-tagline {
    font-size: 0.95rem;
    margin-top: 6px;
    max-width: 28ch;
    line-height: 1.45;
  }
  .hero-copy .sub {
    font-size: 12.5px;
    margin-top: 8px;
    line-height: 1.4;
  }
  .hero-cta {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .hero-cta .btn {
    flex: 1 1 130px;
    padding: 12px 16px;
    font-size: 0.85rem;
    justify-content: center;
  }

  .scroll-hint {
    bottom: 16px;
    font-size: 9.5px;
    letter-spacing: 0.24em;
  }
  .scroll-hint .line {
    height: 32px;
  }

  .skip-intro {
    top: calc(env(safe-area-inset-top, 0px) + 68px);
    right: 12px;
    font-size: 11.5px;
    padding: 7px 13px;
    min-height: 34px;
  }

  .reveal-inner {
    padding: 24px 18px;
  }
  .reveal-inner h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    line-height: 1.25;
  }
  .reveal-inner .lead {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 10px;
  }
  .cta-row {
    margin-top: 18px;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .cta-row .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  #site-header .call .num {
    display: none;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 16px;
  }
  .stat {
    padding: 14px;
  }
  .stat .num {
    font-size: 1.85rem;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 16px;
  }
  .section h2 {
    font-size: clamp(1.4rem, 5.8vw, 1.85rem);
  }

  .trip-planner-panel {
    padding: 22px 16px;
    border-radius: 16px;
    margin: 0 4px;
  }
  .trip-planner-copy h2 {
    font-size: 1.35rem;
  }
  .planner-fields {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-top: 18px;
  }
  .planner-field label {
    font-size: 0.76rem;
    font-weight: 700;
  }
  .planner-field input,
  .planner-field select {
    min-height: 48px;
    font-size: 16px !important;
    border-radius: 10px;
  }
  .planner-submit {
    grid-column: auto !important;
    min-height: 48px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .search-box {
    height: 50px;
    border-radius: 12px;
  }
  #travel-search {
    font-size: 16px !important;
    padding: 11px 14px 11px 44px;
  }
  .search-icon {
    left: 14px;
  }
  .search-result {
    padding: 12px 14px;
    font-size: 0.86rem;
  }

  .filter-chips {
    gap: 6px;
    margin-top: 18px;
  }
  .filter-chip {
    padding: 8px 14px;
    font-size: 0.8rem;
    min-height: 38px;
  }

  .catalog-grid,
  .destination-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-top: 20px;
  }
  .travel-card,
  .destination-card {
    border-radius: 16px;
  }
  .card-art {
    height: 145px !important;
  }
  .card-body,
  .destination-body {
    padding: 18px 16px 20px !important;
  }
  .card-body h3,
  .destination-body h3 {
    font-size: 1.02rem;
  }
  .plan-item {
    min-height: 46px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .svc-card {
    width: 100% !important;
    padding: 22px 16px;
    border-radius: 16px;
  }

  .proc-grid {
    gap: 22px;
  }
  .proc-step .n {
    width: 48px;
    height: 48px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .wa-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

/* 420px — Small mobile screens */
@media (max-width: 420px) {
  #site-header {
    padding: 8px 10px 8px 14px;
    gap: 8px;
    height: 56px;
  }
  #site-header .brand {
    font-size: 11.5px;
    letter-spacing: 0.08em;
    gap: 5px;
  }
  #site-header .call {
    padding: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
  }

  .section {
    padding: 40px 14px;
  }
  .svc-card,
  .why-item,
  .tst {
    padding: 20px 15px;
  }
  #contact .panel,
  .contact-card {
    padding: 20px 14px;
  }

  .trip-pills {
    flex-wrap: wrap;
    gap: 6px;
  }
  .trip-pills label {
    flex: 1 1 100%;
    font-size: 0.85rem;
    padding: 10px 14px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 14px;
    min-height: 46px;
  }
}

/* 360px — Base compact mobile */
@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: 1.75rem;
    letter-spacing: 0.02em;
  }
  .hero-copy .tagline {
    font-size: 0.88rem;
  }
  .reveal-inner h2 {
    font-size: 1.3rem;
  }
  .stat .num {
    font-size: 1.55rem;
  }
  .kicker {
    letter-spacing: 0.18em;
    font-size: 9px;
  }
  .cta-row {
    width: 100%;
    flex-direction: column;
  }
  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 1600px+ — Large screens */
@media (min-width: 1600px) {
  .section,
  .stat-grid,
  footer .inner {
    max-width: 1280px;
  }
}

/* Landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-copy h1 {
    font-size: 2.2rem;
  }
  .hero-copy .eyebrow {
    margin-bottom: 12px;
  }
  .hero-copy .tagline {
    margin-top: 12px;
  }
  .scroll-hint {
    display: none;
  }
}

/* Print styles */
@media print {
  #cinema,
  #site-header,
  .aurora,
  .cloud,
  footer .fglow {
    display: none !important;
  }
  #content {
    background: #fff;
  }
  .glass {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: none;
    backdrop-filter: none;
  }
  body {
    color: #000;
  }
}
