/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #258e55; border-radius: 3px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 88px;
  display: flex;
  align-items: center;
}
.navbar-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: none; align-items: center; }
@media (min-width: 1280px) { .nav-links { display: flex; } }
.nav-link {
  position: relative;
  padding: 4px 11px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.13px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover { color: rgba(255,255,255,0.9); }
.nav-link.active { color: #258e55; font-weight: 400; }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 11px;
  width: 33px; height: 1.5px;
  background: #258e55;
  border-radius: 1px;
}
.nav-right { display: none; align-items: center; gap: 16px; flex-shrink: 0; }
@media (min-width: 1024px) { .nav-right { display: flex; } }
.nav-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}
.nav-tel svg, .nav-wa svg { display: block; }
.btn-cotizar {
  display: inline-flex;
  align-items: center;
  background: #258e55;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.28px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-cotizar:hover { background: #1c7343; }
.nav-mobile-btn { display: flex; color: white; padding: 4px; }
@media (min-width: 1280px) { .nav-mobile-btn { display: none; } }
.nav-mobile-menu {
  display: none;
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: 88px; left: 0; right: 0;
  z-index: 99;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link {
  text-align: left;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  border-radius: 6px;
  transition: all 0.2s;
  display: block;
}
.nav-mobile-link.active { color: #258e55; background: rgba(37,142,85,0.08); }

/* ============================================================
   PAGE WRAP
   ============================================================ */
.page-wrap { padding-top: 88px; }

/* ============================================================
   PAGE HEADER (dark)
   ============================================================ */
.page-header {
  background: #1a1a1a;
  padding: 80px 0 96px;
}
.page-sup {
  font-size: 13px;
  font-weight: 500;
  color: #258e55;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-header-h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 20px;
}
.h1-light {
  font-weight: 300;
  color: #f7f7f7;
}
.h1-regular {
  font-weight: 400;
  color: #e8e8e8;
}
.page-header-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(247,247,247,0.6);
  line-height: 1.75;
}

/* ============================================================
   HISTORIA SECTION (light)
   ============================================================ */
.historia-section {
  background: #f7f7f7;
  padding: 96px 0;
}

.historia-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) {
  .historia-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* Left column */
.section-sup {
  font-size: 12px;
  font-weight: 400;
  color: #258e55;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.historia-h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 20px;
}
.historia-p {
  font-size: 15px;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}
.historia-p:last-child { margin-bottom: 0; }

/* Right: stats 2x2 */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.stat-value {
  font-size: 36px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.25;
}
.stat-label {
  font-size: 13px;
  font-weight: 400;
  color: #777;
  line-height: 1.5;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  background: #1a1a1a;
  padding: 80px 0;
  text-align: center;
}
.cta-sup {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.cta-h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: #f7f7f7;
  line-height: 1.1;
  margin-bottom: 32px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #258e55;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.32px;
  transition: background 0.2s;
}
.btn-cta:hover { background: #1c7343; }
.btn-cta svg { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #141414;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 52px; width: auto; margin-bottom: 16px; }
.footer-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
.footer-group-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.footer-link {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-link:hover { color: rgba(255,255,255,0.8); }
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.footer-contact-row svg { flex-shrink: 0; }
.footer-address {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-top: 4px;
}
.footer-socials { display: flex; gap: 8px; margin-top: 12px; }
.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.social-btn:hover { background: rgba(255,255,255,0.15); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.3); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 24px;
  z-index: 50;
  background: #25d366;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { display: block; }
