:root {
  /* Core brand */
  --bg-primary: #F3F3EA;
  --text-primary: #5A7183;
  --action-primary: #D9B67C;

  /* Supporting accents */
  --accent-highlight: #B1C1B6;
  --accent-tag: #DDCAC2;

  /* Neutrals */
  --bg-neutral: #FFFFFF;
  --border-neutral: #DCD4C7;
  --text-secondary: #6B6B66;

  /* Typography - update if you have specific font preferences */
  --font-family-base: 'Inter', 'Roboto', sans-serif;

  --max-width: 1080px;
  --max-width-2: 1300px;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family-base);
}

body {
  font-family: var(--font-family-base);
  background-color: var(--bg-primary) !important;
  color: var(--text-primary);
  line-height: 1.6;
}

#primeagile__10952 {
  overflow-x: hidden;
}

#primeagile__11011>div {
  padding: 0px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

nav a:hover {
  color: var(--action-primary) !important;
}

a {
  color: var(--action-primary);
  text-decoration: none !important;
  transition: color 0.3s ease;
}

#primeagile__11001 {
  box-shadow: none;
  padding-right: 0px;
}

.search-btn {
  color: var(--text-primary) !important;
  font-weight: 900;
  background-color: var(--action-primary);
  padding: .4rem 2.4rem;
  font-size: 2.4rem;

}

nav {
  display: grid !important;
  grid-template-columns: 5fr 7fr !important;
  justify-content: flex-start !important;
  background: none !important;
  min-height: 7rem;
}

nav>div>div {
  justify-content: space-between !important;
  font-family: var(--font-family-base);

}

.cnc-logo {
  position: absolute;
  height: 10rem;
  width: 10rem;
  z-index: 4;
}

a:hover {
  filter: brightness(0.9);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
  padding: 10rem 3rem;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
}
.pricing-header-v2 {
  margin-top: 6rem;
  display: grid;
  text-align: center;
  place-content: center;
  place-items: center;
}
.v2-main-description, .pricing-header-v2 img {
  margin: 0 auto;
}
.v2-main-title {
  color: #333333 !important;
}

.hero-container {
  max-width: 900px;
  width: 100%;
}

.hero-title {
  color: var(--text-primary);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

#primeagile__11015 {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .cnc-logo {
  height: 6rem;
  width: 6rem;
}
  nav button {
    margin-left: auto;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .services-intro,
  #primeagile__11035,
  .benefits-section {
    margin: 1rem !important;
  }
}

.hero-description {
  color: #333333;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 700px;
}

.brand-emphasis {
  font-style: italic;
  font-weight: 600;
  color: var(--text-primary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-primary);
  color: var(--action-primary);
  padding: 18px 36px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #4a5d6c;
  /* Slightly darker shade of text-primary */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(90, 113, 131, 0.25);
  filter: none;
}

/* =========================================
   About Section
   ========================================= */
.about-section {
  padding: 100px 20px;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
  text-align: center;
}

.about-container {
  max-width: 800px;
  width: 100%;
}

.about-eyebrow {
  display: inline-block;
  position: relative;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 40px;
  z-index: 1;
}

/* The actual text needs to sit above the pseudo-element */
.eyebrow-text {
  position: relative;
  z-index: 2;
  padding: 0 8px;
  /* Give it a little breathing room over the line */
}

/* The animated line background */
.about-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  /* Starts at 0 width */
  height: 40%;
  /* Covers the middle of the text */
  background-color: var(--accent-highlight);
  /* #B1C1B6 */
  z-index: -1;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Class added via JS on scroll */
.about-eyebrow.animate-line::after {
  width: 100%;
}

.about-description {
  font-size: 1.35rem;
  /* Larger, readable paragraph */
  line-height: 1.7;
  color: #333333;
  margin-bottom: 60px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .about-description {
    font-size: 1.15rem;
  }


}

/* Signature Block */
.about-signature {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

/* Placeholder for the graphic signature background */
.signature-graphic-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: 250px;
  opacity: 0.8;
  pointer-events: none;
}

.signature-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
}

.signature-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

#primeagile__11019,
#primeagile__11027,
#primeagile__11035 {
  max-width: var(--max-width-2);
  margin: 0 auto;
}

#primeagile__11018 {
  margin: 3rem 0;
}

/* =========================================
   Image Collage Grid (Half Row)
   ========================================= */
#primeagile__11022 div {
  height: 100% !important;
}

.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  /* Adjust this to match the padding of your bootstrap columns if needed */
  width: 100%;
  height: 100%;
}

.collage-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  /* Optional subtle rounding */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  /* Optional subtle shadow */
}

.collage-item-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  aspect-ratio: 4 / 3;
}

.collage-item-2 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  aspect-ratio: 4 / 3;
}

.collage-item-3 {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

/* =========================================
   Split Hero / Masonry Grid
   ========================================= */
.split-hero {
  padding: 60px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.split-hero-eyebrow {
  text-align: center;
  margin-bottom: 40px;
}

.split-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.split-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 150px;
  gap: 12px;
  padding-right: 20px;
}

.masonry-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* Specific spans for the 7-image layout */
.masonry-item:nth-child(1) { grid-row: span 1; }
.masonry-item:nth-child(2) { grid-row: span 1; }
.masonry-item:nth-child(3) { grid-row: span 2; } /* Tall one on right */
.masonry-item:nth-child(4) { grid-row: span 1; }
.masonry-item:nth-child(5) { grid-row: span 2; grid-column: span 2; } /* Large horizontal */
.masonry-item:nth-child(6) { grid-row: span 1; }
.masonry-item:nth-child(7) { grid-row: span 1; }

.split-hero-content {
  background-color: var(--text-primary);
  color: #FFFFFF;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-hero-title {
  font-size: 2.4rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #FFFFFF;
}

.split-hero-text {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 15px;
}

.split-hero-text strong {
  color: var(--action-primary);
  font-style: italic;
  font-size: 1.15rem;
  display: block;
  margin: 15px 0;
}

@media (max-width: 992px) {
  .split-hero-container {
    grid-template-columns: 1fr;
  }
  
  .split-masonry-grid {
    padding-right: 0;
    margin-bottom: 30px;
    grid-auto-rows: 120px;
  }
  
  .split-hero-content {
    padding: 40px 30px;
  }
}

/* =========================================
   Features / Expectations List
   ========================================= */
.features-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  /* Offset from the collage slightly */
}

@media (max-width: 768px) {
  .features-wrapper {
    padding-left: 0;
    margin-top: 50px;
  }
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.feature-card {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-neutral);
  /* #DCD4C7 */
  padding: 16px 20px;
  background-color: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  background-color: var(--bg-neutral);
  /* #FFF */
}

.feature-icon-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  margin-right: 20px;
  flex-shrink: 0;
}

/* The small offset background square behind the icon */
.icon-bg-square {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  background-color: var(--accent-highlight);
  /* #B1C1B6 */
  z-index: 0;
}

.feature-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 35px;
  height: 35px;
  z-index: 1;
  object-fit: contain;
}

.feature-text {
  font-size: 1.25rem;
  color: #333333;
  line-height: 1.3;
  font-weight: 400;
}

/* =========================================
   Beliefs Section (Horizontal Cards)
   ========================================= */
.beliefs-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.beliefs-header {
  text-align: center;
  margin-bottom: 60px;
}

.beliefs-title {
  font-size: 2.2rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-top: 15px;
}

.beliefs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.belief-card {
  display: flex;
  align-items: flex-start;
  padding: 40px;
  border: 1px solid var(--border-neutral);
  background-color: #FFFFFF;
  transition: transform 0.3s ease;
}

.belief-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.belief-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  margin-right: 30px;
  flex-shrink: 0;
}

.belief-icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 35px;
  height: 35px;
  background-color: var(--accent-highlight); /* Sage Green */
  z-index: 1;
}

.belief-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 35px;
  height: 35px;
  z-index: 2;
  object-fit: contain;
}

.belief-content {
  flex-grow: 1;
}

.belief-card-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.2;
}

.belief-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

@media (max-width: 992px) {
  .beliefs-grid {
    grid-template-columns: 1fr;
  }
}

/* Highlight footer block */
.features-footer {
  background-color: var(--text-primary);
  /* #5A7183 */
  color: var(--action-primary);
  /* #D9B67C */
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =========================================
   Entry Animations
   ========================================= */
/* Hero Reveal Animation */
@keyframes heroRevealFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-reveal {
  opacity: 0;
  animation: heroRevealFade 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Unfold Fabric Animation - tailored for quilts */
.unfold-fabric {
  opacity: 0;
  transform-origin: top center;
  transform: perspective(800px) rotateX(-45deg) scaleY(0.9);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.unfold-fabric.in-view {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg) scaleY(1);
}

/* Stagger delays for lists */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

/* =========================================
   Call To Action Banner (CTA)
   ========================================= */
.cta-banner {
  position: relative;
  width: 100%;
  padding: 120px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

/* Gradient overlay fading from dark left to transparent right */
.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Using RGB equivalent of --text-primary (#5A7183) */
  background: linear-gradient(to right, rgba(90, 113, 131, 0.95) 0%, rgba(90, 113, 131, 0.75) 45%, rgba(90, 113, 131, 0) 100%), url("https://images.primeagile.com/cottonsnco_com/image/10967/gemini_generated_image_ef4tg5ef4tg5ef4t.webp");
  z-index: 1;
}

@media (max-width: 768px) {
  .cta-overlay {
    background: linear-gradient(to right, rgba(90, 113, 131, 0.95) 0%, rgba(90, 113, 131, 0.85) 100%);
  }
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  /* Aligns content nicely within the viewport */
  width: 100%;
  margin: 0 auto;
}

.cta-content {
  max-width: 600px;
  color: #ffffff;
}

.cta-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.9;
  color: #FFFFFF;
}

.cta-title {
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2.2rem;
  }
}

.cta-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--action-primary);
  /* #D9B67C */
  color: var(--text-primary);
  /* #5A7183 */
  padding: 16px 36px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #e6c896;
  /* Lighter shade on hover */
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(217, 182, 124, 0.35);
  filter: none;
}

/* =========================================
   Services Checkerboard Grid
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 18rem;
  justify-content: center;
  padding: 10px 10px;
  border: 1px solid var(--border-neutral);
  /* #DCD4C7 */
  background-color: var(--bg-primary);
  /* #FFF7ED */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .service-card {
    padding: 40px 30px;
  }
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.service-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 30px;
}

.service-icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 35px;
  height: 35px;
  background-color: var(--accent-highlight);
  z-index: 0;
}

.service-icon {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 45px;
  height: 45px;
  z-index: 1;
  object-fit: contain;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-description {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #444444;
}

/* Image Wrappers */
.service-image-wrapper {
  width: 100%;
  height: 100%;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================
   Services Intro (Half Row)
   ========================================= */
.services-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 5%;
  height: 100%;
}

@media (max-width: 768px) {
  .services-intro {
    padding: 40px 0;
  }
}

.services-intro .about-eyebrow {
  margin-bottom: 25px;
}

.services-intro-title {
  font-size: 2.4rem;
  font-weight: 300;
  /* Very clean, elegant thin weight */
  line-height: 1.15;
  color: #111111;
  margin-bottom: 45px;
  letter-spacing: -0.02em;
}

@media (max-width: 992px) {
  .services-intro-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .services-intro-title {
    font-size: 2.5rem;
  }
}

/* =========================================
   Order Process Section
   ========================================= */
#primeagile__11033 {
  padding: 2rem
}

.order-process-section {
  width: 100%;
}

.op-top {
  background-color: var(--text-primary);
  padding: 100px 20px;
  text-align: center;
}

.op-container {
  max-width: 1200px;
  margin: 0 auto;
}

.op-title {
  color: var(--action-primary);
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.op-subtitle {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 70px;
  font-weight: 300;
  opacity: 0.9;
}

.op-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .op-steps {
    justify-content: center;
    gap: 50px;
  }

  #primeagile__11033 {
    padding: 0rem;
  }
}

.op-step {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.op-icon-wrapper {
  position: relative;
  width: 75px;
  height: 75px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The tiny dot */
.op-dot {
  position: absolute;
  top: -5px;
  left: -8px;
  width: 9px;
  height: 9px;
  background-color: #dcdcdc;
  /* light grey dot */
  border-radius: 50%;
  z-index: 2;
}

.op-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

/* Fallback fill/stroke if inline SVGs are used */
.op-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--action-primary);
  stroke-width: 1.5;
}

.op-step-text {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 180px;
  line-height: 1.4;
}

.op-bottom {
  background-color: var(--border-neutral);
  padding: 80px 20px;
  text-align: center;
}

.op-bottom-text {
  font-size: 1.5rem;
  font-weight: 400;
  color: #333333;
  margin-bottom: 45px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   Trust Section (Left Column)
   ========================================= */
.trust-left-column {
  display: flex;
  flex-direction: column;
  padding: 60px 0;
}

.trust-heading-block {
  margin-bottom: 50px;
}

.trust-title {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.15;
  color: #111111;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .trust-title {
    font-size: 2.8rem;
  }
}

.trust-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #333333;
  max-width: 90%;
}

.trust-image-block {
  position: relative;
  width: 100%;
}

.trust-image {
  width: 100%;
  height: auto;
  min-height: 450px;
  object-fit: cover;
  display: block;
}

/* 
   This perfectly achieves the cut-out look by 
   matching the page background and overlaying 
   the bottom left corner of the image.
*/
.trust-overlap-card {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--bg-primary);
  padding: 30px 40px 0 0;
  max-width: 75%;
}

@media (max-width: 768px) {
  .trust-overlap-card {
    position: relative;
    max-width: 100%;
    padding: 30px 20px 0 0;
  }
}

.trust-overlap-title {
  font-size: 1.6rem;
  font-weight: 500;
  color: #111111;
  margin-bottom: 5px;
}

.trust-overlap-text {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #444444;
}

/* =========================================
   Trust Section (Right Column)
   ========================================= */
.trust-right-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Pushes image to bottom of row */
  height: 100%;
  padding-top: 120px;
  /* Offset to sit lower than the left column */
}

@media (max-width: 992px) {
  .trust-right-column {
    padding-top: 40px;
    padding-bottom: 60px;
  }
}

/* =========================================
   Benefits Grid (3 Columns)
   ========================================= */
.benefits-section {
  padding: 80px 20px;
  width: 100%;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.benefit-block {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.benefit-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* The middle image drops slightly lower */
.benefit-block.middle-block .benefit-image {
  height: 520px;
}

/* The overlap card, identical logic to trust-overlap */
.benefit-overlap {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--bg-primary);
  padding: 25px 25px 0 0;
  width: 85%;
}

@media (max-width: 768px) {
  .benefit-overlap {
    position: relative;
    width: 100%;
    padding: 25px 0 0 0;
  }

  .benefit-block.middle-block .benefit-image {
    height: 450px;
    /* Normalize height on mobile */
  }
}

.benefit-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.2;
}

.benefit-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #444444;
}

/* =========================================
   Finished With Heart Banner
   ========================================= */
.heart-banner {
  position: relative;
  width: 100%;
  padding: 120px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#primeagile__11042 {
  padding: 3rem
}

.heart-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Assuming --text-primary is #5A7183, this sets a slate-blue overlay at 85% opacity */
  background: linear-gradient(rgba(90, 113, 131, 0.85), rgba(90, 113, 131, 0.85)),
    url("https://images.primeagile.com/cottonsnco_com/image/10963/76_SRC-LG_W800XH533.webp");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.heart-container {
  position: relative;
  z-index: 2;
  max-width: 950px;
  width: 100%;
  color: #ffffff;
}

.heart-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .heart-title {
    font-size: 2.5rem;
  }

  #primeagile__11042 {
    padding: 0rem
  }

  .heart-overlay {
    padding: 2rem !important;
  }

  .heart-container {
    max-width: 290px;
  }
}

.heart-text {
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.95;
  color: #ffffff;
}

@media (max-width: 992px) {
  .beliefs-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Split Info Section (Image + Mini Cards)
   ========================================= */
.split-info-section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.split-info-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-image-wrapper {
  width: 100%;
}

.info-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.info-content-wrapper {
  display: flex;
  flex-direction: column;
}

.info-title {
  font-size: 2.2rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 20px 0 40px;
}

.mini-card-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mini-card {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  background-color: transparent;
  border: 1px solid var(--border-neutral);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.mini-card:hover {
  background-color: #FFFFFF;
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.mini-icon-wrapper {
  position: relative;
  width: 50px;
  height: 40px;
  margin-right: 20px;
  flex-shrink: 0;
}

.mini-icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background-color: var(--accent-highlight);
  z-index: 1;
}

.mini-icon {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 28px;
  height: 28px;
  z-index: 2;
  object-fit: contain;
}

.mini-card-text {
  font-size: 1.1rem;
  color: #333333;
  font-weight: 400;
}

@media (max-width: 768px) {
  .split-info-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .info-title {
    font-size: 1.8rem;
  }
}

/* =========================================
   Process Banner & Action Footer
   ========================================= */
.process-section {
  width: 100%;
}

.process-banner {
  position: relative;
  padding: 120px 20px;
  background: url("https://images.primeagile.com/cottonsnco_com/image/10967/gemini_generated_image_ef4tg5ef4tg5ef4t.webp") center/cover no-repeat;
  text-align: center;
  color: #FFFFFF;
}

.process-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(90, 113, 131, 0.85); /* Slate Blue with Opacity */
  z-index: 1;
}

.process-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.process-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.process-description {
  font-size: 1.25rem;
  line-height: 1.7;
  opacity: 0.95;
  font-weight: 300;
}

.mission-text {
  font-size: 1.8rem;
  line-height: 1.6;
  font-weight: 400;
  color: #FFFFFF;
  max-width: 1000px;
  margin: 0 auto;
}

.process-footer {
  background-color: var(--bg-primary);
  padding: 80px 20px;
  text-align: center;
}

.process-footer-text {
  font-size: 1.15rem;
  color: #333333;
  max-width: 1000px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.btn-contact {
  background-color: var(--text-primary);
  color: #FFFFFF;
  padding: 18px 40px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-contact:hover {
  background-color: #4a5d6c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .process-title {
    font-size: 2.2rem;
  }
  .process-description {
    font-size: 1.1rem;
  }
}

/* =========================================
   Creative Collage & Different Grid
   ========================================= */
.creative-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.collage-rect {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 2px;
}

.collage-circle {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.different-title {
  font-size: 2.8rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 40px;
  line-height: 1.1;
}

.different-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.diff-card {
  padding: 30px;
  border: 1px solid var(--border-neutral);
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
}

.diff-card.featured {
  background-color: #E2D4BC; /* Tan background */
  border: none;
}

.diff-card-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.2;
}

.diff-card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444444;
}

@media (max-width: 992px) {
  .different-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .different-grid {
    grid-template-columns: 1fr;
  }
  .creative-collage {
    margin-bottom: 40px;
  }
}

/* =========================================
   Call To Action Banner (CTA)
   ========================================= */
.bottom-cta {
  background-color: #E2D4BC;
  /* Beautiful sand/beige tone directly from design */
  padding: 60px 20px;
  width: 100%;
}

.bottom-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

@media (max-width: 768px) {
  .bottom-cta-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

.bottom-cta-title {
  font-size: 2.8rem;
  font-weight: 300;
  color: #111111;
  margin: 0;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .bottom-cta-title {
    font-size: 2.2rem;
  }
}

#primeagile__11045 {
  background: var(--text-primary);
  padding-bottom: 5rem;
}

#primeagile__11045>div {
  max-width: var(--max-width-2);
  width: 100%;
  margin: 0 auto;
}

/* =========================================
   Instagram Section
   ========================================= */
.instagram-section {
  padding: 100px 20px;
  text-align: center;
  margin-bottom: 1rem;
  border-bottom: 0.3rem solid #E2D4BC;
}

.insta-container {
  max-width: 1400px;
  margin: 0 auto;
}

.insta-title {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.insta-subtitle {
  color: #ffffff;
  font-size: 1.15rem;
  opacity: 0.8;
  margin-bottom: 60px;
  font-weight: 300;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.insta-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.insta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.insta-item:hover .insta-img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .insta-grid {
    grid-template-columns: 1fr;
  }

  .insta-title {
    font-size: 2.2rem;
  }
}

/* =========================================
   Footer Section
   ========================================= */

#primeagile__11052 {
  width: 12rem;
  margin: 2rem 0;
}

#primeagile__11051 label {
  display: block;
  color: #FFFFFF;
  font-size: 2rem;
}

#primeagile__11051 input,
#primeagile__11051 button {
  border: none;
  height: 3rem;
  min-width: 20rem;
  padding: 1rem;
}

#primeagile__11051 input {
  background-color: #E2D4BC;
}

#primeagile__11051 input:focus {
  outline: none;
  border-left: 5px solid var(--action-primary);
}

#primeagile__11051 button {
  background-color: var(--action-primary);
}

.footer-section {
  background-color: var(--text-primary);
  padding: 80px 20px;
  color: #ffffff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-title {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 35px;
  color: #ffffff;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-item {
  margin-bottom: 20px;
}

.footer-link {
  color: #ffffff;
  opacity: 0.7;
  font-size: 1.05rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-link:hover {
  opacity: 1;
  transform: translateX(5px);
  color: var(--action-primary);
}

.footer-visit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  opacity: 0.8;
}

.footer-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--action-primary);
}

.footer-visit-text {
  font-size: 1.05rem;
  line-height: 1.4;
}

@media (max-width: 992px) {
  #primeagile__11051 {
    display: grid;
    place-content: center;
    text-align: center;
    place-items: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .footer-visit-item {
    justify-content: center;
  }

  .footer-link:hover {
    transform: none;
  }
}

/* =========================================
   Animation Utilities
   ========================================= */
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   About Page Specific Extensions
   ========================================= */
.story-section {
  padding: 80px 20px;
  background-color: var(--bg-primary);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--max-width-2);
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.story-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(90, 113, 131, 0.15);
}

.feature-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 600px) {
  .feature-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Service Detail Sections
   ========================================= */
.how-it-works-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}
.how-it-works-section > .container{
  display: grid;
  text-align: center;
  place-items: center;
  margin: auto !important;
}

.formula-intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 24px auto;
  color: var(--text-secondary);
  font-weight: 300;
  text-align: center;
}

.formula-calc {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-style: italic;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 80px;
}

.services-row-container {
  max-width: var(--max-width-2);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail-image img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 2px;
}

.service-title-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.service-label {
  background-color: var(--accent-highlight);
  color: #2c3a32;
  padding: 8px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.service-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333;
  font-weight: 300;
}

.detail-note {
  margin-top: 40px;
  font-size: 0.85rem;
  padding: 15px 25px;
}

/* Diamond Icon Logic (Inspired by your .icon-bg-square) */
.diamond-icon-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
}

.diamond-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background-color: var(--accent-highlight);
  opacity: 0.4;
}

.diamond-border {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--text-primary);
  transform: rotate(45deg);
}

@media (max-width: 992px) {
  .service-detail-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-detail-row:nth-child(even) .service-detail-image {
    order: 2;
  }
}

/* =========================================
   Finishing Services Pricing
   ========================================= */
.finishing-services-section {
  padding: 80px 0;
  background-color: var(--bg-neutral);
}

.finishing-title {
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: left;
}

.finishing-subtitle {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 60px;
  text-align: left;
}

.pricing-cards-container {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-left: 1px solid var(--border-neutral);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.pricing-card-header {
  background-color: var(--accent-highlight);
  color: #2c3a32;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 500;
}

.pricing-card-body {
  padding: 40px 25px;
  flex-grow: 1;
}

.price-value {
  font-size: 3.5rem;
  font-weight: 400;
  color: #111;
  line-height: 1;
  margin-bottom: 5px;
}

.price-unit {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
}

.pricing-features-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

.pricing-features-list li::before {
  content: "~";
  position: absolute;
  left: 0;
  color: var(--text-primary);
  font-weight: bold;
}

.pricing-card-footer {
  background-color: var(--text-primary);
  color: var(--action-primary);
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .finishing-title, .finishing-subtitle {
    text-align: center;
  }
}

/* =========================================
   Additional Options Section
   ========================================= */
#primeagile__11210 {
  padding: 5rem
}
.additional-options-section {
  width: 100%;
  margin-top: 80px;
}

.options-content-box {
  background-color: var(--text-primary);
  color: #FFFFFF;
  padding: 100px 20px;
  text-align: center;
}

.options-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.options-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.options-list {
  list-style: none;
  padding: 0;
  display: inline-block;
  text-align: left;
}

.options-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  opacity: 0.95;
}

.options-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #FFF;
}

.options-emphasis-banner {
  background-color: var(--border-neutral);
  padding: 20px 20px;
  text-align: center;
  border-top: 1px solid var(--border-neutral);
}

.options-emphasis-banner p {
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  color: #111;
}

@media (max-width: 768px) {
  #primeagile__11210 {
  padding: 0.2rem
}
  .options-title {
    font-size: 2.2rem;
  }
}

/* =========================================
   Estimation Help Section
   ========================================= */
.estimation-help-section {
  width: 100%;
  padding: 80px 80px 0 80px;
}

.estimation-help-section .options-subtitle {
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   What's Included Section
   ========================================= */
.included-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

.included-title {
  font-size: 2.8rem;
  font-weight: 400;
  color: #111;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.included-description {
  font-size: 1.25rem;
  color: #444;
  line-height: 1.6;
  font-weight: 300;
}

.included-badge {
  display: inline-block;
  margin-bottom: 40px;
}

.included-items-list {
  list-style: none;
  padding: 0;
}

.included-items-list li {
  padding: 25px 0 25px 30px;
  border-top: 1px solid var(--border-neutral);
  position: relative;
  font-size: 1.2rem;
  color: #111;
  font-weight: 400;
}

.included-items-list li:last-child {
  border-bottom: 1px solid var(--border-neutral);
}

.included-items-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-primary);
  font-size: 1.5rem;
  top: 22px;
}

@media (max-width: 992px) {
  .included-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .included-title {
    font-size: 2.2rem;
  }
  .estimation-help-section {
  padding: 0px;
}

}