/**
 * APR GROUP OF COMPANY - Specialized UI Components
 * STRICT 3-BRAND-COLOUR PALETTE: #173B65 (Navy), #2467C5 (Blue), #159568 (Green)
 */

/* Hero Banner Homepage */
.hero-home {
  position: relative;
  background: linear-gradient(135deg, #F5F8FC 0%, #EBF2FA 100%);
  padding: 80px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-home::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(36, 103, 197, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  margin: 16px 0 20px;
  color: var(--brand-navy);
}

.hero-content p {
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Hero Project Carousel (All 6 Projects) */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(23, 59, 101, 0.16);
  border: 4px solid #FFFFFF;
  background-color: var(--brand-navy);
  aspect-ratio: 16 / 11;
  min-height: 380px;
}

.hero-carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.03);
  z-index: 1;
}

.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, rgba(23, 59, 101, 0.94) 0%, rgba(23, 59, 101, 0.72) 65%, transparent 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 3;
}

.carousel-project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand-green);
  background: rgba(21, 149, 104, 0.2);
  border: 1px solid var(--brand-green);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.carousel-project-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.carousel-project-rate {
  font-size: 1rem;
  font-weight: 700;
  color: #EBF2FA;
}

.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(23, 59, 101, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.hero-carousel-arrow:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: translateY(-50%) scale(1.08);
}

.hero-carousel-arrow svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

.hero-carousel-arrow.prev {
  left: 14px;
}

.hero-carousel-arrow.next {
  right: 14px;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 16px;
  right: 20px;
  display: flex;
  gap: 7px;
  z-index: 6;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  width: 24px;
  border-radius: 5px;
}

/* Trust Bar / Highlights */
.trust-bar {
  background-color: #FFFFFF;
  padding: 35px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon.green {
  background-color: var(--brand-green-light);
  color: var(--brand-green);
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.trust-item h4 {
  font-size: 0.98rem;
  margin-bottom: 2px;
  color: var(--brand-navy);
}

.trust-item p {
  font-size: 0.82rem;
  margin: 0;
  color: var(--text-muted);
}

/* Smart Plot Search & Calculator */
.calc-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
  padding: 36px;
  max-width: 940px;
  margin: 0 auto;
}

.calc-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.calc-tab {
  background: var(--bg-surface);
  border: 2px solid var(--border-light);
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-tab:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.calc-tab.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(36, 103, 197, 0.3);
}

.calc-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.calc-result-box {
  display: none;
  background: var(--brand-blue-light);
  border: 1px solid rgba(36, 103, 197, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 26px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.calc-result-box h3 {
  color: var(--brand-navy);
  font-size: 1.25rem;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(36, 103, 197, 0.15);
  padding-bottom: 10px;
}

.calc-res-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.calc-res-card {
  background: #FFFFFF;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.calc-res-card small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.calc-res-card strong {
  display: block;
  font-size: 1.2rem;
  color: var(--brand-blue);
}

.calc-res-card strong.green {
  color: var(--brand-green);
}

.calc-budget-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.calc-budget-status.within {
  background: var(--brand-green-light);
  color: var(--brand-green);
  border: 1px solid rgba(21, 149, 104, 0.3);
}

.calc-budget-status.above {
  background: #FFFFFF;
  color: var(--brand-navy);
  border: 1px solid var(--border-card);
}

.calc-budget-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.budget-project-item {
  background: #FFFFFF;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.budget-project-item h4 {
  font-size: 0.95rem;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.budget-project-item .rate {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.budget-project-item .area {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1.2;
}

.budget-project-item small {
  color: var(--text-subtle);
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.calc-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand-blue);
}

/* Rate Matrix Table (Single Project Page) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th {
  background: var(--brand-navy);
  color: #FFFFFF;
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.95rem;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background-color: var(--brand-blue-light);
}

.pricing-table .price-val {
  font-weight: 800;
  color: var(--brand-green);
}

/* Gallery & Lightbox */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.gallery-filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--brand-navy);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.gallery-filter-btn.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
}

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

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  height: 250px;
  background-color: var(--bg-alt);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 59, 101, 0.85) 0%, rgba(23, 59, 101, 0.1) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.gallery-overlay span {
  color: var(--text-footer);
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(15, 40, 71, 0.94);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
}

.lightbox-caption {
  color: #FFFFFF;
  text-align: center;
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* Blog Components */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-media {
  height: 210px;
  position: relative;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-meta-badge {
  color: var(--brand-blue);
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card-title {
  font-size: 1.22rem;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--brand-navy);
}

.blog-card-title a {
  color: var(--brand-navy);
}

.blog-card-title a:hover {
  color: var(--brand-blue);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* Blog Single Article Elements */
.article-header {
  margin-bottom: 35px;
}

.article-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  color: var(--brand-navy);
  margin-bottom: 16px;
}

.article-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 35px;
  box-shadow: var(--shadow-md);
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-body);
}

.article-body h2 {
  font-size: 1.65rem;
  color: var(--brand-navy);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

.article-body h3 {
  font-size: 1.3rem;
  color: var(--brand-navy);
  margin: 26px 0 12px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px 28px;
  color: var(--text-body);
}

.article-body li {
  margin-bottom: 8px;
}

.article-toc {
  background: var(--brand-blue-light);
  border: 1px solid rgba(36, 103, 197, 0.2);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 35px;
}

.article-toc h4 {
  color: var(--brand-navy);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.article-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-toc li {
  margin-bottom: 8px;
}

.article-toc a {
  color: var(--brand-navy);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-toc a:hover {
  color: var(--brand-blue);
  padding-left: 4px;
}

/* Contact Page Components & Google Maps Embed */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.contact-card-info {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-detail-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon.green {
  background-color: var(--brand-green-light);
  color: var(--brand-green);
}

.contact-detail-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-detail-text h4 {
  font-size: 1rem;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.contact-detail-text a:hover {
  color: var(--brand-blue);
}

/* Google Maps Embed Container */
.map-section {
  padding: 50px 0;
  background-color: var(--bg-surface);
}

.map-container-wrap {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.map-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  border-bottom: 1px solid var(--border-light);
}

.map-header h3 {
  font-size: 1.15rem;
  color: var(--brand-navy);
  margin: 0;
}

.map-embed-responsive {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.map-embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Testimonial Cards */
/* Google Business Profile Reviews Header & Verification */
.google-reviews-header {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  text-align: left;
}

.google-brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.google-g-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.google-brand-info h3 {
  font-size: 1.15rem;
  color: var(--brand-navy);
  margin-bottom: 3px;
}

.google-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.google-rating-score {
  font-weight: 800;
  color: var(--brand-navy);
  font-size: 1.05rem;
}

.google-stars {
  color: var(--brand-green);
  letter-spacing: 2px;
  font-size: 1.05rem;
}

.google-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.google-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.google-btn-primary {
  background-color: var(--brand-blue);
  color: #FFFFFF !important;
}

.google-btn-primary:hover {
  background-color: #1f57a6;
  color: #FFFFFF !important;
}

.google-btn-outline {
  border: 1px solid var(--border-light);
  color: var(--brand-navy) !important;
  background: #FFFFFF;
}

.google-btn-outline:hover {
  background: var(--bg-alt);
  color: var(--brand-navy) !important;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.testimonial-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 3px 8px;
  border-radius: 4px;
}

.testimonial-rating {
  color: var(--brand-green); /* Brand Green #159568 */
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 16px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.testimonial-author b {
  display: block;
  font-size: 0.92rem;
  color: var(--brand-navy);
}

.testimonial-author small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.testimonial-view-google {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.testimonial-view-google:hover {
  text-decoration: underline;
  color: var(--brand-navy);
}

/* Official Google Business Profile Verified Showcase (Zero Fake Reviews) */
.google-showcase-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px 34px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.google-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-green-light);
  color: var(--brand-green);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.google-showcase-desc {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 22px;
}

.google-showcase-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.google-api-integration-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}

.google-api-integration-note svg {
  width: 18px;
  height: 18px;
  fill: var(--brand-blue);
  flex-shrink: 0;
}

/* Compact Horizontal "Share Your Experience" Section */
.share-review-horizontal {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: 0 6px 22px rgba(23, 59, 101, 0.06);
  margin-top: 32px;
  text-align: left;
}

.share-review-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
  align-items: start;
}

.share-review-sidebar {
  border-right: 1px solid var(--border-light);
  padding-right: 24px;
  display: flex;
  flex-direction: column;
}

.share-review-sidebar h3 {
  font-size: 1.25rem;
  color: var(--brand-navy);
  margin: 6px 0 6px;
}

.share-review-sidebar p {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.share-review-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.share-review-horizontal .form-group {
  margin-bottom: 0;
}

.share-review-horizontal .form-control {
  height: 42px;
  font-size: 0.9rem;
  padding: 8px 12px;
}

.share-review-horizontal textarea.form-control {
  height: 64px;
  resize: vertical;
}

.share-review-horizontal .form-label {
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.rating-select-wrap {
  margin-bottom: 12px;
}

.rating-stars-interactive {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.star-btn {
  background: none;
  border: none;
  padding: 0 1px;
  font-size: 1.6rem;
  color: #D1D5DB;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  line-height: 1;
}

.star-btn:hover,
.star-btn.selected,
.star-btn.hovered {
  color: var(--brand-green);
  transform: scale(1.15);
}

.rating-label-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-left: 10px;
}

.review-admin-notice-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

.review-admin-notice-inline svg {
  width: 16px;
  height: 16px;
  fill: var(--brand-blue);
  flex-shrink: 0;
}

.review-alert-success {
  display: none;
  background: rgba(21, 149, 104, 0.08);
  border: 2px solid var(--brand-green);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
  color: var(--brand-navy);
}

.review-alert-success h4 {
  color: var(--brand-green);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.review-alert-success p {
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  color: var(--text-body);
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, #173B65 0%, #153A63 100%);
  color: #FFFFFF;
  padding: 60px 0;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 20px 0;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--text-footer);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 28px;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-carousel { min-height: 320px; }
  .calc-form-grid { grid-template-columns: 1fr; }
  .calc-budget-results-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .map-embed-responsive { height: 380px; }
  .share-review-layout { grid-template-columns: 1fr; gap: 20px; }
  .share-review-sidebar { border-right: none; border-bottom: 1px solid var(--border-light); padding-right: 0; padding-bottom: 18px; }
  .google-reviews-header { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 640px) {
  .hero-carousel { min-height: 260px; }
  .hero-carousel-caption { padding: 30px 16px 16px; }
  .carousel-project-title { font-size: 1.1rem; }
  .carousel-project-rate { font-size: 0.9rem; }
  .hero-carousel-arrow { width: 34px; height: 34px; }
  .hero-carousel-arrow svg { width: 18px; height: 18px; }
  .share-review-horizontal { padding: 20px 16px; }
  .share-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .star-btn { font-size: 1.5rem; }
  .calc-container { padding: 22px 16px; }
  .calc-res-grid { grid-template-columns: 1fr; }
  .calc-budget-results-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .map-embed-responsive { height: 320px; }
}
