/* ===================== RESET & BASE ===================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark-green:    #1B5E20;
  --primary-green: #2E7D32;
  --medium-green:  #66BB6A;
  --light-green:   #A5D6A7;
  --pale-green:    #C8E6C9;
  --surface-green: #F1F8F1;
  --dark:          #1C1C1C;
  --dark-2:        #2a2a2a;
  --white:         #FFFFFF;
  --gray-50:       #F9FAFB;
  --gray-100:      #F3F4F6;
  --gray-400:      #9CA3AF;
  --gray-600:      #4B5563;
  --gray-800:      #1F2937;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(27,94,32,.10);
  --shadow-lg:  0 10px 40px rgba(27,94,32,.15);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.18);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  line-height: 1.15;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== UTILITIES ===================== */
.text-green { color: var(--primary-green); }

.section-badge {
  display: inline-block;
  background: var(--pale-green);
  color: var(--primary-green);
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 99px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
  box-shadow: 0 4px 20px rgba(46,125,50,.35);
}
.btn-primary:hover {
  background: var(--dark-green);
  border-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,94,32,.4);
}

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

.btn-large { padding: 17px 36px; font-size: 1.05rem; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,94,32,.08);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.10); }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark-green);
}

.nav-logo-icon {
  width: 38px;
  height: 50px;
  color: var(--dark-green);
  flex-shrink: 0;
}

.nav-logo-text { display: flex; flex-direction: column; }

.nav-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark-green);
  letter-spacing: .03em;
  line-height: 1.2;
}
.nav-logo-name strong { font-weight: 900; }

.nav-logo-sub {
  font-size: .65rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: .02em;
}
.nav-links li a:hover { color: var(--primary-green); background: var(--surface-green); }

.nav-wa-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: var(--primary-green) !important;
  color: var(--white) !important;
  padding: 9px 18px !important;
  border-radius: 99px !important;
  box-shadow: 0 4px 14px rgba(46,125,50,.3);
}
.nav-wa-btn:hover {
  background: var(--dark-green) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,94,32,.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark-green);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(11,47,13,.82) 0%,
    rgba(27,94,32,.72) 50%,
    rgba(11,47,13,.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 820px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 99px;
  margin-bottom: 28px;
  animation: fadeInDown .8s ease both;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  animation: fadeInUp .8s .15s ease both;
}

.hero-accent { color: var(--medium-green); }

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.88);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp .8s .3s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp .8s .45s ease both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeIn 1s 1s ease both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ===================== STATS BAR ===================== */
.stats-bar {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
  padding: 32px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 16px 48px;
  flex: 1;
  min-width: 160px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.72);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* ===================== ABOUT ===================== */
.about {
  padding: 100px 0;
  background: var(--white);
}

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

.about-text .section-title { margin-bottom: 24px; }

.about-p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-green);
  border-left: 3px solid var(--primary-green);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark-green);
}

.pillar-icon { font-size: 1.1rem; }

.about-images {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

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

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.about-img-main:hover img { transform: scale(1.04); }

.about-img-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-img-secondary img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-slow);
}
.about-img-secondary img:hover { transform: scale(1.04); }

/* ===================== MISIÓN & VISIÓN ===================== */
.mision-vision {
  padding: 80px 0;
  background: var(--surface-green);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dark-green), var(--medium-green));
}
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mv-icon {
  width: 64px;
  height: 64px;
  background: var(--pale-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  margin-bottom: 24px;
}

.mv-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark-green);
  margin-bottom: 16px;
  letter-spacing: .02em;
}

.mv-card p {
  color: var(--gray-600);
  font-size: .97rem;
  line-height: 1.75;
}

/* ===================== SERVICES ===================== */
.services {
  padding: 100px 0;
  background: var(--white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27,94,32,.08);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dark-green), var(--medium-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover .service-card-top { transform: scaleX(1); }

.service-icon {
  color: var(--primary-green);
  margin-bottom: 20px;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1); }

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-600);
  font-size: .9rem;
  line-height: 1.7;
}

/* ===================== GALLERY ===================== */
.gallery {
  padding: 100px 0 0;
  background: var(--gray-50);
}

.gallery .section-header { padding: 0 24px; }

.gallery-masonry {
  margin-top: 40px;
  columns: 4 200px;
  column-gap: 6px;
  padding: 0 6px 6px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 6px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  position: relative;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(27,94,32,.0) 50%,
    rgba(27,94,32,.75) 100%
  );
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px 16px;
}

.gallery-item-overlay span {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item:hover .gallery-item-overlay span {
  opacity: 1;
  transform: translateY(0);
}

/* Large items for visual rhythm */
.gallery-item.large img { aspect-ratio: 3/4; object-fit: cover; }

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition: var(--transition);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.25); }

.lightbox-close { top: 20px; right: 20px; font-size: 1.6rem; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
}

/* ===================== CTA FINAL ===================== */
.cta-final {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.35) saturate(1.2);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,47,13,.88) 0%,
    rgba(27,94,32,.80) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

/* Extended logo in CTA */
.cta-logo {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding: 20px 32px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
}

.cta-logo-icon { width: 52px; height: 68px; }

.cta-logo-text {
  text-align: left;
  border-left: 1px solid rgba(255,255,255,.3);
  padding-left: 20px;
}

.cta-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .04em;
}
.cta-logo-name span {
  color: var(--medium-green);
  margin: 0 8px;
  font-weight: 300;
}

.cta-logo-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 4px;
}

.cta-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin-bottom: 40px;
}

.btn-wa-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 18px 40px;
  border-radius: 99px;
  box-shadow: 0 6px 32px rgba(37,211,102,.4);
  transition: var(--transition);
  letter-spacing: .02em;
}
.btn-wa-large:hover {
  background: #20bd5a;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,211,102,.5);
}

.cta-phone {
  margin-top: 20px;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-logo-icon { width: 44px; height: 58px; flex-shrink: 0; }

.footer-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .03em;
}
.footer-logo-name strong { font-weight: 900; }

.footer-logo-tagline {
  font-size: .6rem;
  color: var(--gray-400);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 3px;
}

.footer-desc {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  color: var(--light-green);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color var(--transition);
}
.footer-col ul li:hover { color: rgba(255,255,255,.85); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: none !important;
  padding: 7px 0 !important;
  color: rgba(255,255,255,.6) !important;
}

.footer-contact li svg { color: var(--medium-green); flex-shrink: 0; }

.footer-contact li a {
  color: inherit;
  transition: color var(--transition);
}
.footer-contact li a:hover { color: var(--medium-green); }

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: rgba(37,211,102,.15);
  border: 1px solid rgba(37,211,102,.3);
  color: #25D366;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  padding: 10px 20px;
  border-radius: 99px;
  transition: var(--transition);
}
.footer-wa-btn:hover {
  background: rgba(37,211,102,.25);
  border-color: rgba(37,211,102,.5);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ===================== FLOATING WHATSAPP ===================== */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  transition: var(--transition);
  animation: waPulse 3s ease infinite;
}
.floating-wa:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,.6);
  animation: none;
}

.floating-wa-tooltip {
  position: absolute;
  right: 72px;
  background: var(--dark);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 99px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
}
.floating-wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: var(--dark);
}
.floating-wa:hover .floating-wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== KEYFRAMES ===================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%,100% { opacity: .6; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.15); }
}

@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 4px 40px rgba(37,211,102,.7); }
}

/* ===================== RESPONSIVE ===================== */

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { gap: 48px; }
  .footer-grid   { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
}

/* ---- Mobile landscape & large phones ---- */
@media (max-width: 768px) {

  /* === NAVBAR === */
  .hamburger { display: flex; }

  /* Compact the navbar so the subtitle doesn't cause wrap */
  .nav-container { height: 64px; padding: 0 18px; }
  .nav-logo-icon { width: 28px; height: 38px; }
  .nav-logo-sub  { display: none; }           /* hide subtitle on mobile */
  .nav-logo-name { font-size: .88rem; }

  /* Mobile menu drawer */
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 20px;
    gap: 2px;
    box-shadow: 0 8px 32px rgba(0,0,0,.14);
    border-top: 1px solid rgba(27,94,32,.08);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li a  { padding: 13px 16px; font-size: .95rem; border-radius: var(--radius-sm); }
  .nav-wa-btn      { margin-top: 6px; justify-content: center; padding: 14px 20px !important; font-size: 1rem !important; }

  /* === HERO === */
  .hero { padding-top: 64px; }
  .hero-badge {
    font-size: .68rem;
    padding: 6px 14px;
    letter-spacing: .07em;
    max-width: 280px;
    text-align: center;
  }
  .hero-content { padding: 40px 20px; }
  .hero-subtitle { font-size: .97rem; }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .btn-large {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 15px 24px;
    font-size: .95rem;
  }
  .hero-scroll-indicator { bottom: 16px; }

  /* === STATS BAR === */
  .stats-bar { padding: 20px 0; }
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-divider { display: none; }
  .stat-item {
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-number { font-size: 1.7rem; }
  .stat-label  { font-size: .7rem; }

  /* === ABOUT === */
  .about { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-images { order: -1; }
  .about-img-secondary { grid-template-columns: 1fr 1fr; gap: 8px; }
  .about-p { font-size: .95rem; }
  .about-pillars { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pillar { font-size: .82rem; padding: 10px 12px; }

  /* === MISSION / VISION === */
  .mision-vision { padding: 48px 0; }
  .mv-grid { grid-template-columns: 1fr; gap: 20px; }
  .mv-card { padding: 32px 24px; }
  .mv-icon { width: 52px; height: 52px; margin-bottom: 18px; }

  /* === SERVICES === */
  .services { padding: 64px 0; }
  .section-header { margin-bottom: 36px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-card { padding: 24px 18px; border-radius: var(--radius-md); }
  .service-icon { margin-bottom: 14px; }
  .service-icon svg { width: 30px; height: 30px; }
  .service-card h3 { font-size: .92rem; margin-bottom: 8px; }
  .service-card p  { font-size: .82rem; line-height: 1.55; }

  /* === GALLERY === */
  .gallery { padding: 64px 0 0; }
  .gallery .section-header { padding: 0 18px; }
  .gallery-masonry {
    columns: 2;
    column-gap: 5px;
    padding: 0 5px 5px;
    margin-top: 28px;
  }
  .gallery-item { margin-bottom: 5px; border-radius: 4px; }

  /* === LIGHTBOX === */
  .lightbox-prev { left: 8px;  width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-next { right: 8px; width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }

  /* === CTA FINAL === */
  .cta-final { padding: 72px 0; }
  .cta-logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 24px;
    gap: 14px;
    margin-bottom: 28px;
  }
  .cta-logo-icon { width: 44px; height: 58px; }
  .cta-logo-text {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,.2);
    padding-top: 14px;
    text-align: center;
  }
  .cta-logo-name { font-size: 1.15rem; }
  .cta-title { font-size: clamp(24px, 6vw, 36px); }
  .cta-subtitle { font-size: .95rem; }
  .btn-wa-large {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    font-size: .97rem;
    padding: 16px 28px;
  }

  /* === FOOTER === */
  .footer { padding: 52px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-logo-icon { width: 36px; height: 46px; }
  .footer-desc { font-size: .85rem; }
  .footer-col h4 { margin-bottom: 14px; }

  /* === FLOATING WA === */
  .floating-wa { bottom: 20px; right: 18px; width: 54px; height: 54px; }
  .floating-wa-tooltip { display: none; }     /* tooltip off on mobile – no hover */
}

/* ---- Small phones ---- */
@media (max-width: 420px) {
  .nav-container { padding: 0 14px; }
  .hero-badge { font-size: .63rem; max-width: 240px; }

  /* Stats: compact */
  .stat-number { font-size: 1.45rem; }
  .stat-item   { padding: 14px 8px; }

  /* Services: single column on very small screens */
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card  { padding: 20px 16px; }

  /* About pillars: single column */
  .about-pillars { grid-template-columns: 1fr; gap: 8px; }

  /* Gallery: keep 2 cols but tighter */
  .gallery-masonry { columns: 2; column-gap: 4px; padding: 0 4px 4px; }
  .gallery-item    { margin-bottom: 4px; }

  /* CTA */
  .cta-final { padding: 56px 0; }
  .cta-logo-name { font-size: 1rem; }
  .cta-logo-tagline { font-size: .58rem; }

  /* Floating WA */
  .floating-wa { width: 50px; height: 50px; bottom: 16px; right: 14px; }
}
