
/* ============================================
   RESPONSIVE.CSS — Landmark Homes
   Breakpoints: 1024px | 768px | 480px | 360px
   ============================================ */

/* ══════════════════════════════════════════
   LARGE TABLETS — max-width: 1024px
══════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Hero */
  .hero-title {
    font-size: 34px;
  }

  /* Process Steps — 2x2 grid */
  .process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .step-connector {
    display: none;
  }

  .step-card {
    flex: unset;
    width: 100%;
    text-align: center;
    padding: 28px 16px 24px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .step-card:nth-child(2n) {
    border-right: none;
  }

  .step-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .step-icon {
    margin: 0 auto 14px;
  }

  /* Input grids */
  .input-row.three-col {
    grid-template-columns: 1fr 1fr;
  }

  /* Payment — 3 columns */
  .payment-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

}

/* ══════════════════════════════════════════
   TABLETS — max-width: 768px
══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Header */
  .header-container {
    padding: 0 20px;
    height: 64px;
  }

  .logo-img {
    height: 42px;
  }


.header-badge {
    padding: 6px 12px;
    font-size: 11px;
  }
  /* Hero */
  .page-hero {
    padding: 52px 20px 60px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  /* Main content */
  .main-content {
    padding: 28px 16px 60px;
    gap: 20px;
  }

  /* Notice */
  .notice-card {
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
  }

  /* Process Steps — vertical stack, row layout */
  .process-steps {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .step-connector {
    display: none;
  }

  .step-card {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 18px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .step-card:last-child {
    border-bottom: none;
  }

  .step-card:nth-child(2n) {
    border-right: none;
  }

  .step-card:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .step-card:last-child {
    border-bottom: none;
  }

  .step-icon {
    margin: 0;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .step-content {
    display: flex;
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 3px;
    font-size: 10px;
  }

  .step-title {
    margin-bottom: 3px;
    font-size: 13px;
  }

  .step-desc {
    font-size: 12px;
  }

  /* Section heading */
  .section-heading {
    font-size: 19px;
  }

  /* Form cards */
  .form-card-header {
    padding: 20px 20px 16px;
  }

  .form-card-body {
    padding: 20px;
    gap: 16px;
  }

  .form-card-title {
    font-size: 18px;
  }

  /* Input grids */
  .input-row.two-col {
    grid-template-columns: 1fr;
  }

  .input-row.three-col {
    grid-template-columns: 1fr;
  }

  /* Toggle row */
  .toggle-row {
    flex-wrap: wrap;
  }

  /* Pets radio */
  .radio-inline-group {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Payment — keep 3 columns on tablet */
  .payment-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .payment-card-inner {
    padding: 18px 10px 14px;
    gap: 8px;
  }

  .payment-icon {
    width: 38px;
    height: 38px;
  }

  .payment-icon svg {
    width: 38px;
    height: 38px;
  }

  .payment-name {
    font-size: 12px;
  }

  /* Consent */
  .consent-item {
    padding: 14px 16px;
  }

  /* Submit */
  .submit-btn {
    width: 100%;
    min-width: unset;
    padding: 18px 24px;
  }

  /* Modal */
  .modal-card {
    padding: 40px 28px 36px;
    border-radius: 20px;
  }

  .modal-title {
    font-size: 22px;
  }

  /* Footer */
  .site-footer {
    padding: 22px 20px;
  }

}

/* ══════════════════════════════════════════
   MOBILE — max-width: 480px
══════════════════════════════════════════ */
@media (max-width: 480px) {

  /* Header */
  .header-container {
    padding: 0 16px;
    height: 58px;
  }

  .logo-img {
    height: 36px;
  }

  .header-badge {
    padding: 5px 10px;
    font-size: 10px;
    gap: 6px;
  }

  .badge-dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
  }

  /* Hero */
  .page-hero {
    padding: 36px 16px 44px;
  }

  .hero-eyebrow {
    font-size: 11px;
  }

  .hero-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 13.5px;
  }

  /* Main */
  .main-content {
    padding: 20px 12px 48px;
    gap: 16px;
  }

  /* Notice */
  .notice-card {
    padding: 16px;
  }

  .notice-title {
    font-size: 12px;
  }

  .notice-text {
    font-size: 12.5px;
  }

  /* Process steps */
  .step-card {
    padding: 14px 16px;
    gap: 14px;
  }

  .step-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
  }

  .step-icon svg {
    width: 16px;
    height: 16px;
  }

  .step-number {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .step-title {
    font-size: 12.5px;
    margin-bottom: 2px;
  }

  .step-desc {
    font-size: 11.5px;
    line-height: 1.5;
  }

  /* Section heading */
  .section-heading {
    font-size: 17px;
  }

  /* Form cards */
  .form-card-header {
    padding: 16px 16px 12px;
  }

  .form-card-body {
    padding: 16px;
    gap: 14px;
  }

  .form-card-title {
    font-size: 16px;
  }

  .form-card-label {
    font-size: 10px;
  }

  .form-card-desc {
    font-size: 12px;
  }

  /* Inputs */
  .input-label {
    font-size: 12.5px;
  }

  .input-field {
    height: 44px;
    font-size: 14px;
  }

  .textarea-field {
    height: auto;
    min-height: 100px;
  }

  /* Toggle */
  .toggle-label {
    font-size: 13px;
  }

  /* Pets radio */
  .radio-inline-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Payment — 2 columns on mobile */
  .payment-options {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .payment-card-inner {
    padding: 16px 8px 12px;
    gap: 8px;
    flex-direction: column;
    align-items: center;
  }

  .payment-icon {
    width: 34px;
    height: 34px;
  }

  .payment-icon svg {
    width: 34px;
    height: 34px;
  }

  .payment-name {
    font-size: 11px;
    text-align: center;
  }

  .payment-check {
    width: 18px;
    height: 18px;
    top: 8px;
    right: 8px;
  }

  .payment-check svg {
    width: 10px;
    height: 10px;
  }

  /* Consent */
  .consent-item {
    padding: 12px 14px;
    gap: 10px;
  }

  .consent-text {
    font-size: 12.5px;
  }

  .consent-checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }

  /* Submit */
  .submit-section {
    gap: 12px;
  }

  .submit-btn {
    font-size: 14px;
    padding: 16px 20px;
    width: 100%;
    min-width: unset;
    border-radius: 50px;
  }

  .submit-disclaimer {
    font-size: 11.5px;
  }

  /* Modal */
  .modal-card {
    padding: 32px 20px 28px;
    border-radius: 16px;
  }

  .modal-icon-wrap {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
  }

  .modal-icon {
    width: 28px;
    height: 28px;
  }

  .modal-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .modal-text {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .modal-close-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
  }

  /* Footer */
  .site-footer {
    padding: 18px 16px;
  }

  .footer-copy,
  .footer-note {
    font-size: 11.5px;
  }

}

/* ══════════════════════════════════════════
   VERY SMALL — max-width: 360px
══════════════════════════════════════════ */
@media (max-width: 360px) {

  /* Hero */
  .hero-title {
    font-size: 21px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  /* Form cards */
  .form-card-header {
    padding: 14px 14px 10px;
  }

  .form-card-body {
    padding: 14px;
  }

  .form-card-title {
    font-size: 15px;
  }

  /* Process */
  .step-card {
    padding: 12px 14px;
    gap: 12px;
  }

  /* Payment — stays 2 columns, just tighter */
  .payment-options {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .payment-card-inner {
    padding: 12px 6px 10px;
    gap: 6px;
  }

  .payment-icon {
    width: 30px;
    height: 30px;
  }

  .payment-icon svg {
    width: 30px;
    height: 30px;
  }

  .payment-name {
    font-size: 10px;
  }

  /* Consent */
  .consent-text {
    font-size: 12px;
  }

  /* Submit */
  .submit-btn {
    font-size: 13.5px;
    padding: 15px 16px;
  }

  /* Modal */
  .modal-card {
    padding: 28px 16px 24px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-text {
    font-size: 12.5px;
  }

}