:root {
  --bg: #ede3da;
  --primary: #b5a080;
  --navy: #203474;
  --accent: #bc6746;
  --white: #ffffff;
  --ink: #17295d;
  --text: #454545;
  --line: rgba(32, 52, 116, .18);
  --radius: 12px;
  --shadow: 0 16px 50px rgba(32, 52, 116, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 16px 5vw; background: rgba(237,227,218,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(32,52,116,.08); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: clamp(175px, 15vw, 245px); height: auto; max-height: 70px; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 1.8vw, 26px); font-size: 13px; color: #4d4d4d; margin-left: auto; }
.main-nav a { padding: 10px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); border-color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 13px 19px; border-radius: 6px; font-size: 12px; font-weight: 600; border: 1px solid transparent; transition: .25s ease; }
.button span { font-size: 16px; }
.button-accent { color: #fff; background: var(--accent); }
.button-accent:hover { transform: translateY(-2px); filter: brightness(.95); }
.button-outline { border-color: rgba(32,52,116,.35); color: var(--navy); background: transparent; }
.button-outline:hover { background: var(--navy); color: white; }
.menu-toggle { display: none; border: 0; background: none; font-size: 22px; color: var(--navy); }
section { padding: 90px 5vw; position: relative; }
.section-light { background: var(--bg); }
.section-hero { background: var(--navy); color: white; }
.section-hero .eyebrow, .section-hero h1 { color: var(--accent); }
.section-hero .hero-description { color: rgba(255,255,255,.86); }
.section-hero .button-outline { border-color: rgba(255,255,255,.55); color: white; }
.section-hero .button-outline:hover { background: white; color: var(--navy); }
.section-white { background: var(--white); }
.serve { background: var(--bg); }
.section-beige { background: #f4ece4; }
.section-navy { background: var(--navy); color: white; }
.hero { display: grid; grid-template-columns: .82fr 1.18fr; padding: 0 0 0 5vw; min-height: 560px; }
.hero-copy { padding: 85px 38px 70px 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow, .section-label { font-size: 10px; letter-spacing: 3px; font-weight: 700; color: var(--navy); margin: 0 0 22px; }
.hero h1, h2 { font-family: "Manrope", sans-serif; color: var(--navy); line-height: .98; letter-spacing: -1.8px; margin: 0; font-weight: 800; }
.hero h1 { font-size: clamp(40px, 4.2vw, 68px); }
.hero-description { max-width: 430px; font-size: 14px; line-height: 1.7; margin: 34px 0; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.image-frame { background-position: center; background-size: cover; }
.hero-image { min-height: 560px; background-image: linear-gradient(90deg, rgba(237,227,218,.1), transparent), url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1800&q=85"); }
.section-label { margin-bottom: 25px; }
.light-label { color: #f6eee7; }
h2 { font-size: clamp(32px, 4vw, 57px); }
p { line-height: 1.65; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.copy-block { max-width: 600px; }
.copy-block p { font-size: 14px; max-width: 620px; }
.copy-block h2 + p { margin-top: 42px; }
.section-heading-row h2 + p, .factories h2 + p, .partner h2 + p { margin-top: 42px; }
.about-visual { min-height: 390px; background-image: url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1200&q=85"); }
.text-link { display: inline-flex; gap: 24px; color: var(--accent); font-size: 12px; font-weight: 700; margin-top: 18px; }
.light-link { color: #e9c4ae; }
.experience-card { position: absolute; right: 5vw; bottom: 75px; display: grid; gap: 6px; color: var(--navy); border-left: 1px solid var(--primary); padding-left: 24px; }
.experience-card strong { font-family: "Manrope"; font-size: 45px; }
.experience-card span { font-size: 12px; line-height: 1.4; }
.factories { display: grid; grid-template-columns: .75fr 1.25fr; gap: 45px; align-items: center; }
.factories h2 { color: white; font-size: clamp(32px, 3.5vw, 52px); }
.factories p { color: rgba(255,255,255,.78); max-width: 430px; font-size: 13px; }
.factory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.factory-card { background: white; color: var(--navy); border-radius: 6px; overflow: hidden; }
.factory-image { aspect-ratio: .9; background-size: cover; background-position: center; }
.factory-card h3 { font-size: 13px; line-height: 1.2; margin: 0; padding: 15px 12px 17px; }
.panel-wood { background-image: url("https://images.unsplash.com/photo-1588854337236-6889d631faa8?auto=format&fit=crop&w=500&q=80"); }
.sofas { background-image: url("https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&w=500&q=80"); }
.solid-wood { background-image: url("https://images.unsplash.com/photo-1549497538-303791108f95?auto=format&fit=crop&w=500&q=80"); }
.metal { background-image: url("https://images.unsplash.com/photo-1538688525198-9b88f6f53126?auto=format&fit=crop&w=500&q=80"); }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 50px; }
.section-heading-row p { max-width: 390px; margin: 0; font-size: 14px; }
.serve-list { display: grid; gap: 0; }
.serve-item { display: grid; grid-template-columns: 72px 1fr 36%; gap: 28px; align-items: center; padding: 38px 0; border-top: 1px solid var(--line); }
.serve-item.reverse { grid-template-columns: 36% 1fr 72px; }
.serve-item.reverse .serve-number { order: 3; }
.serve-item.reverse .serve-image { order: 1; }
.serve-item.reverse .serve-copy { order: 2; }
.serve-number { color: var(--accent); font-family: "Manrope"; font-size: 24px; font-weight: 800; letter-spacing: -1px; text-align: center; }
.serve-copy h3, .benefit-card h3 { color: var(--navy); font-size: 31px; line-height: 1.08; margin: 0 0 16px; font-family: "Manrope"; }
.serve-copy p { margin: 0; font-size: 13px; max-width: 520px; }
.serve-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px; color: var(--accent); }
.serve-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.serve-image { min-height: 190px; border-radius: 6px; background-size: cover; background-position: center; }
.hospitality { background-image: url("https://images.unsplash.com/photo-1611892440504-42a792e24d32?auto=format&fit=crop&w=900&q=80"); }
.designers { background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80"); }
.stores { background-image: url("https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&w=900&q=80"); }
.partner h2 { display: none; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-card { background: rgba(255,255,255,.8); border: 1px solid rgba(181,160,128,.25); border-radius: 8px; padding: 38px 28px 42px; min-height: 330px; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.benefit-number { width: 34px; height: 34px; border: 1px solid var(--primary); border-radius: 50%; display: grid; place-items: center; color: var(--navy); font-size: 11px; font-weight: 800; margin-bottom: 28px; }
.benefit-icon { color: var(--accent); font-size: 43px; line-height: 1; margin: 18px 0 24px; }
.benefit-card h3 { font-size: 22px; margin-bottom: 0; }
.benefit-card p { font-size: 13px; margin: 0; max-width: 300px; }
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.work-card { min-height: 430px; border-radius: 8px; overflow: hidden; background-size: cover; background-position: center; position: relative; }
.projects { background-image: url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1400&q=85"); }
.retail { background-image: url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1400&q=85"); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,20,43,.82), rgba(12,20,43,0) 65%); }
.retail::after { background: linear-gradient(0deg, rgba(188,103,70,.9), rgba(188,103,70,.05) 75%); }
.work-overlay { position: absolute; z-index: 1; bottom: 30px; left: 30px; right: 30px; color: white; display: grid; gap: 9px; }
.work-overlay span { font-family: "Manrope"; font-size: 32px; font-weight: 800; }
.work-overlay small { max-width: 360px; font-size: 13px; }
.work-overlay b { font-size: 12px; font-weight: 700; }
.contact { padding: 0 5vw; display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: white; }
.contact-copy { padding: 80px 35px 80px 0; }
.contact h2 { color: white; font-size: clamp(40px, 5vw, 68px); margin-bottom: 20px; }
.contact p { color: rgba(255,255,255,.8); max-width: 470px; }
.contact-image { min-height: 340px; background-image: url("https://images.unsplash.com/photo-1533090481720-856c6e3c1fdc?auto=format&fit=crop&w=1200&q=85"); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 35px 5vw; background: var(--white); color: #6b6b6b; font-size: 11px; }
.site-footer p { margin: 0; }
@media (max-width: 1050px) {
  .main-nav { gap: 12px; font-size: 10px; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr 1fr; }
  .factories { grid-template-columns: 1fr; }
  .factory-grid { max-width: 800px; }
  .experience-card { position: static; margin-top: 35px; display: inline-grid; }
}
@media (max-width: 760px) {
  section { padding: 65px 6vw; }
  .site-header { padding: 13px 6vw; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 20px 6vw; background: var(--bg); flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .hero, .split-grid, .contact { grid-template-columns: 1fr; padding-left: 6vw; padding-right: 6vw; }
  .hero-copy { padding: 65px 0; }
  .hero-image { min-height: 360px; }
  .hero h1 { font-size: clamp(40px, 11vw, 58px); }
  h2 { letter-spacing: -1px; }
  .split-grid { gap: 30px; }
  .about-visual { min-height: 300px; }
  .section-heading-row { display: grid; gap: 20px; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .serve-item, .serve-item.reverse { grid-template-columns: 42px 1fr; gap: 16px; }
  .serve-item .serve-image, .serve-item.reverse .serve-image { grid-column: 1 / -1; grid-row: 2; order: initial; }
  .serve-item .serve-number, .serve-item.reverse .serve-number { order: initial; }
  .serve-icon { width: 48px; height: 48px; margin-bottom: 16px; }
  .serve-copy h3 { font-size: 26px; }
  .serve-copy, .serve-item.reverse .serve-copy { order: initial; }
  .benefit-grid, .works-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 340px; }
  .contact-copy { padding: 65px 0; }
  .contact-image { min-height: 280px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

/* Final visual refinements */
.section-hero h1 { color: var(--white); }
.section-hero .eyebrow { color: var(--accent); }
.about .copy-block h2 { color: var(--white); }
.benefit-icon { width: 96px; height: 96px; display: grid; place-items: center; margin: 22px 0 26px; }
.benefit-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.serve-copy h3 { font-size: clamp(30px, 2.4vw, 38px); }
.serve-icon { display: none !important; }

/* v6 requested refinements — preserve all prior changes */
.about .copy-block h2 { color: var(--navy); }
.factories { grid-template-columns: 1fr; gap: 42px; align-items: start; }
.factories-intro { max-width: 760px; }
.factory-grid { width: 100%; }
.serve { background: var(--white); }

/* v7 requested refinement — factory titles above images */
.factory-card { display: flex; flex-direction: column; }
.factory-card h3 { order: 1; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.15; padding: 20px 18px 14px; margin: 0; }
.factory-card .factory-image { order: 2; }


/* Official IECF horizontal logo — updated compact header version */
.brand-logo {
  display: block;
  width: clamp(220px, 20vw, 340px);
  height: auto;
  max-height: 110px;
  object-fit: contain;
}
@media (max-width: 900px) {
  .brand-logo { width: 280px; max-height: 92px; }
}
@media (max-width: 620px) {
  .brand-logo { width: 235px; max-height: 78px; }
}

/* v12 refinement — slightly smaller official logo for a more compact header */
.brand-logo {
  width: clamp(190px, 17vw, 290px);
  max-height: 92px;
}
@media (max-width: 900px) {
  .brand-logo { width: 245px; max-height: 82px; }
}
@media (max-width: 620px) {
  .brand-logo { width: 205px; max-height: 70px; }
}

/* v13 refinement — slightly smaller official logo */
.brand-logo {
  width: clamp(165px, 14vw, 240px);
  max-height: 76px;
}
@media (max-width: 900px) {
  .brand-logo { width: 215px; max-height: 72px; }
}
@media (max-width: 620px) {
  .brand-logo { width: 180px; max-height: 62px; }
}

/* v14 refinement — prominent overlapping experience badge in the About Us image */
.about { position: relative; }
.experience-card {
  top: 118px;
  right: auto;
  left: calc(50vw + 35px);
  bottom: auto;
  z-index: 3;
  width: 156px;
  min-height: 142px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 20px 22px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(32, 52, 116, .08);
  border-left: 0;
  border-radius: 6px;
  box-shadow: 0 14px 35px rgba(32, 52, 116, .16);
}
.experience-card strong {
  color: var(--accent);
  font-size: 42px;
  line-height: 1;
}
.experience-card span {
  color: var(--navy);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}
@media (max-width: 1050px) {
  .experience-card {
    position: static;
    width: auto;
    min-height: 0;
    margin-top: 28px;
    display: inline-grid;
  }
}


/* v15 refinement — closer visual treatment to the approved homepage reference */
.about .split-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.12fr) minmax(150px, .42fr);
  gap: 34px;
  align-items: center;
}
.about .copy-block h2 {
  font-size: clamp(42px, 4.3vw, 70px);
  letter-spacing: -2.4px;
}
.about .copy-block h2 + p { margin-top: 34px; }
.about .copy-block p { line-height: 1.65; }
.about-visual {
  min-height: 370px;
  border-radius: 6px;
  background-position: center;
}
.about-side-list {
  display: grid;
  gap: 0;
  align-self: stretch;
  color: var(--navy);
}
.about-side-list > div {
  display: flex;
  align-items: center;
  min-height: 118px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
}
.about-side-list > div:last-child { border-bottom: 0; }
.experience-card {
  top: 92px;
  left: calc(50% - 10px);
  right: auto;
  bottom: auto;
  width: 160px;
  min-height: 146px;
  padding: 20px 24px;
  border: 1px solid rgba(32, 52, 116, .08);
  border-radius: 6px;
  box-shadow: 0 14px 35px rgba(32, 52, 116, .16);
}
.section-hero {
  background: var(--navy);
}
.section-hero .hero-image {
  background-image: linear-gradient(90deg, rgba(32,52,116,.28), rgba(32,52,116,0) 38%), url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1800&q=85");
}
@media (max-width: 1050px) {
  .about .split-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-side-list { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .about-side-list > div { min-height: 70px; border-bottom: 0; border-top: 1px solid var(--line); }
  .experience-card { left: 50%; top: 105px; }
}
@media (max-width: 760px) {
  .about .split-grid { grid-template-columns: 1fr; }
  .about-side-list { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  .about-side-list > div { min-height: 72px; border-bottom: 1px solid var(--line); }
  .experience-card { position: absolute; top: 300px; left: 6vw; width: 150px; min-height: 132px; }
}


/* v16 refinement — About Us composition and section CTAs */
.about .split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 70px;
  align-items: center;
}
.about-visual {
  position: relative;
  overflow: visible;
}
.about-visual .experience-card {
  position: absolute;
  top: 18px;
  left: -46px;
  right: auto;
  bottom: auto;
  z-index: 3;
  width: 160px;
  min-height: 146px;
  margin: 0;
  padding: 20px 24px;
  display: grid;
  align-content: center;
  gap: 5px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(32, 52, 116, .08);
  border-radius: 6px;
  box-shadow: 0 14px 35px rgba(32, 52, 116, .16);
}
.about-visual .experience-card strong {
  color: var(--accent);
  font-size: 42px;
  line-height: 1;
}
.about-visual .experience-card span {
  color: var(--navy);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}
.about .copy-block .button,
.factories-intro .button {
  margin-top: 18px;
}
@media (max-width: 1050px) {
  .about .split-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-visual .experience-card { top: 18px; left: -24px; }
}
@media (max-width: 760px) {
  .about .split-grid { grid-template-columns: 1fr; }
  .about-visual .experience-card { top: 18px; left: 18px; width: 150px; min-height: 132px; }
}


/* Our Works dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-dropdown-toggle:hover, .nav-dropdown:focus-within .nav-dropdown-toggle { color: var(--navy); border-color: var(--accent); }
.nav-arrow { font-size: 14px; line-height: 1; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 30px rgba(32,52,116,.12); display: none; z-index: 20; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: grid; }
.nav-dropdown-menu a { display: flex; justify-content: space-between; gap: 20px; padding: 11px 12px; border-radius: 4px; white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--bg); color: var(--navy); }
.gallery-page { min-height: 100vh; background: var(--bg); }
.gallery-hero { padding: 150px 5vw 70px; background: var(--navy); color: white; }
.gallery-hero h1 { color: white; font-size: clamp(48px, 7vw, 100px); }
.gallery-hero p { max-width: 560px; margin-top: 24px; color: rgba(255,255,255,.8); }
.gallery-wrap { padding: 70px 5vw 100px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gallery-card { min-height: 360px; border-radius: 6px; overflow: hidden; position: relative; background: linear-gradient(135deg, #c7b9a6, #8c7864); }
.gallery-card:nth-child(2n) { background: linear-gradient(135deg, #9d9c91, #4c5361); }
.gallery-card:nth-child(3n) { background: linear-gradient(135deg, #d8cbbd, #9f765e); }
.gallery-card:nth-child(4n) { background: linear-gradient(135deg, #b6b1a4, #69717a); }
.gallery-card::after { content: "Image showcase placeholder"; position: absolute; inset: auto 22px 20px; color: white; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; opacity: .8; }
.gallery-card.tall { min-height: 520px; }
.gallery-back { margin-top: 35px; display: inline-flex; color: white; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 6px; }
@media (max-width: 760px) { .nav-dropdown { width: 100%; } .nav-dropdown-toggle { width: 100%; justify-content: space-between; } .nav-dropdown-menu { position: static; box-shadow: none; margin: 0 0 8px; } .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: grid; } .gallery-grid { grid-template-columns: 1fr; } .gallery-card, .gallery-card.tall { min-height: 300px; } }


/* v21 refinements — stable dropdown hover area and four-column lightbox gallery */
.nav-dropdown-toggle { align-items: center; }
.nav-arrow { display: inline-flex; align-items: center; justify-content: center; line-height: 1; transform: none; position: relative; top: 0; vertical-align: middle; }
.nav-dropdown-menu { top: 100%; padding-top: 14px; margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.nav-dropdown-menu a.active { color: var(--navy); }
.nav-dropdown-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px; }
.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gallery-card { min-height: 260px; cursor: zoom-in; transition: transform .25s ease, box-shadow .25s ease; }
.gallery-card.tall { min-height: 360px; }
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(32,52,116,.14); }
.gallery-lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 32px 76px; background: rgba(12,20,43,.9); }
.gallery-lightbox.open { display: flex; }
.lightbox-panel { position: relative; width: min(100%, 1100px); height: min(86vh, 760px); display: flex; align-items: center; justify-content: center; }
.lightbox-image { width: 100%; height: 100%; border-radius: 8px; background: linear-gradient(135deg, #c7b9a6, #8c7864); box-shadow: 0 20px 70px rgba(0,0,0,.3); }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: white; background: rgba(12,20,43,.45); cursor: pointer; font-size: 24px; }
.lightbox-close { top: -18px; right: -18px; }
.lightbox-prev { left: -58px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -58px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); }
@media (max-width: 1050px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .nav-dropdown-menu { padding-top: 8px; } .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery-card, .gallery-card.tall { min-height: 260px; } .gallery-lightbox { padding: 24px 56px; } .lightbox-prev { left: -48px; } .lightbox-next { right: -48px; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-lightbox { padding: 20px 46px; } .lightbox-close { top: -14px; right: -14px; } .lightbox-prev { left: -42px; } .lightbox-next { right: -42px; } }

/* v23: uploaded project gallery images */
.gallery-card.project-image::after { content: none; }
.gallery-card.project-image { background-repeat: no-repeat; background-color: transparent; }

/* v27: small, thin downward chevron aligned consistently across every page */
.nav-dropdown-toggle {
  gap: 9px;
}
.nav-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .nav-dropdown-toggle { gap: 8px; }
}


/* v38: show the complete image in the lightbox without aspect-ratio cropping */
.lightbox-panel { width: min(100%, 1400px); height: min(90vh, 900px); }
.lightbox-image { background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; }
/* CMS-uploaded homepage images preserve their aspect ratio while cropping to each design frame. */
.hero-image, .about-visual, .contact-image, .factory-image, .serve-image { background-size: cover; background-position: center; background-repeat: no-repeat; }

.homepage-image-list{display:grid;gap:14px;margin:18px 0 22px}.homepage-image-row{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;align-items:center;gap:14px;border:1px solid rgba(32,52,116,.16);padding:12px;border-radius:12px;background:rgba(255,255,255,.35)}.homepage-image-row img{width:180px;height:110px;object-fit:contain;background:#f5f0ea;border-radius:8px}.homepage-image-empty{width:180px;height:110px;display:grid;place-items:center;background:#f5f0ea;border-radius:8px;color:#777;font-size:13px}.homepage-image-row button{white-space:nowrap}@media(max-width:760px){.homepage-image-row{grid-template-columns:1fr}.homepage-image-row img,.homepage-image-empty{width:100%;height:180px}}

/* Header alignment refinement — nudge the logo slightly left on all screen sizes */
.site-header > .brand {
  transform: translateX(-8px);
}

@media (max-width: 760px) {
  .site-header > .brand {
    transform: translateX(-24px);
  }
}


/* Our Partners section */
.partners { background: var(--white); }
.partners-heading { margin-bottom: 38px; }
.partners-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.partner-logo-card { min-height: 150px; padding: 24px; border: 1px solid rgba(32,52,116,.12); border-radius: 8px; display: grid; place-items: center; background: #fff; transition: none; }

.partner-logo-card img { display: block; width: 100%; height: 92px; object-fit: contain; }
.partners-empty { grid-column: 1 / -1; padding: 34px; text-align: center; color: #777; border: 1px dashed rgba(32,52,116,.2); border-radius: 8px; font-size: 13px; }
@media (max-width: 1050px) { .partners-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .partner-logo-card { min-height: 125px; padding: 18px; } .partner-logo-card img { height: 76px; } }
