/* ===== SHARED INNER PAGE STYLES ===== */

/* PAGE HERO (small — contact) */
.page-hero-sm {
  background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 50%, #16213e 100%);
  padding: 60px 0 52px; color: #fff;
}
.page-hero-sm h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.page-hero-sm p { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 580px; }

/* INNER HERO (full — owners, tenants) */
.inner-hero {
  position: relative; padding: 100px 0 80px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 45%, #16213e 100%);
}
.owners-hero { background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 50%, #0d2137 100%); }
.tenants-hero { background: linear-gradient(135deg, #16213e 0%, #1a1a2e 50%, #1b4332 100%); }
.inner-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(46,204,113,0.1) 0%, transparent 60%);
}
.inner-hero-overlay { position: absolute; inset: 0; }
.inner-hero-content { position: relative; z-index: 2; }
.inner-hero-content h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.inner-hero-content p { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 580px; margin-bottom: 32px; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.breadcrumb a:hover { color: #2ecc71; }
.breadcrumb span { margin: 0 8px; }

/* ===== CONTACT PAGE ===== */
.contact-layout { padding-top: 64px; }
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }

.contact-form-wrap { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 40px; }
.contact-form-wrap h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.form-sub { color: #6b7280; font-size: 0.9rem; margin-bottom: 28px; }
.form-section-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  color: #9ca3af; margin: 24px 0 14px; padding-bottom: 8px; border-bottom: 1px solid #f3f4f6;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.83rem; font-weight: 600; color: #374151; }
.req { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #e5e7eb; border-radius: 8px; padding: 10px 14px;
  font-size: 0.9rem; font-family: inherit; color: #1a1a2e;
  transition: border-color 0.2s; background: #fff; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: #2ecc71; box-shadow: 0 0 0 3px rgba(46,204,113,0.1); }
.form-group textarea { resize: vertical; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.cb-item { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 8px 10px; border-radius: 8px; border: 1.5px solid #e5e7eb; font-size: 0.84rem; font-weight: 500; transition: all 0.2s; }
.cb-item:hover { border-color: #2ecc71; background: rgba(46,204,113,0.04); }
.cb-item input { accent-color: #2ecc71; width: 15px; height: 15px; cursor: pointer; }
.btn-full { width: 100%; justify-content: center; }
.form-disclaimer { font-size: 0.78rem; color: #9ca3af; text-align: center; margin-top: 12px; }

.form-success { text-align: center; padding: 48px 24px; }
.success-icon { font-size: 4rem; color: #2ecc71; margin-bottom: 20px; }
.form-success h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.form-success p { color: #6b7280; margin-bottom: 28px; }

/* CONTACT SIDEBAR */
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 24px; }
.sidebar-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; color: #1a1a2e; }
.sidebar-card h3 i { color: #2ecc71; }
.big-phone { display: block; font-size: 1.4rem; font-weight: 800; color: #1a1a2e; margin-bottom: 6px; }
.big-email { display: block; font-size: 1rem; font-weight: 700; color: #2ecc71; margin-bottom: 6px; word-break: break-all; }
.sidebar-card p { font-size: 0.83rem; color: #6b7280; line-height: 1.6; }
.address { font-size: 0.88rem; color: #374151; line-height: 1.7; margin-bottom: 14px; }
.btn-outline-dark { border: 1.5px solid #1a1a2e; color: #1a1a2e; padding: 9px 18px; border-radius: 50px; font-size: 0.83rem; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; transition: all 0.2s; }
.btn-outline-dark:hover { background: #1a1a2e; color: #fff; }
.btn-sm-full { width: 100%; justify-content: center; }
.highlight-card { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-color: #bbf7d0; }
.highlight-icon { font-size: 1.6rem; color: #2ecc71; margin-bottom: 10px; }
.highlight-card h3 { color: #166534; }
.highlight-card p { color: #166534; font-size: 0.85rem; }
.highlight-card strong { color: #15803d; }

.sidebar-reviews { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 24px; }
.review-score { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid #f3f4f6; }
.score-num { font-size: 2.4rem; font-weight: 800; color: #1a1a2e; }
.stars-gold { color: #f59e0b; font-size: 0.95rem; letter-spacing: 2px; }
.review-count { font-size: 0.78rem; color: #9ca3af; margin-top: 3px; }
.mini-review p { font-size: 0.83rem; color: #6b7280; font-style: italic; line-height: 1.6; margin: 8px 0; }
.mini-review span { font-size: 0.78rem; color: #9ca3af; font-weight: 600; }
.stars-gold.small { font-size: 0.78rem; }

/* FAQ */
.faq-section { }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.faq-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; }
.faq-item h4 { font-size: 0.93rem; font-weight: 700; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }
.faq-item h4 i { color: #2ecc71; margin-top: 2px; flex-shrink: 0; }
.faq-item p { font-size: 0.87rem; color: #6b7280; line-height: 1.65; }

/* ===== OWNERS PAGE ===== */

/* Pain points */
.pain-section { }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 32px; }
.pain-card { background: #fff; border: 1px solid #fee2e2; border-radius: 12px; padding: 24px; }
.pain-icon { font-size: 1.2rem; margin-bottom: 12px; }
.pain-icon.bad i { color: #ef4444; }
.pain-card h4 { font-size: 0.93rem; font-weight: 700; margin-bottom: 6px; color: #1a1a2e; }
.pain-card p { font-size: 0.84rem; color: #6b7280; line-height: 1.55; }
.pain-solution { text-align: center; }
.solution-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #2ecc71, #27ae60); color: #fff;
  padding: 14px 32px; border-radius: 50px; font-size: 1rem; font-weight: 700;
  box-shadow: 0 6px 20px rgba(46,204,113,0.3);
}

/* Owner services */
.owner-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; }
.owner-svc { display: flex; gap: 20px; padding: 28px 32px; border-bottom: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb; background: #fff; transition: background 0.2s; }
.owner-svc:hover { background: #f7f9fc; }
.owner-svc:nth-child(even) { border-right: none; }
.owner-svc:nth-last-child(-n+2) { border-bottom: none; }
.osvc-num { font-size: 2rem; font-weight: 800; color: rgba(46,204,113,0.2); min-width: 48px; line-height: 1; }
.osvc-body h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.osvc-body p { font-size: 0.85rem; color: #6b7280; line-height: 1.65; }

/* Owner portal */
.owner-portal-section { padding: 80px 0; }
.owner-portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.svc-cat-tag-green {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46,204,113,0.1); color: #27ae60;
  border: 1px solid rgba(46,204,113,0.25);
  padding: 6px 16px; border-radius: 50px; font-size: 0.78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px;
}
.portal-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.portal-text p { color: #6b7280; font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.portal-features { margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.portal-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; color: #374151; }
.portal-features li i { color: #2ecc71; flex-shrink: 0; }

/* Portal mockup */
.portal-mockup { display: flex; justify-content: center; }
.mockup-screen {
  background: #1a1a2e; border-radius: 16px; overflow: hidden;
  width: 100%; max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.mockup-bar { background: #0f3460; padding: 12px 16px; display: flex; gap: 6px; }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mockup-body { padding: 20px; }
.mockup-header { color: rgba(255,255,255,0.5); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-weight: 600; }
.mockup-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 20px; }
.ms { background: rgba(255,255,255,0.05); border-radius: 10px; padding: 12px 10px; text-align: center; }
.ms-val { font-size: 1.1rem; font-weight: 800; color: #fff; }
.ms-val.green { color: #2ecc71; }
.ms-label { font-size: 0.62rem; color: rgba(255,255,255,0.4); margin-top: 4px; }
.mockup-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mockup-row.last { border-bottom: none; }
.mr-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.mr-val { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.mr-val.paid { color: #2ecc71; }
.mr-val.pending { color: #f59e0b; }
.mr-val.green { color: #2ecc71; }

/* Pricing */
.pricing-section { }
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pricing-card {
  background: #fff; border: 1.5px solid #e5e7eb; border-radius: 16px;
  padding: 36px 28px; position: relative; transition: all 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.pricing-card.featured { border-color: #2ecc71; box-shadow: 0 8px 32px rgba(46,204,113,0.15); }
.pc-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #2ecc71; color: #fff; padding: 4px 20px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.pc-header { margin-bottom: 20px; }
.pc-header h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.pc-header p { font-size: 0.84rem; color: #6b7280; }
.pc-price { font-size: 1.5rem; font-weight: 800; color: #1a1a2e; margin-bottom: 6px; }
.pc-price span { display: block; font-size: 0.78rem; font-weight: 500; color: #9ca3af; }
.pc-features { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.pc-features li { display: flex; align-items: center; gap: 9px; font-size: 0.87rem; color: #374151; }
.pc-features li i { color: #2ecc71; font-size: 0.75rem; flex-shrink: 0; }
.pc-features li.no { color: #9ca3af; }
.pc-features li.no i { color: #d1d5db; }
.pricing-card .btn-outline-dark,
.pricing-card .btn-primary { width: 100%; justify-content: center; }

/* ===== TENANTS PAGE ===== */

/* Quick Actions */
.tenant-actions { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 0; }
.actions-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.action-card {
  display: flex; flex-direction: column; padding: 36px 28px;
  border-right: 1px solid #e5e7eb; transition: all 0.2s; cursor: pointer;
  text-decoration: none; color: inherit;
}
.action-card:last-child { border-right: none; }
.action-card:hover { background: #f7f9fc; }
.action-card:hover .action-link { color: #2ecc71; gap: 10px; }
.action-icon { font-size: 1.6rem; color: #2ecc71; margin-bottom: 14px; }
.action-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.action-card p { font-size: 0.83rem; color: #6b7280; line-height: 1.55; flex: 1; margin-bottom: 16px; }
.action-link { font-size: 0.83rem; font-weight: 600; color: #9ca3af; display: flex; align-items: center; gap: 7px; transition: all 0.2s; }

/* Qualify */
.qualify-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 28px; }
.qualify-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 28px; text-align: center; }
.qc-icon { width: 52px; height: 52px; background: rgba(46,204,113,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #2ecc71; margin: 0 auto 16px; }
.qualify-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.qualify-card p { font-size: 0.85rem; color: #6b7280; line-height: 1.6; }
.fair-housing-note {
  display: flex; align-items: flex-start; gap: 14px;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 20px 24px;
}
.fair-housing-note i { color: #2ecc71; font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.fair-housing-note p { font-size: 0.83rem; color: #166534; line-height: 1.65; }

/* Maintenance info */
.maintenance-info { padding: 80px 0; }
.maint-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.maint-info-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.maint-info-text > p { color: #6b7280; font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; }
.maint-timeline { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.mt-step { display: flex; align-items: flex-start; gap: 16px; }
.mts-icon { width: 40px; height: 40px; min-width: 40px; background: rgba(46,204,113,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #2ecc71; font-size: 0.95rem; }
.mt-step h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.mt-step p { font-size: 0.83rem; color: #6b7280; }
.emergency-box {
  display: flex; align-items: center; gap: 14px;
  background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 16px 20px;
}
.emergency-box i { color: #ef4444; font-size: 1.1rem; flex-shrink: 0; }
.emergency-box strong { display: block; font-size: 0.85rem; color: #7f1d1d; margin-bottom: 3px; }
.emergency-box a { font-size: 1rem; font-weight: 800; color: #dc2626; }
.maint-info-visual { display: flex; align-items: center; justify-content: center; }
.maint-cta-box {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: #fff; border-radius: 20px; padding: 48px 36px; text-align: center;
  max-width: 340px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-decoration: none; transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.maint-cta-box:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.2); }
.maint-cta-box i { font-size: 2.8rem; color: #2ecc71; }
.maint-cta-box h3 { font-size: 1.15rem; font-weight: 800; }
.maint-cta-box p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-sidebar { flex-direction: row; flex-wrap: wrap; }
  .contact-sidebar > * { flex: 1; min-width: 240px; }
  .owner-portal-grid { grid-template-columns: 1fr; }
  .maint-info-grid { grid-template-columns: 1fr; }
  .owner-services-grid { grid-template-columns: 1fr; }
  .owner-svc { border-right: none !important; }
  .owner-svc:nth-last-child(-n+2) { border-bottom: 1px solid #e5e7eb !important; }
  .owner-svc:last-child { border-bottom: none !important; }
}
@media (max-width: 768px) {
  .actions-grid { grid-template-columns: 1fr 1fr; }
  .action-card { border-bottom: 1px solid #e5e7eb; }
  .action-card:nth-child(even) { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .actions-grid { grid-template-columns: 1fr; }
  .action-card { border-right: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .contact-sidebar { flex-direction: column; }
}