/* ============================================================
   HAGAS & PARTNERS — Main Stylesheet
   Colors: Green #1FA640 | Navy #1E2D7D | White #FFFFFF
   Fonts: Barlow Condensed (headings) | Barlow (body)
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --green: #1FA640;
  --green-dark: #177a30;
  --green-light: #e8f7ec;
  --navy: #1E2D7D;
  --navy-dark: #141f5a;
  --navy-light: #eaedfa;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e5ea;
  --gray-400: #9ba3af;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --text: #1a1f2e;
  --text-light: #4b5563;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --nav-height: 72px;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', 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);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-tag.light { color: var(--green-light); }
.section-tag.light::before { background: var(--green-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--text);
}
.section-title.light { color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-tag {
  justify-content: center;
}
.section-header .section-tag::before { display: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31,166,64,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background-color: var(--navy) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.25) !important;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--white);
  text-transform: uppercase;
}
.logo-icon svg { display: block; }
.logo-amp { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 20px;
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.hamburger.open .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: transparent;
  padding: 16px 24px 24px;
  border-top: 1px solid transparent;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.4s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.mobile-menu.open,
.navbar.scrolled .mobile-menu {
  background-color: var(--navy);
  border-top-color: rgba(255,255,255,.08);
}
.mobile-menu.open {
  max-height: 500px;
  padding: 16px 24px 24px;
}
.mobile-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color var(--transition);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--green); }
.mobile-cta {
  margin-top: 12px;
  background: var(--green);
  color: var(--white) !important;
  padding: 14px 24px;
  border-radius: var(--radius);
  text-align: center;
  border-bottom: none !important;
}
.mobile-cta:hover { background: var(--green-dark); color: var(--white) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0);  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(14,20,60,.85) 0%,
    rgba(14,20,60,.65) 50%,
    rgba(31,166,64,.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 0 24px;
  padding-top: var(--nav-height);
  animation: fadeUp .9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(31,166,64,.12);
  border: 1px solid rgba(31,166,64,.35);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
  animation: fadeUp .9s .15s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
  animation: fadeUp .9s .25s ease both;
}
.hero-amp { color: var(--green); }

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeUp .9s .38s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .9s .5s ease both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 20px; opacity: 0; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.badge-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}

.about-content { padding-left: 12px; }
.about-text {
  color: var(--text-light);
  margin-bottom: 18px;
  font-size: 16.5px;
  line-height: 1.75;
}
.about-text:last-of-type { margin-bottom: 32px; }
.about-content .btn-primary { margin-top: 8px; }

/* ============================================================
   VISION & MISSION
   ============================================================ */
.vm-section {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.vm-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(31,166,64,.15) 0%, transparent 70%);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 64px;
  align-items: start;
}
.vm-divider {
  width: 1px;
  background: rgba(255,255,255,.12);
  align-self: stretch;
}

.vm-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,.06);
  line-height: 1;
  margin-bottom: -20px;
}
.vm-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}
.vm-text {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  line-height: 1.8;
}

.mission-points { display: flex; flex-direction: column; gap: 28px; }
.mission-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.mp-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--green);
  flex-shrink: 0;
  min-width: 28px;
}
.mission-point div {
  color: rgba(255,255,255,.7);
  font-size: 15.5px;
  line-height: 1.7;
}
.mission-point strong { color: var(--white); }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 100px 0;
  background: var(--off-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card--wide {
  grid-column: span 3;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green);
}
.service-icon svg { width: 28px; height: 28px; }

.service-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.service-desc {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

.service-card--wide {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--navy);
  border-color: transparent;
}
.service-card--wide .service-icon {
  background: rgba(31,166,64,.15);
  color: var(--green);
  flex-shrink: 0;
}
.service-card--wide .service-name { color: var(--white); }
.service-card--wide .service-desc { color: rgba(255,255,255,.7); }
.service-card--wide::before { background: var(--green); }

/* ============================================================
   PROJECTS GALLERY
   ============================================================ */
.projects {
  padding: 100px 0;
  background: var(--white);
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 40px;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.filter-btn:hover { background: var(--navy-light); color: var(--navy); }
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--gray-100);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,45,125,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 8px 18px;
  border-radius: 4px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-item.hidden { display: none !important; }

.gallery-load-more {
  margin-top: 40px;
  text-align: center;
}
.gallery-load-more .btn-outline {
  color: var(--navy);
  border-color: var(--navy);
}
.gallery-load-more .btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients {
  padding: 100px 0;
  background: var(--off-white);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}
.client-logo-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  min-height: 90px;
}
.client-logo-wrap:hover {
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(31,166,64,.1);
  transform: translateY(-3px);
}
.client-logo-wrap img {
  max-height: 60px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter var(--transition);
}
.client-logo-wrap:hover img { filter: grayscale(0%); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 100px 0;
  position: relative;
  background: var(--navy);
}
.contact-bg-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 60%, #1a3560 100%);
}
.contact > .container { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-sub {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  line-height: 1.75;
  margin: 20px 0 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-icon {
  width: 44px;
  height: 44px;
  background: rgba(31,166,64,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.ci-icon svg { width: 20px; height: 20px; }
.contact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.contact-item p, .contact-item a {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--white); }

/* Contact form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31,166,64,.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; cursor: pointer; }

.form-feedback {
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  display: none;
}
.form-feedback.success {
  display: block;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid var(--green);
}
.form-feedback.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-800);
  color: rgba(255,255,255,.65);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.footer-logo .logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--white);
}
.footer-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 14.5px;
  line-height: 1.75;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links li, .footer-links a { font-size: 14.5px; transition: color var(--transition); }
.footer-links a:hover { color: var(--green); }
.footer-contact li { line-height: 1.6; }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lb-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#lbImg {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  animation: lbIn 0.3s ease both;
}
@keyframes lbIn {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.lb-caption {
  margin-top: 14px;
  color: rgba(255,255,255,.6);
  font-size: 14px;
  text-align: center;
  font-family: var(--font-body);
}

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  transition: background var(--transition);
  backdrop-filter: blur(8px);
}
.lb-close { top: 20px; right: 20px; font-size: 28px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--green); }

/* Back to Top */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  pointer-events: none;
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { gap: 48px; }
  .vm-grid { grid-template-columns: 1fr; gap: 48px; }
  .vm-divider { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ============================================================
   RESPONSIVE — TABLET PORTRAIT (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  /* Navbar: hide links, show hamburger */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-image-wrap { order: -1; }
  .about-badge { bottom: -16px; right: -8px; }
  .about-content { padding-left: 0; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; flex-direction: column; }

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

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

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 32px 24px; }

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

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-num { font-size: 3rem; }

  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }

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

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   WHATSAPP BUTTONS & MATERIALS SECTION — Additions
   ============================================================ */

/* ── WhatsApp Button ── */
.btn-whatsapp {
  background: #25D366;
  color: var(--white) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  color: var(--white) !important;
}
.btn-whatsapp--lg {
  padding: 18px 36px;
  font-size: 17px;
}

/* ── Hero: btn-outline override for dark bg ── */
.hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}

/* ── Services section CTA strip ── */
.section-cta {
  margin-top: 52px;
  background: var(--green-light);
  border: 1.5px solid rgba(31,166,64,.2);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-cta p {
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
}
@media (max-width: 640px) {
  .section-cta { flex-direction: column; text-align: center; padding: 24px; }
  .section-cta .btn-whatsapp { width: 100%; justify-content: center; }
}

/* ============================================================
   MATERIALS SECTION — Premium Catalog Design
   ============================================================ */
.materials {
  padding: 110px 0 100px;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

/* Diagonal top edge coming from navy section above */
.materials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--green) 50%, var(--navy) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Section header overrides for light bg */
.materials .container { position: relative; z-index: 1; }
.materials .section-header { margin-bottom: 60px; }
.materials .section-tag { color: var(--green); }
.materials .section-tag::before { background: var(--green); }
.materials .section-title { color: var(--text); }

.materials-intro {
  font-size: 17px;
  color: var(--text-light);
  max-width: 580px;
  margin: 16px auto 0;
  line-height: 1.8;
}

/* ── 2×2 category grid ── */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* ── Each category card ── */
.mat-category {
  background: var(--white);
  padding: 40px 36px;
  position: relative;
  transition: background var(--transition);
  border-right: 1.5px solid var(--gray-200);
  border-bottom: 1.5px solid var(--gray-200);
}
/* Remove right border on even cards, bottom border on last row */
.mat-category:nth-child(2n)  { border-right: none; }
.mat-category:nth-child(3),
.mat-category:nth-child(4)   { border-bottom: none; }

/* Round the corner cells to match grid border-radius */
.mat-category:nth-child(1) { border-radius: var(--radius-lg) 0 0 0; }
.mat-category:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
.mat-category:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
.mat-category:nth-child(4) { border-radius: 0 0 var(--radius-lg) 0; }

.mat-category::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: inherit;
  clip-path: inset(0 0 calc(100% - 4px) 0);
}
.mat-category:hover { background: #fafffe; }
.mat-category:hover::before { transform: scaleX(1); }

/* Giant watermark number */
.mat-cat-num {
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  pointer-events: none;
  transition: color var(--transition);
  user-select: none;
}
.mat-category:hover .mat-cat-num { color: rgba(31,166,64,.12); }

/* Header row */
.mat-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.mat-cat-icon {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.mat-cat-icon svg { width: 26px; height: 26px; }
.mat-category:hover .mat-cat-icon {
  background: var(--green);
  color: var(--white);
  transform: rotate(-4deg) scale(1.05);
}
.mat-cat-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  line-height: 1.2;
}

/* ── Product item rows ── */
.mat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--gray-200);
  transition: padding-left var(--transition);
}
.mat-item:last-child { border-bottom: none; }
.mat-category:hover .mat-item { padding-left: 4px; }

/* Checkmark icon replaces dot */
.mat-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.mat-check svg {
  width: 12px;
  height: 12px;
  color: var(--green);
  display: block;
  transition: color var(--transition);
}
.mat-check--highlight { background: var(--green); }
.mat-check--highlight svg { color: var(--white); }
.mat-category:hover .mat-check { background: var(--green); }
.mat-category:hover .mat-check svg { color: var(--white); }
.mat-category:hover .mat-check--highlight { background: var(--green-dark); }

.mat-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.mat-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  line-height: 1.3;
}
.mat-note {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.mat-category:hover .mat-note {
  background: var(--green-light);
  color: var(--green-dark);
}

/* ── Materials CTA — split panel ── */
.materials-cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
  border-radius: 0;
  overflow: hidden;
}

.mcta-left {
  background: var(--navy);
  padding: 56px 52px;
  position: relative;
  overflow: hidden;
}
.mcta-left::after {
  content: '"';
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 200px;
  font-family: var(--font-display);
  font-weight: 900;
  color: rgba(255,255,255,.04);
  line-height: 1;
  pointer-events: none;
}
.mcta-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.mcta-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
}
.mcta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.mcta-sub {
  color: rgba(255,255,255,.6);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 420px;
}

.mcta-right {
  background: var(--green);
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Decorative rings */
.mcta-right::before,
.mcta-right::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.12);
}
.mcta-right::before {
  width: 240px; height: 240px;
  top: -60px; right: -60px;
}
.mcta-right::after {
  width: 160px; height: 160px;
  bottom: -30px; left: -30px;
}

.mcta-right-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}
.mcta-right-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 10px;
}
.mcta-right-sub {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 28px;
}
.mcta-right .btn-whatsapp--lg {
  background: var(--white);
  color: var(--green) !important;
  position: relative;
  z-index: 1;
}
.mcta-right .btn-whatsapp--lg:hover {
  background: var(--navy);
  color: var(--white) !important;
  box-shadow: 0 10px 32px rgba(0,0,0,.2);
}

/* Responsive materials */
@media (max-width: 1024px) {
  .mat-info { flex-direction: column; align-items: flex-start; gap: 2px; }
  .mat-note { align-self: flex-start; }
}
@media (max-width: 768px) {
  .materials { padding: 80px 0 80px; }
  .materials-grid { grid-template-columns: 1fr; }
  /* Reset all card borders and radii for single column */
  .mat-category { border-right: none; border-bottom: 1.5px solid var(--gray-200); border-radius: 0 !important; }
  .mat-category:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; }
  .mat-category:last-child  { border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important; border-bottom: none; }
  .materials-cta-box { grid-template-columns: 1fr; }
  .mcta-left, .mcta-right { padding: 40px 28px; }
  .mcta-right { align-items: stretch; }
  .mcta-right .btn-whatsapp--lg { justify-content: center; }
}

/* ── WhatsApp Quick Buttons (Contact section) ── */
.wa-quick {
  margin-bottom: 32px;
}
.wa-quick-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 12px;
}
.wa-quick-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.wa-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: rgba(37,211,102,.15);
  border: 1px solid rgba(37,211,102,.35);
  border-radius: 8px;
  color: #4cd97a;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.wa-quick-btn:hover {
  background: rgba(37,211,102,.25);
  border-color: rgba(37,211,102,.6);
  color: #5de087;
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .wa-quick-btns { flex-direction: column; }
  .wa-quick-btn { justify-content: center; }
}

/* ── Form OR divider ── */
.form-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  color: var(--gray-400);
  font-size: 13px;
}
.form-or::before, .form-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* ── Footer WhatsApp button ── */
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 18px;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.3);
  border-radius: 8px;
  color: #4cd97a;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.footer-wa-btn:hover {
  background: rgba(37,211,102,.2);
  border-color: rgba(37,211,102,.5);
  color: #5de087;
}

/* ── Floating WhatsApp FAB ── */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 28px;
  z-index: 998;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: all var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #1ebe5a;
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.6);
}
.whatsapp-float:hover .wa-float-tooltip {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
/* Pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.wa-float-tooltip {
  position: absolute;
  right: 68px;
  background: #1f2937;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 6px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: all var(--transition);
}
.wa-float-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1f2937;
  border-right: none;
}
@media (max-width: 480px) {
  .whatsapp-float { bottom: 80px; right: 16px; width: 52px; height: 52px; }
  .back-top { right: 16px; }
}