/**
 * Coastline Commercial Roofing - Frontend Styles
 * Version: 1.3.0 — Light global, Dark estimate page
 */

/* ========================================
   GLOBAL
   ======================================== */

html {
  scroll-behavior: smooth;
}

/* ========================================
   BUTTONS & LINKS
   ======================================== */

.coastline-btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 4px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.coastline-btn-primary {
  background-color: #af6661;
  color: #ffffff;
}

.coastline-btn-primary:hover {
  background-color: #944f4a;
  color: #ffffff;
  transform: translateY(-2px);
}

.coastline-btn-white {
  background-color: #ffffff;
  color: #af6661;
}

.coastline-btn-white:hover {
  background-color: #f4fbff;
  color: #944f4a;
  transform: translateY(-2px);
}

.coastline-text-link {
  color: #af6661;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #af6661;
  padding-bottom: 3px;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.coastline-text-link:hover {
  color: #944f4a;
  border-bottom-color: #944f4a;
}

/* ========================================
   SECTIONS - GENERAL (LIGHT THEME)
   ======================================== */

.coastline-section {
  padding: 100px 20px;
}

.coastline-section-white {
  background-color: #ffffff;
}

.coastline-section-light {
  background-color: #f4fbff;
}

.coastline-section-dark {
  background-color: #121b25;
}

.coastline-section-accent {
  background-color: #af6661;
}

.coastline-container {
  max-width: 1100px;
  margin: 0 auto;
}

.coastline-container-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.coastline-text-center {
  text-align: center;
}

.coastline-section-label {
  color: #af6661;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.coastline-section-heading {
  color: #121b25;
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.coastline-section-text {
  color: #375472;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.coastline-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.coastline-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.coastline-hero-video iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.coastline-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.coastline-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  padding: 0 20px;
}

.coastline-hero-welcome {
  color: #121b25;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  animation: coastlineFadeInDown 1s ease;
}

.coastline-hero-logo {
  max-width: 550px;
  width: 90%;
  margin-bottom: 25px;
  animation: coastlineFadeIn 1.5s ease;
}

.coastline-hero-subheadline {
  color: #121b25;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 500;
  max-width: 700px;
  margin-bottom: 35px;
  animation: coastlineFadeInUp 2s ease;
}

.coastline-hero .coastline-btn {
  animation: coastlineFadeInUp 2.5s ease;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.coastline-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.coastline-service-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.coastline-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.coastline-service-image {
  height: 200px;
  overflow: hidden;
}

.coastline-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coastline-service-placeholder {
  height: 100%;
  background-color: #375472;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coastline-service-content {
  padding: 30px;
}

.coastline-service-content h3 {
  color: #121b25;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.coastline-service-content p {
  color: #375472;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.coastline-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.coastline-reason-card {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.coastline-reason-card:hover {
  background-color: #f4fbff;
}

.coastline-reason-icon {
  width: 60px;
  height: 60px;
  background-color: #fdf0ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.coastline-reason-card h3 {
  color: #121b25;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.coastline-reason-card p {
  color: #375472;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

/* ========================================
   STATS COUNTER SECTION
   ======================================== */

.coastline-stats-section {
  padding: 70px 20px;
  background-color: #af6661;
  position: relative;
  overflow: hidden;
}

.coastline-stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 0
  );
  background-size: 24px 24px;
  pointer-events: none;
}

.coastline-stats-header {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.coastline-stats-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.coastline-stats-desc {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.coastline-stats-grid {
  display: grid;
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.coastline-stats-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.coastline-stats-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.coastline-stat-item {
  padding: 20px;
}

.coastline-stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 60px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.coastline-stat-affix {
  font-size: 42px;
  font-weight: 700;
  opacity: 0.9;
}

.coastline-stat-label {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

@media (max-width: 768px) {
  .coastline-stats-cols-2,
  .coastline-stats-cols-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .coastline-stat-number {
    font-size: 44px;
  }

  .coastline-stat-affix {
    font-size: 30px;
  }

  .coastline-stat-label {
    font-size: 14px;
  }

  .coastline-stats-section {
    padding: 50px 15px;
  }

  .coastline-stats-heading {
    font-size: 24px;
  }

  .coastline-stats-header {
    margin-bottom: 28px;
  }
}

/* ========================================
   PROJECTS SECTION
   ======================================== */

.coastline-projects-section {
  background-color: #121b25;
  padding: 80px 20px;
}

.coastline-projects-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.coastline-projects-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 1px;
}

.coastline-projects-gallery-link {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #af6661;
  text-decoration: none;
  border-bottom: 2px solid #af6661;
  padding-bottom: 3px;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
  white-space: nowrap;
}

.coastline-projects-gallery-link:hover {
  color: #d4817c;
  border-bottom-color: #d4817c;
}

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

.coastline-project-card {
  text-decoration: none;
  display: block;
  border-radius: 6px;
  overflow: hidden;
}

/* Before / After Slider */
.coastline-ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.coastline-ba-after,
.coastline-ba-before {
  position: absolute;
  inset: 0;
}

.coastline-ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.coastline-ba-after img,
.coastline-ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Handle */
.coastline-ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.coastline-ba-handle-line {
  flex: 1;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.coastline-ba-handle-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(18, 27, 37, 0.7);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease;
}

.coastline-ba-handle-circle:hover {
  background: rgba(175, 102, 97, 0.85);
}

.coastline-ba-handle-circle svg {
  width: 12px;
  height: 12px;
}

/* Labels */
.coastline-ba-label {
  position: absolute;
  bottom: 12px;
  z-index: 4;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(18, 27, 37, 0.6);
  padding: 5px 12px;
  border-radius: 4px;
  pointer-events: none;
}

.coastline-ba-label-before {
  left: 12px;
}

.coastline-ba-label-after {
  right: 12px;
}

/* Fallback single image (when only after is uploaded) */
.coastline-project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
}

.coastline-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coastline-project-placeholder {
  width: 100%;
  height: 100%;
  background: #1a2a3a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coastline-project-info {
  display: block;
  padding: 20px 4px;
  text-decoration: none;
}

.coastline-project-info:hover .coastline-project-title {
  color: #af6661;
}

.coastline-project-type {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}

.coastline-project-title {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

@media (max-width: 960px) {
  .coastline-projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .coastline-projects-heading {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .coastline-projects-section {
    padding: 60px 15px;
  }

  .coastline-projects-header {
    flex-direction: column;
    gap: 12px;
  }

  .coastline-projects-heading {
    font-size: 28px;
  }

  .coastline-projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========================================
   CUSTOMER REVIEWS SECTION
   ======================================== */

.coastline-reviews-section {
  background-color: var(--base-2, #ebeef2);
}

.coastline-reviews-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.coastline-reviews-track {
  display: flex;
  transition: transform 0.5s ease;
}

.coastline-review-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.coastline-review-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* Stars */
.coastline-review-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 24px;
}

/* Quote */
.coastline-review-text-wrap {
  position: relative;
  margin-bottom: 28px;
}

.coastline-review-text {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #375472;
  margin: 0;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.coastline-review-readmore {
  display: none;
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #af6661;
  cursor: pointer;
  transition: color 0.2s ease;
}

.coastline-review-readmore:hover {
  color: #944f4a;
}

/* Full review overlay */
.coastline-review-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 36px;
  overflow-y: auto;
  flex-direction: column;
  justify-content: center;
}

.coastline-review-overlay.active {
  display: flex;
}

.coastline-review-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coastline-review-overlay-inner p {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #375472;
  font-style: italic;
  margin: 0 0 20px;
  text-align: center;
}

.coastline-review-close {
  align-self: center;
  background: none;
  border: 1px solid #ccd3db;
  border-radius: 20px;
  padding: 6px 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #375472;
  cursor: pointer;
  transition: all 0.2s ease;
}

.coastline-review-close:hover {
  background: #af6661;
  color: #ffffff;
  border-color: #af6661;
}

/* Author */
.coastline-review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.coastline-review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.coastline-review-avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #af6661;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coastline-review-author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.coastline-review-name {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #121b25;
}

.coastline-review-source {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: #6b7c8a;
}

/* Arrows */
.coastline-reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ccd3db;
  background: #ffffff;
  color: #375472;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.coastline-reviews-arrow:hover {
  background: #af6661;
  color: #ffffff;
  border-color: #af6661;
}

.coastline-reviews-prev {
  left: -50px;
}

.coastline-reviews-next {
  right: -50px;
}

/* Dots */
.coastline-reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.coastline-reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccd3db;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.coastline-reviews-dot.active {
  background: #af6661;
  transform: scale(1.2);
}

/* Reviews Responsive */
@media (max-width: 860px) {
  .coastline-reviews-prev {
    left: 4px;
  }
  .coastline-reviews-next {
    right: 4px;
  }
  .coastline-reviews-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 600px) {
  .coastline-review-card {
    padding: 28px 20px;
  }
  .coastline-review-text {
    font-size: 15px;
  }
  .coastline-review-overlay {
    padding: 24px 20px;
  }
}

/* ========================================
   SERVICE AREAS SECTION
   ======================================== */

/* Default solid dark background */
.coastline-areas-section {
  position: relative;
  background-color: #121b25;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Parallax effect */
.coastline-areas-parallax {
  background-attachment: fixed;
}

/* Overlay for image backgrounds */
.coastline-areas-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Disable parallax on mobile (poor support) */
@media (max-width: 1024px) {
  .coastline-areas-parallax {
    background-attachment: scroll;
  }
}

.coastline-areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.coastline-area-tag {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.coastline-area-tag:hover {
  background-color: #af6661;
  border-color: #af6661;
  color: #ffffff;
}

.coastline-area-tag-accent {
  background-color: #af6661;
  border-color: #af6661;
  color: #ffffff;
  font-weight: 600;
}

.coastline-area-tag-accent:hover {
  background-color: #944f4a;
  border-color: #944f4a;
}

/* ========================================
   CTA BANNER SECTION
   ======================================== */

.coastline-cta-heading {
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.coastline-cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 30px;
}

.coastline-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.coastline-cta-phone {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

.coastline-cta-phone a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 20px;
}

.coastline-cta-phone a:hover {
  text-decoration: underline;
}

/* ========================================
   INSTANT ESTIMATE CTA SECTION (Home Page)
   ======================================== */

.coastline-estimate-cta {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #121b25 0%, #1a2a3a 50%, #243447 100%);
  overflow: hidden;
}

.coastline-estimate-cta-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.07) 1px,
    transparent 0
  );
  background-size: 28px 28px;
  pointer-events: none;
}

.coastline-estimate-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.coastline-estimate-cta-heading {
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
}

.coastline-estimate-cta-desc {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 28px;
}

.coastline-estimate-cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 24px;
}

.coastline-estimate-cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coastline-estimate-cta-trust-item svg {
  flex-shrink: 0;
}

.coastline-estimate-cta-trust-item span {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.coastline-estimate-cta-disclaimer {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
  margin: 0;
  max-width: 500px;
}

/* Right Column - CTA Actions */
.coastline-estimate-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px 32px;
}

.coastline-estimate-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  padding: 18px 32px;
  background-color: #af6661;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.coastline-estimate-cta-btn:hover {
  background-color: #944f4a;
  color: #ffffff;
  transform: translateY(-2px);
}

.coastline-estimate-cta-divider {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 20px 0;
  gap: 12px;
}

.coastline-estimate-cta-divider::before,
.coastline-estimate-cta-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.coastline-estimate-cta-divider span {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.coastline-estimate-cta-phone-label {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 10px;
}

.coastline-estimate-cta-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff !important;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.coastline-estimate-cta-phone-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Responsive */
@media (max-width: 960px) {
  .coastline-estimate-cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .coastline-estimate-cta {
    padding: 60px 15px;
  }
  .coastline-estimate-cta-heading {
    font-size: 28px;
  }
  .coastline-estimate-cta-trust {
    flex-direction: column;
    gap: 10px;
  }
  .coastline-estimate-cta-actions {
    padding: 28px 20px;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes coastlineFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes coastlineFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .coastline-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coastline-reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .coastline-hero {
    height: 70vh;
    margin-top: 0 !important;
  }

  .coastline-hero-logo {
    max-width: 300px;
  }

  .coastline-hero-subheadline {
    font-size: 16px;
  }

  .coastline-section {
    padding: 60px 15px;
  }

  .coastline-section-heading {
    font-size: 28px;
  }

  .coastline-section-text {
    font-size: 16px;
  }

  .coastline-services-grid {
    grid-template-columns: 1fr;
  }

  .coastline-reasons-grid {
    grid-template-columns: 1fr;
  }

  .coastline-cta-heading {
    font-size: 28px;
  }
}

/* ============================================ */
/* INSTANT ESTIMATE PAGE — DARK THEME          */
/* ============================================ */

/* ── Hero Banner ─────────────────────────────── */
.coastline-estimate-hero {
  background: linear-gradient(rgba(18, 27, 37, 0.05), rgba(18, 27, 37, 0.05));
  padding: 60px 20px;
  text-align: center;
}
.coastline-estimate-hero-content {
  max-width: 700px;
  margin: 0 auto;
}
.coastline-estimate-hero-content h1 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.coastline-estimate-hero-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  margin: 0;
  line-height: 1.5;
}

/* ── Dark background ONLY on estimate page ───── */
.page-template-templates-page-estimate-php .coastline-section-light,
.page-template-page-estimate .coastline-section-light {
  background-color: #121b25;
}

/* ── Two-Column Grid ─────────────────────────── */
.coastline-estimate-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0;
}

/* ── Left Column: Intro ──────────────────────── */
.coastline-estimate-intro-inner {
  position: sticky;
  top: 100px;
}

.coastline-estimate-intro-heading {
  font-size: 45px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.coastline-estimate-intro-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0 0 28px;
}

/* ── Trust Items ─────────────────────────────── */
.coastline-estimate-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.coastline-estimate-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.coastline-estimate-trust-item svg {
  flex-shrink: 0;
}
.coastline-estimate-trust-item span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Phone CTA ───────────────────────────────── */
.coastline-estimate-phone {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.coastline-estimate-phone p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px;
}
.coastline-estimate-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #af6661 !important;
  text-decoration: none !important;
  transition: opacity 0.2s;
}
.coastline-estimate-phone-link:hover {
  opacity: 0.8;
}

/* ── Right Column: Dark Form Card ────────────── */
.coastline-estimate-form {
  background: #1a2a3a;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Override quote app max-width inside this layout */
.coastline-estimate-form #cqg-quote-app {
  max-width: 100%;
}

/* ── Full-width overrides for GeneratePress ──── */
.page-template-page-estimate .site-content,
body.page-template-templates-page-estimate-php .site-content {
  display: block !important;
}
.page-template-page-estimate .inside-article,
body.page-template-templates-page-estimate-php .inside-article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-page-estimate #primary,
body.page-template-templates-page-estimate-php #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
.page-template-page-estimate .entry-content,
body.page-template-templates-page-estimate-php .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-page-estimate #right-sidebar,
.page-template-page-estimate #left-sidebar,
body.page-template-templates-page-estimate-php #right-sidebar,
body.page-template-templates-page-estimate-php #left-sidebar {
  display: none !important;
}

/* ── Estimate Page Responsive ────────────────── */
@media (max-width: 960px) {
  .coastline-estimate-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .coastline-estimate-hero {
    padding: 40px 20px;
  }
  .coastline-estimate-hero-content h1 {
    font-size: 30px;
  }
  .coastline-estimate-hero-content p {
    font-size: 16px;
  }
  .coastline-estimate-intro-inner {
    position: static;
  }
  .coastline-estimate-form {
    padding: 20px;
  }
}

/* ========================================
   HERO V2 - Two Column with Form
   ======================================== */

.hero-v2 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-v2-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-v2-video iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-v2-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(18, 27, 37, 0.85) 0%,
    rgba(18, 27, 37, 0.7) 100%
  );
  z-index: 1;
}

.hero-v2-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 80px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.hero-v2-text {
  color: #ffffff;
}

.hero-v2-label {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #af6661;
  margin-bottom: 20px;
}

.hero-v2-title {
  font-family: "Montserrat", sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px;
  color: #ffffff;
}

.hero-v2-desc {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
  max-width: 500px;
}

.hero-v2-btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background-color: #af6661;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.hero-v2-btn-primary:hover {
  background-color: #944f4a;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Form Card */
.hero-v2-form {
  background: #ffffff;
  border-radius: 6px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.hero-v2-form-header {
  color: #ffffff;
  padding: 24px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.hero-v2-form-logo {
  display: block;
  max-width: 180px;
  margin: 0 auto 12px;
}

.hero-v2-form .wpcf7 {
  padding: 24px;
}

.hero-v2-form .wpcf7 input[type="text"],
.hero-v2-form .wpcf7 input[type="email"],
.hero-v2-form .wpcf7 input[type="tel"],
.hero-v2-form .wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  margin-bottom: 12px;
  transition: border-color 0.3s ease;
}

.hero-v2-form .wpcf7 input:focus,
.hero-v2-form .wpcf7 textarea:focus {
  outline: none;
  border-color: #af6661;
}

.hero-v2-form .wpcf7 input[type="submit"] {
  width: 100%;
  padding: 16px;
  background-color: #af6661;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-v2-form .wpcf7 input[type="submit"]:hover {
  background-color: #944f4a;
}

/* Hero V2 Responsive */
@media (max-width: 960px) {
  .hero-v2-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 100px 20px 60px;
  }

  .hero-v2-title {
    font-size: 36px;
  }

  .hero-v2-text {
    text-align: center;
  }

  .hero-v2-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-v2-btn-primary {
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-v2-title {
    font-size: 28px;
  }

  .hero-v2-desc {
    font-size: 16px;
  }
}

/* ========================================
   ABOUT HERO BANNER
   ======================================== */

.coastline-about-hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #121b25;
}

/* Static background */
.coastline-about-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Slider backgrounds */
.coastline-about-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.coastline-about-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.coastline-about-hero-slide.active {
  opacity: 1;
}

/* Overlay */
.coastline-about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Content */
.coastline-about-hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 20px 80px;
  width: 100%;
}

.coastline-about-hero-label {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #af6661;
  margin-bottom: 16px;
  animation: coastlineFadeInDown 0.8s ease;
}

.coastline-about-hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 20px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  animation: coastlineFadeIn 1.2s ease;
}

.coastline-about-hero-desc {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  animation: coastlineFadeInUp 1.5s ease;
}

/* ========================================
   ABOUT SECTION (Two-Column)
   ======================================== */

.coastline-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.coastline-about-image-col {
  position: relative;
}

.coastline-about-photo {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  display: block;
}

.coastline-about-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f0f4f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coastline-about-text-col .coastline-section-label {
  text-align: left;
}

.coastline-about-text-col .coastline-section-heading {
  text-align: left;
}

.coastline-about-text-col .coastline-section-text {
  text-align: left;
}

/* ========================================
   MEET THE OWNER SECTION
   ======================================== */

.coastline-owner-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.coastline-owner-image-col {
  position: relative;
}

.coastline-owner-photo {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

.coastline-owner-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 3;
  background: #e8ecf0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coastline-owner-text-col .coastline-section-label {
  text-align: left;
}

.coastline-owner-text-col .coastline-section-heading {
  text-align: left;
  margin-bottom: 6px;
}

.coastline-owner-role {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #af6661;
  margin: 0 0 24px;
}

.coastline-owner-text-col .coastline-section-text {
  text-align: left;
}

.coastline-owner-text-col .coastline-btn {
  margin-top: 10px;
}

/* ========================================
   OUR PRINCIPLES SECTION
   ======================================== */

.coastline-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.coastline-principle-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 8px;
  background: #f9fbfd;
  border: 1px solid rgba(55, 84, 114, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.coastline-principle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.coastline-principle-icon {
  width: 70px;
  height: 70px;
  background-color: #fdf0ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.coastline-principle-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #121b25;
  margin: 0 0 12px;
}

.coastline-principle-card p {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #375472;
  margin: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 960px) {
  .coastline-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .coastline-about-image-col {
    order: -1;
  }

  .coastline-owner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .coastline-owner-image-col {
    max-width: 400px;
    margin: 0 auto;
  }

  .coastline-principles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .coastline-about-hero {
    min-height: 40vh;
  }

  .coastline-about-hero-content {
    padding: 80px 20px 60px;
  }

  .coastline-about-hero-title {
    font-size: 32px;
  }

  .coastline-about-hero-desc {
    font-size: 16px;
  }

  .coastline-about-text-col .coastline-section-label,
  .coastline-about-text-col .coastline-section-heading,
  .coastline-about-text-col .coastline-section-text,
  .coastline-owner-text-col .coastline-section-label,
  .coastline-owner-text-col .coastline-section-heading,
  .coastline-owner-text-col .coastline-section-text {
    text-align: center;
  }

  .coastline-owner-role {
    text-align: center;
  }

  .coastline-owner-text-col .coastline-btn {
    display: block;
    text-align: center;
  }

  .coastline-principles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .coastline-principle-card {
    padding: 30px 24px;
  }
}

/* ============================================ */
/* GENERATEPRESS FULL-WIDTH OVERRIDES          */
/* Apply to all Coastline custom templates     */
/* ============================================ */

/* About Page */
.page-template-templates-page-about-php .site-content,
.page-template-page-about .site-content {
  display: block !important;
}
.page-template-templates-page-about-php .inside-article,
.page-template-page-about .inside-article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-templates-page-about-php #primary,
.page-template-page-about #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
.page-template-templates-page-about-php .entry-content,
.page-template-page-about .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-templates-page-about-php #right-sidebar,
.page-template-templates-page-about-php #left-sidebar,
.page-template-page-about #right-sidebar,
.page-template-page-about #left-sidebar {
  display: none !important;
}

/* Home Page */
.page-template-templates-page-home-php .site-content,
.page-template-page-home .site-content {
  display: block !important;
}
.page-template-templates-page-home-php .inside-article,
.page-template-page-home .inside-article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-templates-page-home-php #primary,
.page-template-page-home #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
.page-template-templates-page-home-php .entry-content,
.page-template-page-home .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-templates-page-home-php #right-sidebar,
.page-template-templates-page-home-php #left-sidebar,
.page-template-page-home #right-sidebar,
.page-template-page-home #left-sidebar {
  display: none !important;
}

/* ============================================ */
/* SERVICES PAGE TEMPLATE                       */
/* ============================================ */

.coastline-services-pg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.coastline-services-pg-card {
  display: flex;
  flex-direction: row;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.coastline-services-pg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.coastline-services-pg-card-image {
  width: 220px;
  min-height: 220px;
  flex-shrink: 0;
  overflow: hidden;
}

.coastline-services-pg-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coastline-services-pg-card-placeholder {
  width: 100%;
  height: 100%;
  background: #375472;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coastline-services-pg-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.coastline-services-pg-card-content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #121b25;
  margin: 0 0 12px;
  line-height: 1.3;
}

.coastline-services-pg-card-content p {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #375472;
  margin: 0 0 20px;
}

.coastline-services-pg-card-content .coastline-btn {
  align-self: flex-start;
  padding: 12px 24px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 960px) {
  .coastline-services-pg-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .coastline-services-pg-card {
    flex-direction: column;
  }

  .coastline-services-pg-card-image {
    width: 100%;
    min-height: 180px;
    height: 180px;
  }

  .coastline-services-pg-card-content {
    padding: 24px 20px;
  }
}

/* GeneratePress overrides — Services page */
.page-template-templates-page-services-php .site-content,
.page-template-page-services .site-content {
  display: block !important;
}
.page-template-templates-page-services-php .inside-article,
.page-template-page-services .inside-article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-templates-page-services-php #primary,
.page-template-page-services #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
.page-template-templates-page-services-php .entry-content,
.page-template-page-services .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-templates-page-services-php #right-sidebar,
.page-template-templates-page-services-php #left-sidebar,
.page-template-page-services #right-sidebar,
.page-template-page-services #left-sidebar {
  display: none !important;
}

/* ============================================ */
/* SINGLE SERVICE PAGE TEMPLATE                 */
/* ============================================ */

/* ── Details Section (image + bullets) ──────── */
.coastline-svc-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.coastline-svc-details-photo {
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3 / 4;
}

.coastline-svc-details-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e8ecf0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coastline-svc-details-text-col .coastline-section-heading {
  text-align: left;
}

.coastline-svc-details-text-col .coastline-section-label {
  text-align: left;
}

.coastline-svc-details-text-col .coastline-section-text {
  text-align: left;
}

.coastline-svc-bullets {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
}

.coastline-svc-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #375472;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.coastline-svc-bullets li:last-child {
  border-bottom: none;
}

.coastline-svc-bullets li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── Project Showcase ─────────────────────────── */
.coastline-svc-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.coastline-svc-project-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px;
  line-height: 1.3;
}

.coastline-svc-project-text {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #b0bec5;
  margin: 0 0 24px;
}

.coastline-project-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.coastline-project-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

/* ── Process Section ──────────────────────────── */
.coastline-process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.coastline-process-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  max-width: 300px;
}

.coastline-process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #af6661;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.coastline-process-step h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #121b25;
  margin: 0 0 10px;
}

.coastline-process-step p {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #375472;
  margin: 0;
}

.coastline-process-arrow {
  display: flex;
  align-items: center;
  padding-top: 18px;
  flex-shrink: 0;
}

/* ── Other Services (3-column cards) ──────────── */
.coastline-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.coastline-service-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.coastline-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.coastline-service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.coastline-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.coastline-service-card:hover .coastline-service-image img {
  transform: scale(1.05);
}

.coastline-service-placeholder {
  width: 100%;
  height: 100%;
  background: #375472;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coastline-service-content {
  padding: 25px;
}

.coastline-service-content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #121b25;
  margin: 0 0 10px;
}

.coastline-service-content p {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #375472;
  margin: 0 0 16px;
}

.coastline-text-link {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #af6661;
  text-decoration: none;
  transition: color 0.3s ease;
}

.coastline-text-link:hover {
  color: #8e4f4b;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 960px) {
  .coastline-svc-details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .coastline-svc-details-text-col .coastline-section-heading,
  .coastline-svc-details-text-col .coastline-section-label,
  .coastline-svc-details-text-col .coastline-section-text {
    text-align: center;
  }

  .coastline-svc-bullets li {
    justify-content: flex-start;
  }

  .coastline-svc-project-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .coastline-svc-project-info {
    text-align: center;
  }

  .coastline-process-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .coastline-process-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .coastline-services-grid {
    grid-template-columns: 1fr;
  }

  .coastline-svc-details-photo {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .coastline-svc-project-heading {
    font-size: 26px;
  }

  .coastline-process-step {
    max-width: 100%;
    padding: 0;
  }
}

/* GeneratePress overrides — Single Service page */
.page-template-templates-page-single-service-php .site-content,
.page-template-page-single-service .site-content {
  display: block !important;
}
.page-template-templates-page-single-service-php .inside-article,
.page-template-page-single-service .inside-article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-templates-page-single-service-php #primary,
.page-template-page-single-service #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
.page-template-templates-page-single-service-php .entry-content,
.page-template-page-single-service .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-templates-page-single-service-php #right-sidebar,
.page-template-templates-page-single-service-php #left-sidebar,
.page-template-page-single-service #right-sidebar,
.page-template-page-single-service #left-sidebar {
  display: none !important;
}

/* ── Comparison Sections ──────────────────────── */
.coastline-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.coastline-compare-col {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.coastline-compare-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #121b25;
  margin: 0 0 20px;
  text-align: center;
}

.coastline-compare-image {
  width: 100%;
  border-radius: 8px;
  display: block;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  height: 300px;
  object-fit: cover;
}

.coastline-compare-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e8ecf0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.coastline-compare-col .coastline-svc-bullets {
  margin-top: 0;
}

@media (max-width: 768px) {
  .coastline-compare-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .coastline-compare-col {
    padding: 24px 20px;
  }

  .coastline-compare-heading {
    font-size: 20px;
  }
}

#svc-compare-1 .coastline-svc-bullets li svg {
  display: none;
}

#svc-compare-1 .coastline-svc-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #af6661;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}
