/* ============================================
   SBPL uPVC Profiles - Main Stylesheet
   Author: SBPL Design Team
   Version: 1.0
============================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --navy:       #0A1F44;
  --navy-mid:   #132D5E;
  --navy-light: #1E4080;
  --accent:     #F59E0B;
  --accent-2:   #D97706;
  --steel:      #6B7C99;
  --steel-light:#A8B8CC;
  --white:      #FFFFFF;
  --off-white:  #F4F6FA;
  --grey-100:   #E8ECF2;
  --grey-200:   #CDD4DF;
  --grey-600:   #4A5568;
  --grey-800:   #1A202C;
  --text-dark:  #0D1B33;
  --text-body:  #3D4F6B;
  --shadow-sm:  0 2px 8px rgba(10,31,68,.08);
  --shadow-md:  0 6px 24px rgba(10,31,68,.13);
  --shadow-lg:  0 16px 48px rgba(10,31,68,.18);
  --radius:     8px;
  --radius-lg:  16px;
  --trans:      all .3s cubic-bezier(.4,0,.2,1);
  --font-head:  'Poppins', sans-serif;
  --font-body:  'Inter', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .6rem;
}

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--text-body); font-size: 1.05rem; }

/* ---- Divider Accent ---- */
.divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  margin: .9rem auto 1.4rem;
}
.divider.left { margin-left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .82rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 600;
  transition: var(--trans);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--navy);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,.4);
  filter: brightness(1.06);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: .55rem 1.3rem;
  font-size: .84rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================
   NAVIGATION
============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--trans);
  padding: 0;
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 4px 24px rgba(10,31,68,.25);
}

.navbar.scrolled .nav-top-bar { display: none; }

.nav-top-bar {
  background: var(--navy);
  padding: .45rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .82rem;
  color: var(--steel-light);
}

.nav-top-inner a { color: var(--steel-light); transition: color .2s; }
.nav-top-inner a:hover { color: var(--accent); }

.nav-top-contact { display: flex; gap: 1.5rem; align-items: center; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .88rem;
  color: var(--accent) !important;
}

.nav-main {
  background: rgba(10,31,68,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--white), var(--white));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
}

.logo-text { line-height: 1.1; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
}
.logo-sub {
  font-size: .68rem;
  color: var(--steel-light);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links > li { position: relative; }

.nav-links a {
  display: block;
  padding: .55rem .85rem;
  font-family: var(--font-head);
  font-size: .87rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: 6px;
  transition: var(--trans);
  white-space: nowrap; /* keep link text on one line */
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(255,255,255,.06);
}

/* Dropdown */
.nav-links .dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 200px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--trans);
  z-index: 100;
}

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

.dropdown-menu a {
  padding: .6rem 1rem;
  border-radius: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .84rem;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: rgba(232,160,32,.1); color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }

/* ---- Hamburger button ---- */
.nav-toggle {
  display: none;           /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: .4rem;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--trans);
  z-index: 1001;
}
.nav-toggle:hover { background: rgba(255,255,255,.15); }
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
  display: block;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile Nav Drawer ----
   Always rendered in DOM; hidden via max-height + visibility.
   JS toggles .open class to reveal it.
   display:block is set at ≤768px so it participates in layout.
*/
.mobile-nav {
  display: none;                              /* off on desktop */
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.1);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height .42s cubic-bezier(.4,0,.2,1),
              visibility   .42s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open {
  max-height: 700px;
  visibility: visible;
}
.mobile-nav ul { padding: .5rem 0; }
.mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav ul li:last-child { border-bottom: none; }
.mobile-nav a {
  display: flex;
  align-items: center;
  padding: .9rem 1.25rem;
  color: rgba(255,255,255,.88);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 500;
  transition: var(--trans);
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
  background: rgba(255,255,255,.05);
  padding-left: 1.6rem;
}
.mobile-nav .mobile-cta {
  padding: 1rem 1.25rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.2);
}
.mobile-nav .mobile-cta .btn {
  flex: 1;
  justify-content: center;
  min-width: 120px;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,31,68,.92) 0%, rgba(19,45,94,.75) 50%, rgba(30,64,128,.6) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
  z-index: 0;
}

/* Geometric decoration */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(232,160,32,.08) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.3);
  color: var(--accent-2);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge span { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-2);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.78);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-lbl {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .05em;
}

/* Floating card */
.hero-float-card {
  position: absolute;
  right: 3%;
  bottom: 12%;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  min-width: 200px;
  z-index: 1;
}
.hero-float-card .fc-label {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .3rem;
}
.hero-float-card .fc-value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-2);
  display: block;
}
.hero-float-card .fc-sub {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { opacity: .5; }

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   TRUST BAR
============================================ */
.trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--grey-100);
  padding: 1.25rem 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: .02em;
}

.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ============================================
   ABOUT SECTION
============================================ */
.about { background: var(--white); }

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

.about-visual { position: relative; }

.about-img-main {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

.about-badge-float {
  position: absolute;
  top: 2rem;
  left: -2rem;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge-float strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--accent-2);
}
.about-badge-float span { font-size: .78rem; opacity: .8; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.about-feat {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem;
  border-radius: var(--radius);
  background: var(--off-white);
  transition: var(--trans);
}
.about-feat:hover { background: var(--grey-100); transform: translateY(-2px); }

.feat-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-2);
  font-size: .9rem;
}

.feat-text strong { font-family: var(--font-head); font-size: .88rem; color: var(--text-dark); display: block; }
.feat-text span { font-size: .78rem; color: var(--steel); }

/* ============================================
   PRODUCTS SECTION
============================================ */
.products { background: var(--off-white); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  border: 1px solid var(--grey-100);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,160,32,.2);
}

.product-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-img img { transform: scale(1.07); }

.product-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--navy);
  color: var(--white);
  font-size: .7rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 4px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.product-body {
  padding: 1.4rem;
}
.product-body h3 { margin-bottom: .5rem; }
.product-body p { font-size: .88rem; color: var(--text-body); margin-bottom: 1.2rem; }

/* ============================================
   WHY CHOOSE US
============================================ */
.why-us { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--grey-100);
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  opacity: 0;
  transition: var(--trans);
  z-index: 0;
}

.why-card:hover::before { opacity: 1; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-card:hover h3, .why-card:hover p { color: rgba(255,255,255,.9); }

.why-card > * { position: relative; z-index: 1; }

.why-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: var(--trans);
  font-size: 1.6rem;
}

.why-card:hover .why-icon {
  background: rgba(255,255,255,.15);
  color: var(--accent-2);
}

.why-card h3 { margin-bottom: .5rem; transition: var(--trans); }
.why-card p { font-size: .88rem; transition: var(--trans); }

/* ============================================
   MANUFACTURING PROCESS
============================================ */
.process { background: var(--navy); position: relative; overflow: hidden; }

.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

.process .section-header h2,
.process .section-header p,
.process .section-label { color: var(--white); }
.process .section-header p { color: rgba(255,255,255,.65); }
.process .divider { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 .75rem;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 4px rgba(232,160,32,.2), 0 0 0 8px rgba(232,160,32,.08);
}

.step-item h4 {
  color: var(--white);
  font-size: .92rem;
  margin-bottom: .4rem;
}

.step-item p {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  line-height: 1.45;
}

/* ============================================
   GALLERY / PROJECTS
============================================ */
.gallery { background: var(--off-white); }

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: .5rem 1.4rem;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: .84rem;
  font-weight: 500;
  border: 1px solid var(--grey-200);
  color: var(--text-body);
  background: var(--white);
  transition: var(--trans);
}

.gallery-tab.active,
.gallery-tab:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--grey-200);
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,31,68,.85) 0%, transparent 50%);
  opacity: 0;
  transition: var(--trans);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
}

.gallery-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  color: var(--navy);
}
.gallery-item:hover .gallery-zoom { transform: translate(-50%, -50%) scale(1); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--trans);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans);
  border: 1px solid rgba(255,255,255,.2);
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials { background: var(--white); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--grey-100);
  transition: var(--trans);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,160,32,.2);
}

.testimonial-quote {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: .5rem;
}

.stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: .92rem;
  color: var(--text-body);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--grey-200);
}

.author-info strong {
  display: block;
  font-family: var(--font-head);
  font-size: .9rem;
  color: var(--text-dark);
}
.author-info span { font-size: .78rem; color: var(--steel); }

/* ============================================
   CTA BANNER
============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(232,160,32,.06);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-text h2 { color: var(--white); }
.cta-text p { color: rgba(255,255,255,.7); margin-top: .5rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================
   CONTACT SECTION
============================================ */
.contact { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}

.contact-info h3 { margin-bottom: .75rem; }
.contact-info p { font-size: .92rem; margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ci-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  flex-shrink: 0;
}

.ci-text strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--text-dark); }
.ci-text span, .ci-text a { font-size: .88rem; color: var(--text-body); }
.ci-text a:hover { color: var(--accent); }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #25D366;
  color: var(--white);
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--trans);
}
.whatsapp-btn:hover { background: #1DB954; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.35); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-100);
}

.contact-form-wrap h3 { margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--trans);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30,64,128,.08);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group.error input,
.form-group.error textarea { border-color: #e53e3e; }
.error-msg { font-size: .78rem; color: #e53e3e; display: none; }
.form-group.error .error-msg { display: block; }

.form-success {
  display: none;
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #276749;
  font-size: .9rem;
  margin-top: 1rem;
  align-items: center;
  gap: .5rem;
}
.form-success.show { display: flex; }

/* Map */
.map-wrap {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--grey-800);
  color: rgba(255,255,255,.7);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,.45); }

.footer-about {
  font-size: .87rem;
  line-height: 1.7;
  margin: 1.25rem 0;
  color: rgba(255,255,255,.6);
}

.footer-socials {
  display: flex;
  gap: .6rem;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--trans);
  font-size: .9rem;
}
.social-link:hover { background: var(--accent); color: var(--navy); border-color: var(--accent); }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: .95rem;
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .86rem;
  color: rgba(255,255,255,.6);
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-links a::before { content: '›'; color: var(--accent); font-size: 1rem; }
.footer-links a:hover { color: var(--accent); padding-left: .25rem; }

.footer-contact-list { display: flex; flex-direction: column; gap: .8rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-contact-list li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .83rem;
}

.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.5); transition: var(--trans); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ============================================
   FLOATING ELEMENTS
============================================ */
.float-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: var(--trans);
  animation: pulse-wa 3s infinite;
}
.float-whatsapp:hover { transform: scale(1.1); }
.float-whatsapp svg { color: var(--white); }

@keyframes pulse-wa {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50% { box-shadow: 0 6px 32px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.1); }
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: var(--navy);
  padding: .75rem 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
  gap: .5rem;
}

/* ============================================
   PAGE HEADER (inner pages)
============================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 140px 0 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-header h1 { color: var(--white); position: relative; z-index: 1; }
.page-header .breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-top: .75rem;
}
.page-header .breadcrumb a { color: var(--accent-2); }
.page-header .breadcrumb span { opacity: .5; }

/* ============================================
   ANIMATIONS
============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* ============================================
   RESPONSIVE — Mobile-first, carefully tuned
   Breakpoints: 1100 | 900 | 768 | 480 | 360
============================================ */

/* ---- 1100px: Tablet-landscape / small laptops ---- */
@media (max-width: 1100px) {
  .products-grid          { grid-template-columns: repeat(2, 1fr); }
  .why-grid               { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid       { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid           { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 1; }
  .process-steps          { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .process-steps::before  { display: none; }
  .footer-top             { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Slightly reduce nav link padding so they all fit */
  .nav-links a            { padding: .5rem .6rem; font-size: .82rem; }
  .nav-cta .btn           { padding: .55rem 1rem; font-size: .82rem; }
}

/* ---- 900px: Tablet-portrait ---- */
@media (max-width: 900px) {
  .section        { padding: 72px 0; }

  .about-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-accent  { display: none; }
  .about-badge-float { left: 1rem; top: 1rem; }
  .about-img-main    { height: 340px; }

  .contact-grid      { grid-template-columns: 1fr; }
  .gallery-grid      { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item:nth-child(1) { grid-column: span 1; }

  .hero-float-card   { display: none; }

  /* Step items wrap to 2 cols */
  .process-steps     { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 768px: Mobile — hamburger menu activates ---- */
@media (max-width: 768px) {
  /* ── Section spacing ── */
  .section    { padding: 56px 0; }
  .section-sm { padding: 44px 0; }

  /* ── Navbar: hide desktop nav, show hamburger ── */
  .nav-top-bar   { display: none; }
  .nav-links     { display: none !important; }   /* force-hide desktop nav */
  .nav-cta       { display: none !important; }   /* force-hide desktop CTA */
  .nav-toggle    { display: flex; }              /* show hamburger */
  .mobile-nav    { display: block; }             /* allow mobile nav to render */

  /* Ensure nav-main padding is comfortable on mobile */
  .nav-main      { padding: .75rem 0; }
  .nav-inner     { gap: .75rem; }

  /* Logo: shrink slightly on mobile */
  .logo-name     { font-size: 1rem; }
  .logo-sub      { display: none; }             /* hide tagline on small screens */
  .logo-icon     { width: 38px; height: 38px; font-size: 1.1rem; }

  /* ── Hero ── */
  .hero          { min-height: 100svh; }         /* use svh to avoid mobile browser bar */
  .hero-content  { max-width: 100%; }
  .hero h1       { font-size: clamp(1.75rem, 7vw, 2.6rem); }
  .hero-sub      { font-size: .95rem; }
  .hero-actions  { gap: .75rem; }
  .hero-stats    { gap: 1.25rem; flex-wrap: wrap; }
  .stat-num      { font-size: 1.5rem; }
  .hero-badge    { font-size: .72rem; }

  /* ── About ── */
  .about-img-main   { height: 260px; }
  .about-features   { grid-template-columns: 1fr; gap: .75rem; }
  .about-badge-float { display: none; }

  /* ── Products ── */
  .products-grid { grid-template-columns: 1fr; }

  /* ── Why Us ── */
  .why-grid { grid-template-columns: 1fr; }

  /* ── Process ── */
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* ── Gallery ── */
  .gallery-grid       { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-tabs       { gap: .4rem; }
  .gallery-tab        { font-size: .78rem; padding: .4rem 1rem; }

  /* ── Testimonials ── */
  .testimonial-grid  { grid-template-columns: 1fr; }

  /* ── CTA banner ── */
  .cta-inner         { flex-direction: column; text-align: center; align-items: center; }
  .cta-actions       { flex-direction: column; width: 100%; }
  .cta-actions .btn  { width: 100%; justify-content: center; }

  /* ── Trust bar ── */
  .trust-items       { gap: 1rem 2rem; }
  .trust-item        { font-size: .78rem; }

  /* ── Contact ── */
  .contact-form-wrap { padding: 1.5rem; }
  .form-row          { grid-template-columns: 1fr; }
  .map-wrap          { height: 220px; }

  /* ── Footer ── */
  .footer-top        { grid-template-columns: 1fr; gap: 1.75rem; padding: 2.5rem 0 2rem; }
  .footer-bottom     { flex-direction: column; text-align: center; gap: .6rem; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* ── Floating / sticky ── */
  .float-whatsapp    { bottom: 5rem; right: 1rem; width: 50px; height: 50px; }
  .mobile-sticky-cta { display: flex; }

  /* ── Page header (inner pages) ── */
  .page-header  { padding: 110px 0 44px; }
  .page-header h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* ---- 480px: Small phones ---- */
@media (max-width: 480px) {
  /* ── Container padding ── */
  .container { padding: 0 1rem; }

  /* ── Hero ── */
  .hero-actions  { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats    { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
  .stat-item     { flex: 1 1 calc(50% - 1rem); }

  /* ── Hero badge ── */
  .hero-badge    { font-size: .68rem; padding: .35rem .75rem; }

  /* ── Products ── */
  .product-img   { height: 180px; }

  /* ── Process ── */
  .process-steps { grid-template-columns: 1fr; }
  .step-item     { display: flex; flex-direction: column; align-items: center; }

  /* ── Gallery ── */
  .gallery-grid  { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) { grid-column: span 1; grid-row: span 1; }

  /* ── Why grid ── */
  .why-card      { padding: 1.5rem 1rem; }
  .why-icon      { width: 52px; height: 52px; font-size: 1.3rem; }

  /* ── Testimonials ── */
  .testimonial-card { padding: 1.25rem; }

  /* ── Trust bar ── */
  .trust-items { flex-direction: column; align-items: center; gap: .75rem; }

  /* ── Section labels / headings ── */
  h2 { font-size: clamp(1.35rem, 5.5vw, 1.8rem); }

  /* ── Contact ── */
  .contact-form-wrap { padding: 1.25rem; }

  /* ── Footer ── */
  .footer-socials { justify-content: center; }
  .social-link    { width: 40px; height: 40px; }

  /* ── Mobile sticky CTA ── */
  .mobile-sticky-cta .btn { font-size: .82rem; padding: .65rem .75rem; }
}

/* ---- 360px: Very small phones ---- */
@media (max-width: 360px) {
  .container  { padding: 0 .75rem; }
  .logo-name  { font-size: .88rem; }
  .logo-icon  { width: 34px; height: 34px; font-size: 1rem; }
  .btn        { padding: .7rem 1.2rem; font-size: .82rem; }
  .btn-lg     { padding: .8rem 1.5rem; font-size: .88rem; }
  .hero h1    { font-size: 1.6rem; }
  .hero-sub   { font-size: .88rem; }
  .section-label { font-size: .72rem; }
  .stat-item  { flex: 1 1 100%; }

  /* Stack hero buttons fully */
  .hero-actions .btn { font-size: .85rem; }
}
