:root {
  --ref-aqua: #92d9de;
  --ref-aqua-dark: #0d858b;
  --ref-aqua-pale: #edf9f9;
  --ref-aqua-soft: #dff3f4;
  --ref-navy: #102c43;
  --ref-green: #347f19;
  --ref-green-dark: #245f10;
  --ref-red: #c83c32;
  --ref-text: #3f4d55;
  --ref-line: #d8e7e8;
  --ref-cream: #faf9f5;
  --ref-shadow: 0 16px 38px rgba(17, 54, 65, 0.1);
}

.mf-home main {
  color: var(--ref-text);
  font-family: "Poppins", sans-serif;
  background: #fff;
}

.mf-home main h1,
.mf-home main h2,
.mf-home main h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ref-navy);
  letter-spacing: -0.025em;
}

.mf-home main h2 {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1.08;
}

.mf-home main h2 em,
.mf-home main h1 em {
  color: var(--ref-aqua-dark);
}

.mf-home main p {
  color: var(--ref-text);
  font-size: 0.88rem;
  line-height: 1.8;
}

.mf-heading.split > p,
.mf-heading.split > div:last-child p {
  color: var(--ref-text);
}

.mf-home main .container {
  max-width: 1160px;
}

.mf-section {
  padding: 78px 0;
}

.mf-eyebrow {
  color: var(--ref-green) !important;
  letter-spacing: 0.15em;
  font-size: 0.68rem;
  margin-bottom: 14px;
}

.mf-eyebrow span {
  background: var(--ref-aqua-dark);
  width: 24px;
}

.mf-eyebrow.light {
  color: var(--ref-green) !important;
}

.mf-btn {
  min-height: 46px;
  border-radius: 4px;
  font-size: 0.7rem;
  padding: 0 20px;
}

.mf-btn.primary,
.mf-btn.dark {
  background: var(--ref-green);
  color: #fff;
}

.mf-btn.primary:hover,
.mf-btn.dark:hover {
  background: var(--ref-green-dark);
  color: #fff;
}

.mf-text-link {
  color: var(--ref-red);
  border: 0;
  padding: 0;
  font-size: 0.72rem;
}

.mf-text-link i {
  color: var(--ref-red);
}

/* Original banner dimensions and visual treatment */
.mf-legacy-hero .hero-setion {
  height: 620px !important;
  min-height: 620px !important;
  max-height: 620px !important;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(15, 42, 57, 0.11);
  position: relative;
}

.mf-legacy-hero .hero-setion::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(7, 21, 28, 0.32), transparent 58%);
  pointer-events: none;
}

.mf-legacy-hero .inner-hero {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 0 40px 68px 150px;
  display: flex;
  align-items: flex-end;
}

.mf-legacy-hero .hero-header {
  max-width: 520px;
}

.mf-legacy-hero .hero-header h1 {
  font-family: "Playfair Display", Georgia, serif;
  color: #fff;
  font-size: clamp(2.1rem, 3.25vw, 3.15rem);
  line-height: 1.08;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.mf-legacy-hero .hero-header p {
  font-family: "Poppins", sans-serif;
  font-size: 0.83rem;
  max-width: 490px;
}

.mf-legacy-hero .mf-legacy-eyebrow {
  color: #bdebef !important;
}

.mf-legacy-actions a {
  background: var(--ref-green) !important;
  border-color: var(--ref-green) !important;
  border-radius: 3px;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
}

.mf-legacy-actions .mf-legacy-secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
}

/* Trust strip */
.mf-trust {
  max-width: 1160px;
  margin: 12px auto 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #f5fbfb, #e8f7f7);
  border: 1px solid #e0eeee;
}

.mf-trust__grid > div {
  min-height: 105px;
  border-color: #d2e6e7;
}

.mf-trust i {
  font-size: 1.9rem;
  color: var(--ref-aqua-dark);
}

.mf-trust span {
  color: var(--ref-text);
  font-size: 0.68rem;
}

.mf-trust b {
  color: var(--ref-navy);
  font-size: 0.77rem;
  margin-bottom: 4px;
}

/* About */
.mf-about {
  background: #fff;
}

.mf-about__grid {
  gap: 74px;
}

.mf-image-stack {
  min-height: 475px;
}

.mf-image-stack > img {
  width: 72%;
  height: 390px;
  border-radius: 12px;
  box-shadow: var(--ref-shadow);
}

.mf-image-stack__small {
  width: 48%;
  border: 8px solid #fff;
  right: 5%;
}

.mf-image-stack__small img {
  height: 230px;
  border-radius: 8px;
}

.mf-image-stack__badge {
  left: auto;
  right: -8px;
  top: 4px;
  bottom: auto;
  width: 112px;
  height: 112px;
  background: var(--ref-aqua-pale);
  color: var(--ref-green);
  border-radius: 10px;
  transform: none;
  box-shadow: none;
}

.mf-image-stack__badge b {
  font-size: 1.9rem;
}

.mf-home main .mf-image-stack__badge span {
  color: var(--ref-green) !important;
  font-weight: 600;
}

.mf-copy .mf-intro {
  border-color: var(--ref-red);
  color: var(--ref-navy);
  font-size: 0.96rem;
}

/* Why choose: light feature card like the reference */
.mf-why {
  max-width: 1160px;
  margin: 0 auto;
  border-radius: 14px;
  background: linear-gradient(135deg, #f9f8f3, #f4f7f5);
  color: var(--ref-text);
  padding: 66px 38px;
}

.mf-why::before {
  display: none;
}

.mf-why .mf-heading {
  text-align: center;
  display: block;
  max-width: 760px;
  margin: 0 auto 36px;
}

.mf-why .mf-heading .mf-eyebrow {
  justify-content: center;
}

.mf-why .mf-heading h2 br {
  display: none;
}

.mf-why .mf-heading > p {
  margin-top: 12px;
  color: var(--ref-text);
}

.mf-benefits {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border: 0;
}

.mf-benefit,
.mf-benefit.feature,
.mf-benefit:hover {
  min-height: 220px;
  padding: 28px 24px;
  border: 1px solid #e4eceb;
  border-radius: 8px;
  background: #fff;
  color: var(--ref-text);
  box-shadow: 0 8px 22px rgba(20, 54, 62, 0.06);
}

.mf-benefit:hover {
  transform: translateY(-5px);
  box-shadow: var(--ref-shadow);
}

.mf-benefit > i,
.mf-benefit.feature > i,
.mf-benefit:hover > i {
  color: var(--ref-aqua-dark);
}

.mf-benefit h3 {
  font-family: "Poppins", sans-serif;
  color: var(--ref-navy);
  font-size: 1rem;
}

.mf-benefit p,
.mf-benefit.feature p,
.mf-benefit:hover p {
  color: var(--ref-text);
  font-size: 0.76rem;
}

/* Products */
.mf-products {
  background: #fff;
}

.mf-products .mf-heading {
  margin-bottom: 38px;
}

.mf-product-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 330px;
  gap: 24px;
}

.mf-product,
.mf-product.wide {
  grid-column: span 1;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(17, 48, 57, 0.08);
}

.mf-product::after {
  background: linear-gradient(0deg, rgba(9, 32, 45, 0.86), transparent 68%);
}

.mf-product h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
}

.mf-product > div > span,
.mf-product .type {
  color: #bcecf0;
}

.mf-product .type {
  color: var(--ref-navy);
  background: var(--ref-aqua);
}

/* Door list */
.mf-doors {
  background: var(--ref-cream);
}

.mf-door-row {
  background: #fff;
  border: 1px solid #e3e9e7;
  margin-bottom: 10px;
  border-radius: 8px;
}

.mf-door-row:hover {
  background: var(--ref-aqua-pale);
}

.mf-door-row h3 {
  font-family: "Poppins", sans-serif;
  color: var(--ref-navy);
}

.mf-door-row > i:nth-child(2) {
  color: var(--ref-aqua-dark);
}

/* DGU, applications, process and climate */
.mf-dgu__card {
  min-height: 520px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #dff4f5, #f3fbfb);
}

.mf-dgu__copy {
  padding: 58px 52px;
  color: var(--ref-text);
}

.mf-dgu__copy h2,
.mf-dgu__points b {
  color: var(--ref-navy);
}

.mf-dgu__copy > p:not(.mf-eyebrow, .mf-note),
.mf-dgu__points span,
.mf-note {
  color: var(--ref-text) !important;
}

.mf-dgu__points > div {
  border-color: #c8e1e2;
}

.mf-dgu__points i {
  color: var(--ref-aqua-dark);
}

.light-link {
  color: var(--ref-red);
}

.mf-applications {
  background: #fff;
}

.mf-app-grid {
  gap: 12px;
}

.mf-app {
  border: 1px solid #e1eceb;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(18, 59, 66, 0.05);
}

.mf-app:hover {
  border-color: var(--ref-aqua);
}

.mf-app > i {
  color: var(--ref-aqua-dark);
}

.mf-process {
  max-width: 1160px;
  margin: 0 auto;
  padding: 62px 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8f7f3, #fff);
}

.mf-step {
  margin: 0 6px;
  padding: 25px 15px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 54, 62, 0.08);
}

.mf-process__line::before {
  display: none;
}

.mf-step > i {
  width: 58px;
  height: 58px;
  background: transparent;
  color: var(--ref-aqua-dark);
  box-shadow: none;
  font-size: 1.75rem;
}

.mf-step h3 {
  font-family: "Poppins", sans-serif;
  color: var(--ref-navy);
}

.mf-coimbatore {
  margin-top: 78px;
  background: linear-gradient(135deg, #eaf8f8, #f7fcfc);
  color: var(--ref-text);
}

.mf-local-copy h2,
.mf-local-list b {
  color: var(--ref-navy);
}

.mf-local-copy > p:not(.mf-eyebrow),
.mf-local-copy blockquote,
.mf-local-list span {
  color: var(--ref-text);
}

.mf-local-copy blockquote {
  border-color: var(--ref-aqua-dark);
}

.mf-local-list {
  border-color: #cfe5e5;
}

.mf-local-list > div {
  background: rgba(255,255,255,.68);
  border-color: #cfe5e5;
}

.mf-local-list i {
  color: var(--ref-aqua-dark);
}

/* Quality and projects */
.mf-quality {
  background: #fff;
}

.mf-quality__visual > div {
  background: var(--ref-aqua);
  color: var(--ref-navy);
  border-radius: 8px;
}

.mf-quality__list span {
  color: var(--ref-aqua-dark);
}

.mf-projects {
  background: var(--ref-cream);
}

.mf-gallery figure,
.mf-gallery img {
  border-radius: 10px;
}

.mf-gallery figcaption span {
  color: #bdebef;
}

/* Testimonial panel */
.mf-testimonials {
  max-width: 1160px;
  margin: 0 auto 78px;
  padding: 60px 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e5f7f7, #f4fbfb);
  color: var(--ref-text);
}

.mf-testimonials__top h2 {
  color: var(--ref-navy);
}

.mf-quote {
  background: #fff;
  border: 1px solid #dcebea;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 58, 67, 0.07);
}

.mf-quote blockquote {
  color: var(--ref-text);
  font-size: 0.92rem;
}

.mf-quote > div {
  color: #e8a322;
}

.mf-quote footer {
  border-color: #e4eceb;
}

.mf-quote footer b {
  color: var(--ref-navy);
}

.mf-slider-controls button {
  background: var(--ref-aqua);
  color: var(--ref-navy);
  border: 0;
  border-radius: 50%;
}

/* FAQ and final CTA */
.mf-faq {
  background: #fff;
}

.mf-faq-item button b {
  color: var(--ref-navy);
  font-family: "Poppins", sans-serif;
  font-size: 0.84rem;
}

.mf-faq-item button i {
  color: var(--ref-aqua-dark);
}

.mf-final-cta {
  min-height: 480px;
  margin: 0 16px 16px;
  border-radius: 14px;
  overflow: hidden;
}

.mf-final-cta__overlay {
  background: linear-gradient(90deg, rgba(8, 31, 40, 0.86), rgba(8, 31, 40, 0.42), transparent);
}

.mf-final-cta__content h2,
.mf-final-cta__content p {
  color: #fff;
}

.mf-final-cta__content h2 em {
  color: #bdebef;
}

.mf-final-cta .mf-eyebrow {
  color: #bdebef !important;
}

/* Smooth, subtle reveal matching the clean reference */
.mf-js .mf-reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: none;
  transition-duration: 0.75s;
}

.mf-js .mf-reveal.reveal-left {
  transform: translateX(-30px);
}

.mf-js .mf-reveal.reveal-right {
  transform: translateX(30px);
}

.mf-js .mf-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 991px) {
  .mf-legacy-hero .inner-hero {
    padding: 0 42px 52px;
  }

  .mf-why,
  .mf-process,
  .mf-testimonials {
    margin-left: 12px;
    margin-right: 12px;
  }

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

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

@media (max-width: 767px) {
  .mf-section {
    padding: 60px 0;
  }

  .mf-legacy-hero .hero-setion {
    height: 520px !important;
    min-height: 520px !important;
    max-height: 520px !important;
  }

  .mf-legacy-hero .inner-hero {
    padding: 0 22px 30px;
  }

  .mf-legacy-hero .hero-header h1 {
    font-size: 1.75rem;
  }

  .mf-trust {
    margin: 10px 12px 0;
  }

  .mf-trust__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mf-trust__grid > div {
    min-height: 92px;
  }

  .mf-image-stack__badge {
    right: 0;
  }

  .mf-why,
  .mf-process,
  .mf-testimonials {
    padding: 48px 18px;
  }

  .mf-benefits {
    grid-template-columns: 1fr;
  }

  .mf-product-grid {
    display: flex;
  }

  .mf-product,
  .mf-product.wide {
    min-width: 86%;
  }

  .mf-dgu__copy {
    padding: 42px 24px;
  }

  .mf-final-cta {
    margin: 0 8px 8px;
  }
}

/* High-contrast text for every photographic overlay. */
.mf-home main .mf-legacy-hero .hero-header h1,
.mf-home main .mf-legacy-hero .hero-header p:not(.mf-legacy-eyebrow) {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.mf-home main .mf-legacy-hero .mf-legacy-eyebrow {
  color: #c9f3f5 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.mf-product::after {
  background: linear-gradient(0deg, rgba(5, 19, 29, 0.96) 0%, rgba(5, 19, 29, 0.62) 36%, rgba(5, 19, 29, 0.04) 76%);
}

.mf-home main .mf-product h3,
.mf-home main .mf-product p,
.mf-home main .mf-product > div > span,
.mf-home main .mf-product > i {
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.mf-home main .mf-product > div > span {
  color: #bcecf0 !important;
}

.mf-home main .mf-product .type {
  color: var(--ref-navy) !important;
  text-shadow: none;
}

.mf-gallery figure::after {
  background: linear-gradient(0deg, rgba(5, 20, 31, 0.9), transparent 62%);
}

.mf-home main .mf-gallery figcaption {
  color: #fff !important;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.5);
}

.mf-home main .mf-gallery figcaption span {
  color: #bcecf0 !important;
}

.mf-final-cta__overlay {
  background: linear-gradient(90deg, rgba(4, 22, 31, 0.94) 0%, rgba(4, 22, 31, 0.72) 48%, rgba(4, 22, 31, 0.18) 100%);
}

.mf-home main .mf-final-cta h2,
.mf-home main .mf-final-cta p,
.mf-home main .mf-final-cta .mf-call,
.mf-home main .mf-final-cta .mf-call b {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.mf-home main .mf-final-cta .mf-eyebrow,
.mf-home main .mf-final-cta h2 em {
  color: #bcecf0 !important;
}

.mf-home main .mf-final-cta .mf-call span {
  color: #dcebed !important;
}

@media (max-width: 430px) {
  .mf-trust__grid {
    grid-template-columns: 1fr;
  }

  .mf-benefit {
    min-height: 190px;
  }
}

/* Full-bleed end-to-end layout: section colour reaches both viewport edges. */
.mf-home main > section,
.mf-home main > .mf-section {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
}

.mf-home main .container,
.mf-home main .container-fluid {
  width: 100%;
  max-width: none;
  padding-left: clamp(20px, 4vw, 76px);
  padding-right: clamp(20px, 4vw, 76px);
}

.mf-legacy-hero .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.mf-legacy-hero .hero-setion {
  margin-top: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

.mf-legacy-hero .hero-setion::after {
  border-radius: 0;
}

.mf-trust {
  margin-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.mf-trust .container {
  padding-left: clamp(20px, 4vw, 76px);
  padding-right: clamp(20px, 4vw, 76px);
}

.mf-why,
.mf-process,
.mf-testimonials {
  max-width: none;
  margin: 0;
  border-radius: 0;
  padding-left: clamp(20px, 4vw, 76px);
  padding-right: clamp(20px, 4vw, 76px);
}

.mf-final-cta {
  margin: 0;
  border-radius: 0;
}

.mf-dgu__card,
.mf-gallery figure,
.mf-gallery img {
  border-radius: 0;
}

@media (max-width: 991px) {
  .mf-why,
  .mf-process,
  .mf-testimonials {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .mf-home main .container,
  .mf-home main .container-fluid,
  .mf-why,
  .mf-process,
  .mf-testimonials {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mf-legacy-hero .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }

  .mf-final-cta {
    margin: 0;
  }
}

/* More comfortable heading sizes across the redesigned homepage. */
.mf-home main h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.mf-home main .mf-final-cta__content h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
}

@media (max-width: 767px) {
  .mf-home main h2 {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }

  .mf-home main .mf-final-cta__content h2 {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }
}
