/* ==========================================================================
   The Frame - Doors & Windows Website Master Stylesheet
   ========================================================================== */

:root {
  --bg-main: #F5F3EF;
  --bg-card: #F5F3EF;
  --text-dark: #1F1A3A;
  --text-body: #5A566E;
  --text-muted: #8E8A9F;
  --terracotta: #E0896C;
  --terracotta-hover: #CD7658;
  --purple-accent: #8A6BF6;
  --purple-hover: #7554E5;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Great Vibes', cursive;
  --font-heading: 'Cinzel', 'Plus Jakarta Sans', serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: none;
}

.btn-terracotta {
  background-color: var(--terracotta);
  color: #FFFFFF;
}

.btn-terracotta:hover {
  background-color: var(--terracotta-hover);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-purple {
  background-color: var(--purple-accent);
  color: #FFFFFF;
}

.btn-purple:hover {
  background-color: var(--purple-hover);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Site Topbar — Dark Brown Theme (Logo Color)
   ========================================================================== */

.site-topbar {
  background-color: #1E1412;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #ECE7E1;
  padding: 9px 0;
  position: relative;
  z-index: 1001;
}

.topbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.topbar-icon {
  display: inline-flex;
  align-items: center;
  color: var(--terracotta);
}

.topbar-link {
  color: #FFFFFF;
  font-weight: 600;
  transition: color 0.2s ease;
}

.topbar-link:hover {
  color: var(--terracotta);
}

.topbar-wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.topbar-wa-pill:hover {
  background-color: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

.topbar-wa-pill svg {
  fill: #25D366;
  transition: fill 0.2s ease;
}

.topbar-wa-pill:hover svg {
  fill: #FFFFFF;
}


/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 244, 238, 0.96);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  box-shadow: none;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-quote {
  padding: 8px 20px;
  font-size: 0.88rem;
}

.nav-drawer-close,
.drawer-footer-cta,
.nav-drawer-backdrop {
  display: none;
}

.brand-logo .logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--terracotta);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--terracotta);
  border-radius: 2px;
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-toggle .chevron {
  font-size: 0.8rem;
  margin-left: 4px;
  transition: transform 0.25s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-card);
  min-width: 210px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(186, 93, 69, 0.08);
  color: var(--terracotta);
  transform: translateX(4px);
}

.dropdown-menu a.active {
  background-color: rgba(186, 93, 69, 0.12);
  color: var(--terracotta);
  font-weight: 700;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

/* Full-Width 16:9 Aspect Ratio Hero Slider with Dissolving Bottom */
.hero-section {
  padding: 0 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-slider-container {
  width: 100%;
  position: relative;
}

.hero-slider-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  min-height: 500px;
  overflow: hidden;
  /* Dissolving bottom edge gradient mask into shady white background */
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0) 100%);
}

.hero-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 6s ease;
  transform: scale(1.05);
}

.hero-slider-slide.active {
  opacity: 1;
  transform: scale(1);
}

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

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(29, 25, 52, 0.82) 0%, rgba(29, 25, 52, 0.55) 45%, rgba(29, 25, 52, 0.15) 100%);
  z-index: 2;
}

.hero-content-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
}

.hero-content-overlay .hero-content {
  max-width: 580px;
}

.hero-content-overlay .hero-title {
  color: #FFFFFF;
  font-size: 3.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-content-overlay .hero-title .script-prefix {
  font-family: var(--font-script);
  font-size: 4.8rem;
  font-weight: 400;
  color: var(--terracotta);
  text-transform: none;
  line-height: 1;
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero-content-overlay .hero-title .cap-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-content-overlay .hero-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-content-overlay .hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dot.active {
  background-color: #FFFFFF;
  width: 26px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Categories Banner Embedded Inside Hero Section */
.hero-categories-banner {
  padding: 20px 0 30px;
  position: relative;
  z-index: 5;
  margin-top: -60px; /* Seamless overlap with dissolving slider bottom edge */
}

.banner-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}

.banner-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-row.row-1 {
  gap: 50px;
}

.banner-row.row-2 {
  gap: 180px;
}

.banner-row.row-3 {
  justify-content: center;
}

.banner-item-img {
  display: inline-block;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.banner-item-img:hover {
  transform: translateY(-4px) scale(1.05);
}

.banner-item-img img {
  height: 65px;
  width: auto;
  object-fit: contain;
  background: transparent;
  display: block;
}

.scroll-down-wrapper {
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
}

.scroll-down-btn {
  width: 52px;
  height: 52px;
  background-color: var(--purple-accent);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(138, 107, 246, 0.4);
  animation: bounce 2s infinite;
}

.scroll-down-btn:hover {
  background-color: var(--purple-hover);
  transform: scale(1.08);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ==========================================================================
   Shared Section Tags, Titles & Script Typography Pairing
   ========================================================================== */

/* ==========================================================================
   Shared Section Tags & Utilities
   ========================================================================== */

.section-tag {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--terracotta);
  background-color: rgba(224, 137, 108, 0.12);
  padding: 4px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  text-transform: none;
  line-height: 1.2;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-description {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.75;
}

/* ==========================================================================
   About Us Section — Redesigned
   ========================================================================== */

.about-section {
  padding: 100px 0;
}

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

/* Dual Image Stack */
.about-media-stack {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-main:hover img {
  transform: scale(1.04);
}

.about-img-accent {
  position: absolute;
  bottom: -36px;
  right: -36px;
  width: 52%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 5px solid var(--bg-main);
  aspect-ratio: 1 / 1;
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-pill {
  position: absolute;
  top: 28px;
  left: -24px;
  background: var(--terracotta);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 4;
}

.about-badge-pill .badge-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge-pill .badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
  text-align: center;
}

/* Stats Row */
.about-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(31,26,58,0.04);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(31,26,58,0.12);
  flex-shrink: 0;
  margin: 0 8px;
}

/* CTA Buttons Row */
.about-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid rgba(31,26,58,0.2);
}

.btn-outline-dark:hover {
  border-color: var(--text-dark);
  background: rgba(31,26,58,0.05);
}

.feature-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-accent);
  background: rgba(138, 107, 246, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}



/* ==========================================================================
   Products / What We Offer
   ========================================================================== */

.products-section {
  padding: 90px 0;
}

.section-header {
  margin-bottom: 55px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-top: 8px;
}

/* Single Row Auto-Scrolling Carousel Track */
.carousel-auto-scroll-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 80px;
  padding: 15px 0 35px;
  /* Smooth edge gradient dissolve masks */
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 35px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}

.carousel-auto-scroll-wrap:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-card-item {
  flex: 0 0 280px;
  width: 280px;
  display: block;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-card-item:hover {
  transform: translateY(-8px) scale(1.04);
}

.carousel-card-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: none;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.category-card:hover .card-image-wrap img {
  transform: scale(1.06);
}

/* Tilted Badge Label on Cards */
.card-badge {
  padding: 16px 20px;
  background-color: var(--bg-card);
  text-align: center;
}

.badge-script {
  display: block;
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--terracotta);
  line-height: 0.8;
  margin-bottom: -8px;
}

.badge-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: 0.5px;
}

/* 6 Product Feature Rows */
.product-feature-rows {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.feature-row.row-reverse {
  grid-template-columns: 1fr 1fr;
}

.feature-row.row-reverse .feature-media {
  order: 2;
}

.feature-row.row-reverse .feature-content {
  order: 1;
}

.feature-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.feature-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-row:hover .feature-img {
  transform: scale(1.03);
}

.feature-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.feature-text {
  font-size: 1.02rem;
  color: var(--text-body);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ==========================================================================
   Gallery Section — Clean Grid Layout
   ========================================================================== */

.gallery-section {
  padding: 90px 0;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: #E5E0D8;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 16px rgba(31, 26, 58, 0.04);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31,26,58,0.85) 0%, rgba(31,26,58,0.1) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.gallery-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transform: translateY(-6px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.gallery-caption {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  transform: translateY(8px);
  transition: transform 0.35s ease;
  line-height: 1.35;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

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

.gallery-item:hover .gallery-zoom {
  transform: translateY(0);
  background: var(--terracotta);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ==========================================================================
   FAQ Section — Accordion
   ========================================================================== */

.faq-section {
  padding: 90px 0;
  background-color: #EDE8DF;
}

.faq-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: start;
}

.faq-header {
  position: sticky;
  top: 100px;
}

.faq-header .section-subtitle {
  margin-top: 12px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(31,26,58,0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(31,26,58,0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--terracotta);
}

.faq-question[aria-expanded="true"] {
  color: var(--terracotta);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--terracotta);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer.open {
  max-height: 500px;
  transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-answer-inner {
  padding: 0 4px 22px;
}

.faq-answer-inner p {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ==========================================================================
   Director's Note Section — Redesigned & Cleaned
   ========================================================================== */

.director-section {
  padding: 80px 0;
}

.director-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #EDE8DF;
  border: 1px solid rgba(31, 26, 58, 0.08);
}

.director-image-wrap {
  position: relative;
  overflow: hidden;
  background-color: #EDE8DF;
  min-height: 380px;
}

.director-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.director-card:hover .director-image-wrap img {
  transform: scale(1.03);
}

.director-quote-mark {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: var(--font-serif, Georgia, serif);
  font-size: 7rem;
  line-height: 1;
  color: rgba(224, 137, 108, 0.25);
  font-style: italic;
  pointer-events: none;
}

.director-body {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.director-body .section-tag {
  margin-bottom: 20px;
}

.director-quote {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 32px;
  position: relative;
  padding-left: 0;
}

.director-info {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(31, 26, 58, 0.1);
  padding-top: 24px;
}

.director-avatar-sm {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--terracotta);
}

.director-avatar-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.director-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.director-role {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Contact Section — Redesigned
   ========================================================================== */

.contact-section {
  padding: 100px 0;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-card {
  background: rgba(31,26,58,0.04);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(224,137,108,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.contact-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.contact-card-icon--green {
  background: rgba(37,211,102,0.12);
}

.contact-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-top: 4px;
  transition: opacity 0.2s ease;
}

.contact-card-link:hover {
  opacity: 0.75;
}

.contact-card-link--green {
  color: #19a846;
}

.contact-card--whatsapp {
  border: 1.5px solid rgba(37,211,102,0.25);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
}



/* ==========================================================================
   Footer Section
   ========================================================================== */

.site-footer {
  background-color: var(--bg-main);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-top {
  margin-bottom: 30px;
}

.footer-logo img {
  height: 55px;
  margin: 0 auto;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.08);
  margin-bottom: 45px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.93rem;
  color: var(--text-body);
}

.footer-links a:hover {
  color: var(--terracotta);
}

.footer-text {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.65;
}

.footer-text a:hover {
  color: var(--terracotta);
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Floating WhatsApp Widget
   ========================================================================== */

.floating-contact-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #FFFFFF;
  padding: 8px 18px 8px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}

.whatsapp-icon-circle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.whatsapp-pill:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  background-color: #F8FFF9;
}

.whatsapp-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #075E54;
}


/* ==========================================================================
   Modals (Lightbox, Quote Form, and Gallery Popup)
   ========================================================================== */

.lightbox-modal,
.quote-modal,
.gallery-popup-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 12, 29, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-modal.active,
.quote-modal.active,
.gallery-popup-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close,
.quote-close,
.gallery-popup-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
  z-index: 10;
}

.lightbox-close:hover,
.quote-close:hover,
.gallery-popup-close:hover {
  transform: rotate(90deg) scale(1.1);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 2010;
  backdrop-filter: blur(4px);
}

.lightbox-nav-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-content-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.quote-modal-content {
  background-color: var(--bg-main);
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.quote-modal-content .quote-close {
  color: var(--text-dark);
}

.quote-header {
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-body);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(31, 26, 58, 0.15);
  background-color: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
}

.quote-success-msg {
  text-align: center;
  padding: 30px 10px;
}

.quote-success-msg .success-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 16px;
}

/* ==========================================================================
   Gallery Popup Dialog
   ========================================================================== */

.gallery-popup-dialog {
  background-color: var(--bg-main);
  width: 92%;
  max-width: 1100px;
  height: 88vh;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 10;
}

.gallery-popup-header {
  padding: 24px 32px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(31, 26, 58, 0.08);
}

.gallery-popup-header .gallery-popup-close {
  position: static;
  color: var(--text-dark);
  font-size: 2rem;
}

.gallery-popup-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.gallery-popup-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(31, 26, 58, 0.06);
  background-color: #EDE8DF;
}

.gallery-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.gallery-tab-btn:hover {
  color: var(--text-dark);
  background-color: rgba(255, 255, 255, 0.6);
}

.gallery-tab-btn.active {
  background-color: var(--terracotta);
  color: #FFFFFF;
}

.gallery-popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
}

.gallery-popup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-popup-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #FFFFFF;
  border: 1px solid rgba(31, 26, 58, 0.08);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery-popup-card:hover {
  transform: translateY(-4px);
}

.gallery-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.gallery-popup-card:hover .gallery-card-thumb img {
  transform: scale(1.08);
}

.gallery-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(31, 26, 58, 0.8);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  z-index: 2;
  backdrop-filter: blur(4px);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 26, 58, 0.85) 0%, rgba(31, 26, 58, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-zoom-icon {
  color: #FFFFFF;
  margin-bottom: 4px;
}

.gallery-card-text {
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.gallery-popup-footer {
  padding: 16px 32px;
  background-color: #EDE8DF;
  border-top: 1px solid rgba(31, 26, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.link-terracotta {
  color: var(--terracotta);
  font-weight: 700;
}

.link-terracotta:hover {
  text-decoration: underline;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Homepage Gallery & "View All" Button
   ========================================================================== */

.gallery-preview-wrapper {
  margin-top: 36px;
}

.gallery-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-view-all-gallery {
  padding: 14px 34px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}


.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E2DEC9;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #FAF8F5;
  transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background-color: #FFFFFF;
}

.quote-success-msg {
  text-align: center;
  padding: 20px 0;
}

.quote-success-msg h4 {
  font-size: 1.4rem;
  color: var(--terracotta);
  margin-bottom: 10px;
}

/* ==========================================================================
   Inner Page & Product Page Styles
   ========================================================================== */

.page-hero-banner {
  background: linear-gradient(135deg, #26140A 0%, #3D2314 50%, #54321D 100%);
  color: #FFFFFF;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background: var(--bg-main);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--terracotta);
}

.breadcrumbs .separator {
  opacity: 0.5;
}

.breadcrumbs .current {
  color: var(--terracotta);
  font-weight: 600;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
  max-width: 540px;
}

.page-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.product-hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 4px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 4 / 3;
}

.product-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Feature Highlights Section */
.product-details-section {
  padding: 90px 0;
}

.product-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.product-info-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(31, 26, 58, 0.08);
}

.product-info-media img {
  width: 100%;
  height: auto;
  display: block;
}

.product-info-content .section-title {
  margin-bottom: 16px;
}

.product-description-p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.feature-checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.checklist-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--terracotta);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* Specifications / Attributes Cards */
.product-specs-section {
  padding: 80px 0;
  background-color: #EDE8DF;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.spec-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid rgba(31, 26, 58, 0.08);
  transition: transform 0.3s ease;
}

.spec-card:hover {
  transform: translateY(-4px);
}

.spec-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(224, 137, 108, 0.12);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.spec-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.spec-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* Bottom CTA Banner */
.product-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1F1A3A 0%, #2C254F 100%);
  color: #FFFFFF;
  text-align: center;
}

.product-cta-box {
  max-width: 760px;
  margin: 0 auto;
}

.product-cta-box .section-tag {
  background-color: rgba(224, 137, 108, 0.2);
  color: var(--terracotta);
}

.product-cta-box h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 12px 0 16px;
}

.product-cta-box p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.product-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.92rem;
  margin-bottom: 10px;
  color: var(--text-body);
}

.footer-highlight-link {
  font-weight: 700;
  color: var(--text-dark);
}

.footer-wa-link {
  color: #128C7E;
  font-weight: 700;
}

.footer-directions-btn {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--terracotta);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* ==========================================================================
   Categories Banner Section (Outside Hero Section)
   ========================================================================== */

.categories-banner-section {
  padding: 40px 0 30px;
  background-color: var(--bg-main);
}

.categories-banner-section .banner-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.categories-banner-section .banner-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.categories-banner-section .banner-row.row-1 {
  gap: 50px;
}

.categories-banner-section .banner-row.row-2 {
  gap: 180px;
}

.categories-banner-section .banner-row.row-3 {
  justify-content: center;
}

.categories-banner-section .banner-item-img {
  display: inline-block;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.categories-banner-section .banner-item-img:hover {
  transform: translateY(-4px) scale(1.05);
}

.categories-banner-section .banner-item-img img {
  height: 65px;
  width: auto;
  object-fit: contain;
  background: transparent;
  display: block;
}

/* ==========================================================================
   Responsive & Mobile Drawer Styles
   ========================================================================== */

@media (max-width: 1200px) {
  .director-card {
    grid-template-columns: 320px 1fr;
  }
}

@media (max-width: 992px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-info-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-hero-title {
    font-size: 2.4rem;
  }

  /* About redesign */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .about-media-stack {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-badge-pill {
    left: 0;
  }

  /* Gallery Grid */
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  /* FAQ */
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-header {
    position: static;
  }

  /* Director */
  .director-card {
    grid-template-columns: 1fr;
  }

  .director-image-wrap {
    height: 320px;
  }

  /* Contact */
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* 1. Mobile Topbar: Show ONLY contact number */
  .site-topbar {
    padding: 8px 0;
  }

  .topbar-container {
    justify-content: center;
  }

  .topbar-left {
    width: 100%;
    justify-content: center;
  }

  .topbar-right,
  .topbar-item-email,
  .topbar-item-location,
  .topbar-item-hours,
  .topbar-wa-pill {
    display: none !important;
  }

  .topbar-item {
    font-size: 0.88rem;
    font-weight: 700;
    justify-content: center;
    width: 100%;
  }

  /* 2. Mobile Hero Section: Hide ALL text and buttons */
  .hero-content-overlay {
    display: none !important;
  }

  .hero-slider-wrap {
    aspect-ratio: 16 / 9;
    min-height: auto;
    max-height: 52vh;
  }

  /* 3. Mobile Side Drawer Navigation */
  .main-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-main);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    padding: 75px 24px 30px;
    display: block !important;
    visibility: hidden;
    opacity: 0;
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2500;
    overflow-y: auto;
  }

  .main-nav.mobile-active {
    right: 0;
    visibility: visible;
    opacity: 1;
  }

  .nav-drawer-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
  }

  .nav-drawer-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 12, 29, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    padding: 6px 0;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    padding-left: 15px;
    border: none;
    background: transparent;
  }

  .has-dropdown.active .dropdown-menu {
    display: block;
  }

  .mobile-toggle {
    display: flex;
  }

  .btn-header-quote {
    display: none;
  }

  .hero-title,
  .hero-content-overlay .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* 4. Categories Banner on Mobile (Clean vertical stack in exact requested order) */
  .categories-banner-section {
    padding: 30px 0;
  }

  .categories-banner-section .banner-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
  }

  .categories-banner-section .banner-row {
    display: contents;
  }

  .banner-item-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 260px;
  }

  .banner-item-img img {
    width: 100%;
    height: auto;
    max-height: 54px;
    object-fit: contain;
  }

  .cat-wpc-doors { order: 1; }
  .cat-glass { order: 2; }
  .cat-ceiling { order: 3; }
  .cat-aluminium { order: 4; }
  .cat-kitchen { order: 5; }
  .cat-fiber { order: 6; }
  .cat-window { order: 7; }



  /* 5. Gallery Images on Mobile — Fix Overlapping Completely */
  .gallery-section {
    padding: 60px 0;
  }

  .gallery-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery-item {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: 100%;
  }

  /* 6. Director Image Crop Fix on Mobile */
  .director-card {
    grid-template-columns: 1fr;
    background-color: #EDE8DF;
  }

  .director-image-wrap {
    height: 280px;
    max-height: 280px;
    background-color: #EDE8DF;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .director-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .director-body {
    padding: 32px 24px;
  }

  .director-quote {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  /* Gallery popup on mobile */
  .gallery-popup-dialog {
    width: 96%;
    height: 94vh;
  }

  .gallery-popup-header {
    padding: 16px 20px;
  }

  .gallery-popup-filters {
    padding: 10px 16px;
  }

  .gallery-popup-body {
    padding: 16px;
  }

  .gallery-popup-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gallery-popup-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 14px 16px;
  }

  /* About */
  .about-section { padding: 60px 0; }
  .about-img-accent {
    bottom: -24px;
    right: -16px;
    width: 44%;
  }

  /* About stats */
  .about-stats {
    padding: 18px 16px;
  }
  .stat-number { font-size: 1.8rem; }

  /* FAQ */
  .faq-section { padding: 60px 0; }
  .faq-question { font-size: 0.95rem; padding: 18px 4px; }

  /* Contact */
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }

  /* Feature checklist */
  .feature-checklist {
    grid-template-columns: 1fr;
  }

  /* Floating WhatsApp */
  .floating-contact-widget {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-text {
    display: none;
  }

  .whatsapp-pill {
    padding: 6px;
    border-radius: 50%;
  }

  .whatsapp-pulse-ring {
    top: 0;
    left: 0;
  }
}

@media (max-width: 560px) {
  /* Contact cards single column */
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .gallery-popup-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  /* Gallery single column on small screens */
  .gallery-masonry {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
    margin: 0;
  }

  .about-cta {
    flex-direction: column;
  }

  .about-cta .btn {
    width: 100%;
    justify-content: center;
  }
}





