/* ============================================================
   Gesso Craft — style.css
   Professional Manufacturer Theme | Clean & High Contrast
   Mobile-First | CSS Grid & Flexbox | System Fonts
   ============================================================ */

/* ── Custom Properties (Strict Palette Only) ───────────────── */
:root {
  --navy:       #0B3C7A;
  --deep-navy:  #071747;
  --blue:       #0070C0;
  --green:      #1E9E6A;
  --green-hover:#178356;
  --lime:       #7BE05A;
  --white:      #FFFFFF;
  --soft-bg:    #F3F6FB;
  --border:     #DCE5F2;

  --text-dark:  #071747;
  --text-body:  #2D3748;
  --text-muted: #5A6A85;

  --radius:     8px;
  --shadow-subtle: 0 1px 3px rgba(7, 23, 71, 0.06), 0 2px 6px rgba(7, 23, 71, 0.04);
  --shadow-hover:  0 4px 12px rgba(7, 23, 71, 0.09);

  --font-brand: Cambria, Georgia, serif;
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --nav-h: 70px;
  --nav-h-scroll: 60px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-system);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* Focus styles for keyboard accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ── Typography & Hierarchy ─────────────────────────────────── */
.brand-wordmark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-style: italic;
}

h1, h2, h3, h4 {
  font-family: var(--font-system);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
}

.lead-text {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-muted);
  max-width: 65ch;
  margin: 0 auto;
}

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

.section-pad {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .section-pad {
    padding: 88px 0;
  }
}

.text-center {
  text-align: center;
}

.section-heading {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.badge-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Clean Section Alternation ──────────────────────────────── */
/* 1. Hero: Video with light overlay */
/* 2. Products: White */
#products {
  background: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: 0 950px;
}

/* 3. Services: Soft grey-blue */
#services {
  background: var(--soft-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  content-visibility: auto;
  contain-intrinsic-size: 0 1400px;
}

/* 4. Why Us: Solid Navy */
#why-us {
  background: var(--navy);
  color: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: 0 450px;
}
#why-us .section-title {
  color: var(--white);
}
#why-us .lead-text {
  color: rgba(255, 255, 255, 0.85);
}
#why-us .badge-tag {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

/* 5. Contact: White */
#contact {
  background: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}

/* 6. Footer: Deep Navy */
#footer {
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Universal Button System (Exact Same Height, Radius & Logic) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-system);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary Button: Solid Brand Green #1E9E6A, White Text */
.btn-primary {
  background: var(--green);
  border: 1px solid var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: var(--white);
}

/* Secondary Button on Dark / Video Background: Transparent with 2px White Border */
.btn-secondary-dark {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-secondary-dark:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* Secondary Button on Light Background: Transparent with 2px Navy Border */
.btn-secondary-light {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-secondary-light:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── Navigation ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--deep-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  transition: height 200ms ease, background-color 200ms ease;
}

#navbar.scrolled {
  height: var(--nav-h-scroll);
  background: rgba(7, 23, 71, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1;
}

.nav-brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
  font-weight: 600;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}

.nav-links a:hover {
  color: var(--white);
  border-color: var(--green);
}

.nav-cta-wrap {
  display: none;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav-cta-wrap {
    display: block;
  }
}

.hamburger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 860px) {
  .hamburger {
    display: none;
  }
}

/* Mobile Nav Overlay */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--deep-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu a.mobile-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  transition: color 200ms ease;
}

#mobile-menu a.mobile-link:hover {
  color: var(--green);
}

.menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hero Section (Background Video Clearly Visible) ───────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--deep-navy);
  padding-top: var(--nav-h);
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Light overlay: video remains sharp and visible, text remains legible */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 23, 71, 0.55) 0%, rgba(7, 23, 71, 0.15) 55%, rgba(7, 23, 71, 0.35) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 3rem 1rem;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(7, 23, 71, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(7, 23, 71, 0.6);
}

.hero-tagline {
  font-family: var(--font-system);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 6px rgba(7, 23, 71, 0.5);
}

.hero-offer {
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto 2.25rem;
  text-shadow: 0 1px 6px rgba(7, 23, 71, 0.6);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ── Featured Product Card ──────────────────────────────────── */
.featured-product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 820px) {
  .featured-product {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
  }
}

.featured-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  cursor: pointer;
}

.featured-media video, .featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 23, 71, 0.35);
  transition: background-color 200ms ease;
}

.featured-media:hover .play-overlay {
  background: rgba(7, 23, 71, 0.2);
}

.play-circle {
  width: 58px;
  height: 58px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 200ms ease;
}

.featured-media:hover .play-circle {
  transform: scale(1.06);
}

.play-icon-svg {
  width: 22px;
  height: 22px;
  fill: var(--navy);
  margin-left: 3px;
}

.tap-play-wrap.playing .play-overlay {
  display: none;
}

.featured-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.featured-info h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--navy);
}

.specs-list {
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.specs-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: var(--text-body);
  min-height: 44px;
  box-sizing: border-box;
}

.specs-item span {
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 480px) {
  .featured-actions .btn {
    width: 100%;
  }
}

.specs-item-icon {
  width: 18px;
  height: 18px;
  stroke: var(--green);
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── Product Grid (Flat, 1px Border, 8px Radius, Soft Shadow) ── */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 540px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #CBD7E8;
}

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #EAEFF7;
  border-bottom: 1px solid var(--border);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.product-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-card-actions {
  display: flex;
  gap: 0.5rem;
}

.product-card-actions .btn {
  flex: 1;
  height: 44px;
  font-size: 0.875rem;
  padding: 0 0.85rem;
}

/* ── Why Us override — ensure it always clears above sections ── */
#why-us {
  padding-top: 80px;
  overflow: visible;
}

@media (min-width: 768px) {
  #why-us {
    padding-top: 100px;
  }
}

/* ── Fade-Up Scroll Animation ───────────────────────────────── */
.fade-up {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }
  .fade-up.visible {
    opacity: 1;
    transform: none;
  }
}

/* ── Section Background Classes ─────────────────────────────── */
.bg-light {
  background: var(--soft-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bg-white {
  background: var(--white);
}

.bg-navy {
  background: var(--deep-navy);
  color: var(--white);
}

.svc-section {
  padding: 64px 0;
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}

@media (min-width: 768px) {
  .svc-section {
    padding: 96px 0;
  }
}

/* ── Editorial Section Headings with Lime Accent ─────────────── */
.svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.svc-eyebrow--light {
  color: rgba(255, 255, 255, 0.85);
}

.svc-title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.svc-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  background: var(--lime);
  border-radius: 2px;
}

.svc-title--light {
  color: var(--white);
}

.svc-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 65ch;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.bg-navy .svc-lead {
  color: rgba(255, 255, 255, 0.8);
}

/* ── S1: Specialist Work Grid (01 to 06 with large numerals) ── */
.specialist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .specialist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .specialist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spec-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.spec-num {
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  font-family: var(--font-brand);
  font-size: 3.5rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(11, 60, 122, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.spec-img-wrap {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #EAEFF7;
  margin-bottom: 1.25rem;
}

.spec-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.spec-card:hover .spec-img-wrap img {
  transform: scale(1.04);
}

.spec-card-title {
  font-family: var(--font-brand);
  font-size: 1.3rem;
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.spec-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── S2: Wire Mesh Featured (Two-column layout + Mosaic) ─────── */
.feature-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .feature-two-col {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
  }
}

.feature-mosaic {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mosaic-large {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mosaic-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.mosaic-large:hover img {
  transform: scale(1.04);
}

.mosaic-small-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mosaic-small {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.mosaic-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.mosaic-small:hover img {
  transform: scale(1.04);
}

.svc-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.svc-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Common Image Grids (10px rounded corners, zoom hover) ───── */
.four-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 820px) {
  .four-col-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.three-col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .three-col-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-img-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #EAEFF7;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  cursor: zoom-in;
}

.grid-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.grid-img-item:hover img {
  transform: scale(1.04);
}

.bg-navy .grid-img-item {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ── S3: Earth Cafe Full-Bleed Hero ─────────────────────────── */
.cafe-hero-img {
  position: relative;
  min-height: 420px;
  max-height: 540px;
  width: 100%;
}

@media (min-width: 768px) {
  .cafe-hero-img {
    min-height: 480px;
  }
}

.cafe-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 23, 71, 0.88) 0%, rgba(7, 23, 71, 0.55) 60%, rgba(7, 23, 71, 0.4) 100%);
  z-index: 1;
}

.cafe-hero-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 2rem 1rem;
  text-align: center;
}

.cafe-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1rem;
  background: rgba(7, 23, 71, 0.6);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

/* ── S4: Commercial Layout ──────────────────────────────────── */
.commercial-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .commercial-layout {
    grid-template-columns: 1.35fr 1fr;
    gap: 2.5rem;
  }
}

.commercial-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.commercial-list-card {
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
}

.list-card-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.exp-list li {
  font-size: 0.95rem;
  color: var(--text-body);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.exp-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ── S6: Bespoke Sub-groups ─────────────────────────────────── */
.bespoke-group {
  margin-bottom: 3rem;
}

.bespoke-group:last-child {
  margin-bottom: 0;
}

.bespoke-sub-heading {
  font-family: var(--font-system);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--lime);
}

/* ── S8: Andheri Grid (4 cols desktop, 2 cols mobile) ────────── */
.andheri-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .andheri-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── S9: Working with Designers & Architects ─────────────────── */
.collab-grid-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 860px) {
  .collab-grid-new {
    grid-template-columns: repeat(3, 1fr);
  }
}

.collab-card-new {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  text-align: center;
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.collab-card-new:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.collab-card-more {
  background: transparent;
  border: 2px dashed #CBD7E8;
  color: var(--text-muted);
}

/* ── S10: Gallery Uniform 3:2 Grid ──────────────────────────── */
.gallery-uniform {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 680px) {
  .gallery-uniform {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-uniform {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-uniform .gallery-item {
  aspect-ratio: 3 / 2;
  border-radius: 10px;
}

/* ── S11: Why Gesso Craft Grid ──────────────────────────────── */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 540px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .why-us-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: background-color 200ms ease, transform 200ms ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.why-num {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  font-style: italic;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.why-title {
  font-family: var(--font-system);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.why-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #EAEFF7;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Project Meta Bar */
.project-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-body);
}

.meta-item-label {
  font-weight: 600;
  color: var(--navy);
}

/* Collaborations List */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.collab-card {
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.collab-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.collab-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Notable Project Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-tag {
  background: var(--soft-bg);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: var(--navy);
  font-weight: 600;
}

/* ── Why Us Section (Solid Navy, Flat Clean Cards) ──────────── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 500px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background-color 200ms ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.stat-num {
  font-family: var(--font-system);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ── Contact Section (White Background, Clear Hierarchy) ────── */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .contact-section-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-subtle);
}

.contact-card-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 700;
}

.contact-address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-meta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  width: fit-content;
  transition: color 200ms ease;
}

.contact-meta-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

.contact-phones-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9375rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.contact-phones-list span {
  color: var(--text-muted);
}

.contact-phones-list strong {
  color: var(--navy);
}

.person-contact-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.person-contact-role {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
}

.person-contact-details {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
}

.gstin-card {
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gstin-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.gstin-val {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0 2rem;
}

@media (min-width: 680px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (min-width: 960px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1.2fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand-title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 45ch;
}

.footer-col-title {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 200ms ease;
}

.footer-links-list a:hover {
  color: var(--white);
}

.footer-contact-data {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Mobile Sticky Bottom Bar (Call & WhatsApp) ─────────────── */
#sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  display: flex;
  gap: 0;
  transform: translateY(100%);
  transition: transform 250ms ease;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

#sticky-bar.show {
  transform: translateY(0);
}

@media (min-width: 680px) {
  #sticky-bar {
    display: none;
  }
}

#sticky-bar a {
  flex: 1;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--white);
  text-decoration: none;
  transition: background-color 200ms ease;
}

#sticky-bar .bar-call {
  background: var(--navy);
}

#sticky-bar .bar-wa {
  background: var(--green);
}

#sticky-bar .bar-wa:hover {
  background: var(--green-hover);
}

/* Padding helper for footer when mobile sticky bar is active */
@media (max-width: 679px) {
  #footer {
    padding-bottom: 72px;
  }
}

/* ── Lightbox Overlay ───────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 23, 71, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

#lightbox.open {
  opacity: 1;
  pointer-events: all;
}

#lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: opacity 160ms ease;
}

.lb-btn {
  position: absolute;
  color: var(--white);
  cursor: pointer;
  background: rgba(7, 23, 71, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms ease;
}

.lb-btn:hover {
  background: rgba(7, 23, 71, 0.9);
}

.lb-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
}

.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.lb-prev {
  left: 1rem;
}

.lb-next {
  right: 1rem;
}

.lb-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  color: var(--white);
  background: rgba(7, 23, 71, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
}

/* ----------------------------------------------------------
   PRODUCT GRID � Image Gallery Cards + Text-Only Cards
   ---------------------------------------------------------- */

.product-grid-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .product-grid-new { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .product-grid-new { grid-template-columns: repeat(3, 1fr); }
}

/* -- Cards with image gallery --------------------------- */
.product-card-new {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(11,60,122,.06);
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.product-card-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(11,60,122,.12);
}

/* -- Gallery container ----------------------------------- */
.prod-gallery {
  position: relative;
  overflow: hidden;
  background: #EAEFF7;
  border-bottom: 1px solid var(--border);
}

.prod-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.prod-gallery-track::-webkit-scrollbar { display: none; }

.prod-gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.prod-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -- Video inside gallery ------------------------------- */
.prod-gallery-video {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.prod-gallery-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -- Dot indicators ------------------------------------- */
.prod-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 6px;
  background: var(--white);
}

.pgd {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
  cursor: pointer;
  transition: background 200ms ease;
}

.pgd.active { background: var(--navy); }

/* -- Text-only cards (no images) ----------------------- */
.product-card-text-only {
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(11,60,122,.06);
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.product-card-text-only:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(11,60,122,.12);
}

.prod-text-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.prod-text-icon svg {
  width: 56px;
  height: 56px;
  stroke: var(--navy);
  opacity: 0.45;
}

/* -- 2-column static image grid (Cornice, Panel) ------- */
.prod-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}

.prod-img-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Push Get Price button to bottom of card � eliminates gap */
.product-card-new .product-card-body,
.product-card-text-only .product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.25rem 1.25rem;
}

.product-card-new .product-card-actions,
.product-card-text-only .product-card-actions {
  margin-top: auto;
  padding-top: 1rem;
}

/* Single-col contact grid override */
.contact-section-grid.one-col {
  grid-template-columns: 1fr;
  max-width: 480px;
}
