/* ═══ Page-specific styles (extracted from inline <style> blocks) ═══ */

/* Used by: contact.html */
.contact-boxes {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 1.25rem;
      margin-bottom: 2.5rem;
    }
    @media (max-width: 900px) { .contact-boxes { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { .contact-boxes { grid-template-columns: 1fr; } }

    .contact-box {
      background: #fff; border: 1px solid rgba(0,0,0,.08);
      border-radius: 14px; padding: 1.5rem;
      box-shadow: 0 4px 12px rgba(0,0,0,.08);
      display: flex; flex-direction: column; min-height: 180px;
    }
    .contact-box h3 { margin-top: 0; margin-bottom: 0.75rem; font-size: 1.15rem; }
    .contact-box p { flex: 1; margin-bottom: 1rem; line-height: 1.6; color: #555; }
    .contact-box .btn { margin-top: auto; }

/* Used by: faq.html */
.faq-section-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--gold);
      text-transform: uppercase;
      letter-spacing: .08em;
      margin: 2.5rem 0 1rem;
      padding-bottom: .5rem;
      border-bottom: 2px solid var(--gold);
    }
    .faq-item {
      border: 1px solid #e5e7eb;
      border-radius: 10px;
      margin-bottom: .75rem;
      overflow: hidden;
    }
    .faq-q {
      width: 100%;
      text-align: left;
      background: #fff;
      border: none;
      padding: 1.1rem 1.4rem;
      font-size: .95rem;
      font-weight: 600;
      color: var(--ink);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      font-family: inherit;
      line-height: 1.4;
      transition: background .15s;
    }
    .faq-q:hover { background: #fafaf8; }
    .faq-q.open { background: #fefbf3; color: var(--gold); }
    .faq-chevron {
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #f3f4f6;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .7rem;
      transition: transform .2s, background .15s;
    }
    .faq-q.open .faq-chevron {
      transform: rotate(180deg);
      background: var(--gold);
      color: #000;
    }
    .faq-a {
      display: none;
      padding: 0 1.4rem 1.1rem;
      color: #555;
      font-size: .92rem;
      line-height: 1.75;
      background: #fefbf3;
    }
    .faq-a.open { display: block; }
    .faq-a p { margin-bottom: .6rem; }
    .faq-a p:last-child { margin-bottom: 0; }
    .faq-a ul { padding-left: 1.4rem; margin-top: .4rem; }
    .faq-a ul li { margin-bottom: .35rem; }

/* Used by: listings.html */
:root { --gold:#C8A74F; }
    
    /* Larger logo override */
    #listings.grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 24px;
      margin: 40px 0;
    }
    
    /* CARD WRAPPER */
    .unit-card {
      display: flex;
      flex-direction: column;
      background: #fff;
      border: 1px solid #e6e6e6;
      border-radius: 14px;
      box-shadow: 0 4px 14px rgba(0,0,0,.06);
      overflow: hidden;
      min-width: 0;
      max-width: 460px;
      height: 520px;
      transition: transform .15s ease, box-shadow .15s ease;
    }

    .unit-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(0,0,0,.10);
    }

    /* SECTION DIVIDERS INSIDE CARD */
    .unit-sec {
      padding: 8px 14px;
      border-top: 1px solid #ececec;
      display: flex;
      align-items: center;
    }

    .unit-sec--photo {
      position: relative;
      padding: 0;
      height: 35%;
      border-top: none;
    }

    .unit-sec--address {
      flex-direction: column;
      align-items: flex-start;
      padding: 10px 14px;
    }

    .unit-sec--specs {
      justify-content: flex-start;
      padding: 8px 14px;
    }

    .unit-sec--amenities {
      flex-wrap: wrap;
      align-items: flex-start;
      padding: 6px 14px;
      line-height: 1.4;
    }

    .unit-sec--actions {
      border-top: 1px solid #ececec;
      padding: 10px 14px;
      margin-top: auto;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    /* PHOTO */
    .unit-card__media {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
      background: #f7f7f7;
    }

    .unit-card__media > img.unit-card__img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* BODY WRAPPER */
    .unit-card__body {
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
    }

    /* ADDRESS - Smaller font to fit on one line */
    .unit-title {
      margin: 0;
      font-size: 0.9rem;
      font-weight: 700;
      color: #111;
      line-height: 1.3;
    }

    /* SPECS + PRICE LINE */
    .unit-specs {
      font-size: 0.9rem;
      font-weight: 600;
      color: #333;
    }

    /* AMENITIES - Much smaller font */
    .unit-amenities-label {
      font-size: 0.7rem;
      font-weight: 600;
      color: #666;
      flex-shrink: 0;
    }
    
    .unit-amenities-list {
      font-size: 0.7rem;
      color: #666;
      line-height: 1.5;
    }

    /* DATES */
    .unit-extra {
      font-size: 0.85rem;
      color: #555;
      font-weight: 500;
    }

    /* BUTTONS ROW - Made smaller to fit all buttons */
    .unit-actions {
      display: flex;
      flex-direction: row;
      gap: 5px;
      width: 100%;
      align-items: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 7px 10px;
      border-radius: 10px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.8rem;
      border: 1px solid transparent;
      white-space: nowrap;
      transition: all 0.2s ease;
    }

    /* GOLD BUTTONS - All consistent styling */
    .btn-gold {
      background: #C8A74F;
      border-color: #b99b46;
      color: #111;
    }

    .btn-gold:hover {
      filter: brightness(0.95);
      text-decoration: none;
    }

    /* MAP ICON BUTTON - small icon on far right */
    .btn-map-icon {
      background: #fff;
      border: 1px solid #e6e6e6;
      color: #333;
      padding: 7px;
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      flex-shrink: 0;
      margin-left: auto;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .btn-map-icon:hover {
      background: #f6f6f6;
    }

    .btn-map-icon svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
    }

    .loading-message {
      text-align: center;
      padding: 60px 20px;
      color: #777;
      font-size: 1.1rem;
    }

    .error-message {
      background: #fee;
      border: 1px solid #fcc;
      border-radius: 8px;
      padding: 20px;
      margin: 40px 0;
      color: #c33;
    }

/* Hotfix: hide empty validation spans (contact.html) */
span.error-message:empty {
  display: none;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}

    .no-results {
      text-align: center;
      padding: 60px 20px;
      color: #777;
      font-size: 1.1rem;
    }

    @media (max-width: 1024px) {
      #listings.grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      }
    }

    @media (max-width: 768px) {
      #listings.grid {
        grid-template-columns: 1fr;
      }
      
      .unit-card {
        height: auto;
        max-width: 100%;
      }
      
      .unit-actions {
        flex-wrap: wrap;
      }
      
      .btn {
        flex: 1;
        min-width: calc(33% - 4px);
        font-size: 0.75rem;
        padding: 8px 6px;
      }
      
      .btn-map-icon {
        margin-left: 0;
        flex: 0 0 32px;
      }
    }
    
    @media (max-width: 480px) {
      .btn {
        min-width: calc(50% - 3px);
      }
      
      .btn:nth-child(3) {
        width: 100%;
      }
    }

/* Used by: privacy-policy.html, sms-terms.html, terms-of-service.html */
.legal-hero { background:#f5f5f5; border-bottom:1px solid #e8e8e8; padding:2.5rem 1rem; }
    .legal-hero h1 { margin:0 0 .4rem; font-size:clamp(1.6rem,4vw,2.2rem); }
    .legal-hero .legal-meta { margin:0; }

/* Used by: schedule-showing.html */
@media(max-width:600px){
}
    .form-row input, .form-row select, .form-row textarea {
      width:100%; box-sizing:border-box; padding:.6rem .8rem;
      border:1px solid #d1d5db; border-radius:8px; font-size:.97rem;
      font-family:inherit; background:#fff; transition:border-color .15s;
    }
    .form-row input:focus, .form-row select:focus, .form-row textarea:focus {
      outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(200,167,79,.15);
    }
    .form-row label { display:block; font-weight:600; font-size:.88rem; margin-bottom:.35rem; color:#374151; }
    #sched-status { display:none; padding:12px 16px; border-radius:8px; margin-bottom:1rem; font-weight:500; }

/* Used by: send-message.html */
@media(max-width:600px){
}
    .form-row input, .form-row select, .form-row textarea {
      width:100%; box-sizing:border-box; padding:.6rem .8rem;
      border:1px solid #d1d5db; border-radius:8px; font-size:.97rem;
      font-family:inherit; background:#fff; transition:border-color .15s;
    }
    .form-row input:focus, .form-row select:focus, .form-row textarea:focus {
      outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(200,167,79,.15);
    }
    .form-row label { display:block; font-weight:600; font-size:.88rem; margin-bottom:.35rem; color:#374151; }
    #msg-send-status { display:none; padding:12px 16px; border-radius:8px; margin-bottom:1rem; font-weight:500; }

/* Used by: showings.html */
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif; }
    header { padding: 1rem; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 1rem; }
    header a { text-decoration: none; }
    .btn { display: inline-block; padding: 0.6rem 1rem; border-radius: 0.5rem; border: 1px solid #b8860b; }
    .btn-gold { background: #d4af37; color: white; }
    .container { max-width: 1200px; margin: 0 auto; padding: 1rem; }
    .calendar-wrap { margin-top: 1rem; }

/* Used by: tenants.html */
.tenant-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.25rem;
    }
    @media (max-width: 900px) { .tenant-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { .tenant-grid { grid-template-columns: 1fr; } }

    .card { display: flex; flex-direction: column; min-height: 200px; }
    .card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
    .card p { flex: 1; margin-bottom: 1rem; line-height: 1.6; }

    .app-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
    .app-badge {
      display: inline-block; padding: 8px 16px;
      background: #000; color: #fff; border-radius: 8px;
      text-decoration: none; font-weight: 600; font-size: 0.85rem;
      transition: transform 0.2s;
    }
    .app-badge:hover { transform: translateY(-2px); text-decoration: none; }
    .app-badge.android { background: #3DDC84; color: #000; }
    .app-badge.apple { background: #000; color: #fff; }

    .form-link {
      display: inline-block; margin-top: 0.5rem;
      color: var(--gold); font-weight: 600; text-decoration: none;
    }
    .form-link:hover { text-decoration: underline; }

    .forms-note {
      font-size: 0.85rem;
      color: #666;
      margin-top: 0.5rem;
      font-style: italic;
    }

/* Used by: thank-you.html */
.ty-section{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:3rem 1rem;}
    .ty-card{max-width:600px;margin:0 auto;text-align:center;}
    .ty-next{background:#f9f9f9;border-radius:14px;padding:1.5rem;margin:1.5rem 0;text-align:left;}
    .ty-next h3{margin-top:0;color:var(--gold);font-size:1rem;}
    .ty-next ul{margin:0;padding-left:1.4rem;color:#555;line-height:1.8;}
    .ty-msg-block{display:none;}

/* Used by: vendors.html */
/* Larger logo override */
    .vendor-intro {
      max-width: 800px;
      margin: 0 auto 3rem;
      text-align: center;
      line-height: 1.7;
    }
    
    .vendor-intro h2 {
      margin-bottom: 1rem;
      font-size: 1.8rem;
    }
    
    .vendor-benefits {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      margin-bottom: 3rem;
    }
    
    .benefit-card {
      text-align: center;
      padding: 1.5rem;
    }
    
    .benefit-icon {
      width: 60px;
      height: 60px;
      margin: 0 auto 1rem;
      background: var(--gold);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .benefit-icon svg {
      width: 30px;
      height: 30px;
      fill: #000;
    }
    
    .vendor-form-container {
      max-width: 700px;
      margin: 0 auto;
      background: #fff;
      padding: 2.5rem;
      border-radius: 14px;
      box-shadow: 0 4px 20px rgba(0,0,0,.08);
    }
    
    .vendor-form-container h2 {
      margin-top: 0;
      margin-bottom: 1.5rem;
      text-align: center;
    }
    
    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }
    
    .form-grid .full-width {
      grid-column: 1 / -1;
    }
    
    @media (max-width: 600px) {
      .form-grid {
        grid-template-columns: 1fr;
      }
      
      .vendor-form-container {
        padding: 1.5rem;
      }
    }
    
    textarea {
      min-height: 120px;
      resize: vertical;
    }
    
    .form-section {
      margin-bottom: 2rem;
    }
    
    .form-section-title {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid var(--gold);
    }
    
    .checkbox-group {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 0.75rem;
      margin-top: 0.5rem;
    }
    
    .checkbox-label {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
    }
    
    .checkbox-label input[type="checkbox"] {
      width: auto;
      margin: 0;
    }
    
    .submit-btn {
      width: 100%;
      padding: 1rem;
      font-size: 1.1rem;
      margin-top: 1rem;
    }

