/* ============================================================
   Vaastu Building Services — pages/reviews.css
   Styles unique to reviews.html. Shared chrome lives in base.css
   (loaded first); rules here override it where intended. */
   ============================================================ */

.nav-links a.active { color: var(--primary); background: var(--light-bg); }

.section-desc { font-size: 16px; color: var(--text-light); line-height: 1.8; max-width: 640px; }

.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    padding: 72px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

.page-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: auto; }

.page-hero-tag { display: inline-block; background: var(--accent); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 16px; border-radius: 4px; margin-bottom: 20px; font-family: 'Montserrat', sans-serif; }

.page-hero h1 { font-size: 46px; font-weight: 800; color: var(--white); margin-bottom: 18px; line-height: 1.15; }

.page-hero p { font-size: 17px; color: rgba(255,255,255,0.82); line-height: 1.75; margin: 0 auto; }

.rating-summary-section { background: var(--light-bg); }

.rating-summary-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 64px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 52px;
    box-shadow: var(--shadow-sm);
  }

.rating-big {
    text-align: center;
    min-width: 180px;
  }

.rating-score {
    font-family: 'Montserrat', sans-serif;
    font-size: 80px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
  }

.rating-score span { font-size: 32px; color: var(--text-light); }

.rating-stars-big {
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }

.rating-total {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
  }

.rating-bars { display: flex; flex-direction: column; gap: 12px; }

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
  }

.bar-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-mid);
    min-width: 56px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

.bar-label .star-char { color: var(--accent); font-size: 13px; }

.bar-track {
    flex: 1;
    height: 10px;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
  }

.bar-fill {
    height: 100%;
    border-radius: 10px;
    background: var(--accent);
    transition: width 1s ease;
  }

.bar-pct {
    min-width: 36px;
    text-align: right;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
  }

.rating-platforms {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
  }

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--light-bg);
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mid);
    font-family: 'Montserrat', sans-serif;
  }

.review-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 48px 0 40px;
  }

.filter-btn {
    padding: 10px 26px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid var(--light-gray);
    background: var(--white);
    color: var(--text-mid);
    transition: all 0.2s;
  }

.filter-btn:hover { border-color: var(--accent); color: var(--accent); }

.filter-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 26px 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border-top: 4px solid var(--accent);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
  }

.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.quote-icon {
    position: absolute;
    top: -14px;
    right: 22px;
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

.quote-icon svg { width: 18px; height: 18px; fill: var(--white); }

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
  }

.stars { display: flex; gap: 2px; }

.star { color: var(--accent); font-size: 15px; }

.review-date { font-size: 12px; color: var(--text-light); }

.review-text {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    flex: 1;
  }

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--light-gray);
  }

.review-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
  }

.author-name { font-weight: 700; font-size: 14px; color: var(--primary); }

.author-location { font-size: 12px; color: var(--text-light); margin-top: 1px; }

.review-service-tag {
    display: inline-block;
    background: var(--light-bg);
    border: 1px solid var(--light-gray);
    color: var(--text-mid);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
  }

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--green);
    font-weight: 700;
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
  }

.placeholder-note {
    background: #fffbf0;
    border: 2px dashed var(--accent);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    text-align: center;
    margin-bottom: 48px;
  }

.placeholder-note p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

.placeholder-note strong { color: var(--accent); }

.leave-review-bar {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 60px;
    flex-wrap: wrap;
  }

.leave-review-bar h2 { font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 6px; }

.leave-review-bar p { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.6; }

.btn-outline-white {
    background: transparent;
    color: var(--white);
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    display: inline-block;
  }

.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.cta-banner { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%); padding: 72px 24px; text-align: center; position: relative; overflow: hidden; }

.cta-banner::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: auto; }

.cta-banner h2 { font-size: 38px; font-weight: 800; color: var(--white); margin-bottom: 16px; }

.cta-banner p { font-size: 17px; color: rgba(255,255,255,0.80); margin-bottom: 36px; line-height: 1.7; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-phone { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.3); border-radius: var(--radius); padding: 14px 24px; color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; transition: all 0.2s; }

.cta-phone:hover { background: rgba(255,255,255,0.20); }

.cta-phone svg { width: 20px; height: 20px; fill: var(--accent); }

@media (max-width: 1024px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .rating-summary-grid { grid-template-columns: 1fr; gap: 36px; padding: 36px 32px; }
    .rating-big { display: flex; align-items: center; gap: 28px; text-align: left; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }

@media (max-width: 768px) {
    .page-hero h1 { font-size: 32px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .leave-review-bar { flex-direction: column; text-align: center; padding: 32px 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar-left { display: none; }
    .topbar-right { width: 100%; justify-content: center; flex-wrap: wrap; gap: 8px 16px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    nav { position: relative; }
    .nav-mobile-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-md); padding: 16px; z-index: 999; gap: 4px; }
    .nav-links a { padding: 12px 16px; }
    .rating-big { flex-direction: column; align-items: center; text-align: center; }
  }
