/* ========================================
   RC BIM — BASE STYLES LIMPIO
   ======================================== */
:root {
  --verde: #6ABF4B;
  --verde-hover: #5AA33D;
  --verde-claro: #E8F5E0;
  --charcoal: #2D3436;
  --charcoal-light: #3D4649;
  --crema: #F7F6F3;
  --gris: #6B6B6B;
  --gris-claro: #9A9A9A;
  --blanco: #FFFFFF;
  --border: rgba(0,0,0,0.06);
  --shadow: 0 8px 30px rgba(106,191,75,0.08);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}
*, *::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(--charcoal);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.bim-grid-bg {
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.bim-grid-bg-white {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.5s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}
.navbar-logo img {
  height: 102px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
.navbar-links { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 1024px) { .navbar-links { display: flex; } }
.navbar-link {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.84);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}
.navbar.scrolled .navbar-link,
.navbar.scrolled .navbar-toggle { color: rgba(45,52,54,0.78); }
.navbar-link:hover,
.navbar-link.active { color: var(--verde); }
.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--verde);
  border-radius: 2px;
  transition: width 0.3s;
}
.navbar-link:hover::after,
.navbar-link.active::after { width: 100%; }
.navbar-cta {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  background: var(--verde);
  color: var(--blanco);
  transition: background 0.3s;
  white-space: nowrap;
  cursor: pointer;
}
.navbar-cta:hover { background: var(--verde-hover); }
.navbar-toggle {
  display: flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--blanco);
  font-size: 1.25rem;
}
@media (min-width: 1024px) { .navbar-toggle { display: none; } }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--blanco);
  transform: translateX(100%);
  transition: transform 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu img {
  height: 102px;
  width: auto;
  max-width: 280px;
  margin-bottom: 1rem;
  object-fit: contain;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--charcoal);
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--verde); }
.mobile-menu .navbar-cta { margin-top: 1rem; color: var(--blanco); }
.mobile-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 42px; height: 42px;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--charcoal);
  cursor: pointer;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  background: var(--verde);
  color: var(--blanco);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  transition: background 0.3s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary:hover { background: var(--verde-hover); }
.btn-outline {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--blanco);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); }
.btn-ghost {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.375rem;
  border: 1px solid rgba(106,191,75,0.25);
  color: var(--verde);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--verde); background: var(--verde); color: var(--blanco); }

/* FORMS */
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gris);
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--crema);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--charcoal);
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(106,191,75,0.1);
}
.form-group textarea { resize: none; }
.char-count { font-size: 10px; color: var(--gris-claro); text-align: right; margin-top: 0.25rem; }
.form-success { background: var(--crema); border-radius: 4px; padding: 2rem; text-align: center; }
.form-success-icon {
  width: 3.5rem; height: 3.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center; justify-content: center;
  background: var(--verde);
  border-radius: 50%;
}
.form-success-icon i { color: var(--blanco); font-size: 1.25rem; }

/* PAGE HEADERS */
.page-header {
  padding: 9.5rem 0 4rem;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--blanco);
  line-height: 1.2;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .page-header h1 { font-size: 2.5rem; } }
@media (min-width: 1024px) { .page-header h1 { font-size: 3rem; } }
.page-header h1 .accent { color: var(--verde); }
.page-header p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  max-width: 36rem;
  line-height: 1.7;
}

/* TYPOGRAPHY */
.section-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--verde);
  margin-bottom: 0.75rem;
  display: block;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}
.section-title .accent { color: var(--verde); }
.section-subtitle { font-size: 0.875rem; color: var(--gris); line-height: 1.7; }
.divider {
  width: 3.5rem;
  height: 3px;
  background: var(--verde);
  border-radius: 2px;
  margin: 1.5rem 0 2rem;
}

/* FOOTER */
.footer {
  background: #252f31 !important;
  color: rgba(255,255,255,0.62) !important;
}
.footer-inner { padding: 3.5rem 0; background: transparent !important; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  background: transparent !important;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.footer-brand img {
  height: 112px;
  width: auto;
  max-width: 300px;
  margin-bottom: 1.25rem;
  background: transparent !important;
  filter: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.42); line-height: 1.7; max-width: 20rem; }
.footer-heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.84);
  margin-bottom: 1.25rem;
}
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a,
.footer-contact-item,
.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.46);
  transition: color 0.3s;
}
.footer-links a:hover,
.footer-contact-item a:hover { color: var(--verde); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item i { color: var(--verde); font-size: 0.875rem; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-socials a {
  width: 2.25rem; height: 2.25rem;
  display: flex;
  align-items: center; justify-content: center;
  border-radius: 4px;
  background: rgba(255,255,255,0.10);
  transition: background 0.3s;
}
.footer-socials a:hover { background: var(--verde); }
.footer-socials a i { color: var(--blanco); font-size: 0.875rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center; justify-content: space-between;
  gap: 1rem;
  background: transparent !important;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.34); }

/* UTILITIES */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; } .mt-14 { margin-top: 3.5rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; } .mb-12 { margin-bottom: 3rem; } .mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; } .mb-20 { margin-bottom: 5rem; }
.max-w-sm { max-width: 24rem; } .max-w-md { max-width: 28rem; } .max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; } .max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.hidden { display: none; }
@media (min-width: 1024px) { .lg-block { display: block; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
