/* ===================================================
   SUCORPSA — Estilos Compartidos
   Paleta: Azul #4EC2D4 | Verde oliva #6B8C3E | Café #C8783A
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --blue:        #4EC2D4;
  --blue-dark:   #2892A8;
  --blue-deep:   #1A6E80;
  --blue-deeper: #0F4A57;
  --green:       #6B8C3E;
  --green-dark:  #4D6629;
  --green-deep:  #2E3D18;
  --brown:       #C8783A;
  --brown-light: #F5EDE0;
  --bg:          #F5FAFB;
  --bg-alt:      #EBF5F7;
  --white:       #FFFFFF;
  --text:        #1E2B1A;
  --text-mid:    #3D5036;
  --text-muted:  #6B7E72;
  --border:      #D4E6EA;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.13);
  --transition:  all 0.28s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.09); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}
.nav-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 21px;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.5px;
}
.nav-brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); border-bottom-color: var(--green); }

.nav-cta-btn {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 7px !important;
  border-bottom: none !important;
  transition: var(--transition) !important;
}
.nav-cta-btn:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(107,140,62,0.3);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 6%;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu a:hover { background: var(--bg); color: var(--green); }

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 100%);
  padding: 130px 6% 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
  font-weight: 600;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.page-hero-breadcrumb a:hover { color: var(--blue); }
.page-hero-breadcrumb span { color: rgba(255,255,255,0.8); }
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.68);
  max-width: 540px;
  line-height: 1.8;
}

/* ===== SECTION BASE ===== */
.section { padding: 92px 6%; }
.section-alt { background: var(--bg); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 60px; }
.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(107,140,62,0.35); }
.btn-blue { background: var(--blue-dark); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(26,110,128,0.35); }
.btn-outline-white {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--green-dark); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 100%);
  padding: 80px 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-strip-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-strip h2 {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.cta-strip p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 36px; line-height: 1.8; }

/* ===== FOOTER ===== */
.footer { background: var(--green-deep); }
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding: 72px 6% 56px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand img { height: 64px; width: 64px; object-fit: contain; margin-bottom: 16px; }
.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; max-width: 280px; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.footer-contact-icon {
  width: 32px; height: 32px; min-width: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ===== WHATSAPP FAB ===== */
.wa-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
}
.wa-fab:hover { transform: scale(1.12) translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.28s; }
.d4 { transition-delay: 0.38s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
  .nav { padding: 0 5%; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 64px 5%; }
  .page-hero { padding: 110px 5% 60px; }
  .footer-main { grid-template-columns: 1fr; padding: 48px 5% 36px; }
  .footer-brand { grid-column: span 1; }
  .footer-bar { flex-direction: column; gap: 6px; text-align: center; padding: 18px 5%; }
  .wa-fab { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}
