/* ========================================
   CAUSE IMPACTO - Main Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --coral: #E85D4A;
  --coral-light: #FF7B6B;
  --coral-dark: #C94535;
  --dark: #1A1A1A;
  --warm: #FDF8F4;
  --warm-mid: #F5EDE6;
  --gold: #D4A853;
  --green: #2B5C4A;
  --blue: #2B3A5C;
  --purple: #6B4C8A;
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; color: var(--text); background: var(--warm); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, .serif { font-family: 'DM Serif Display', serif; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0; background: var(--dark);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.navbar-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  height: 72px;
}
.navbar-logo { height: 40px; transition: transform 0.3s ease; }
.navbar-logo:hover { transform: scale(1.03); }

.navbar-menu { display: flex; align-items: center; gap: 8px; list-style: none; }
.navbar-menu li a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 16px; border-radius: 4px; position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-menu li a::after {
  content: ''; position: absolute; bottom: 4px; left: 16px; right: 16px;
  height: 2px; background: var(--coral); transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.navbar-menu li a:hover { color: var(--white); }
.navbar-menu li a:hover::after { transform: scaleX(1); }
.navbar-menu li a.active { color: var(--coral); }
.navbar-menu li a.active::after { transform: scaleX(1); }

/* Login button */
.navbar-menu li a.btn-login {
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px; border-radius: 6px; margin-left: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-menu li a.btn-login::after { display: none; }
.navbar-menu li a.btn-login:hover {
  background: var(--coral); border-color: var(--coral); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,93,74,0.3);
}

/* CTA navbar */
.navbar-menu li a.btn-nav-cta {
  background: var(--coral); color: var(--white) !important;
  padding: 8px 24px; border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-menu li a.btn-nav-cta::after { display: none; }
.navbar-menu li a.btn-nav-cta:hover {
  background: var(--coral-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,93,74,0.35);
}

/* Mobile toggle */
.navbar-toggle { display: none; cursor: pointer; background: none; border: none; padding: 8px; }
.navbar-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: all 0.3s; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block; background: var(--coral); color: var(--white);
  padding: 16px 40px; border: none; font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; text-decoration: none; border-radius: 6px; position: relative;
  overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover {
  background: var(--coral-dark); transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(232,93,74,0.35);
}
.btn-primary:hover::before { left: 100%; }

.btn-outline {
  display: inline-block; background: transparent; color: var(--white);
  padding: 16px 40px; border: 1px solid rgba(255,255,255,0.25);
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
  text-decoration: none; border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-outline:hover {
  border-color: var(--coral); color: var(--coral);
  transform: translateY(-3px); box-shadow: 0 10px 30px rgba(232,93,74,0.15);
}

.btn-white-outline {
  display: inline-block; background: transparent; color: var(--text);
  padding: 14px 36px; border: 2px solid var(--coral);
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  text-decoration: none; border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-white-outline:hover {
  background: var(--coral); color: var(--white);
  transform: translateY(-3px); box-shadow: 0 10px 30px rgba(232,93,74,0.25);
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-label { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--coral); font-weight: 600; margin-bottom: 12px; }
.section-title { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.2; margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: var(--text-light); max-width: 580px; line-height: 1.7; font-weight: 300; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== HERO ===== */
.hero { min-height: 100vh; background: var(--dark); display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 72px; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 200%; background: radial-gradient(ellipse, rgba(232,93,74,0.1) 0%, transparent 60%); }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--coral), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-tagline { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--coral); font-weight: 500; margin-bottom: 20px; opacity: 0; animation: fadeUp .8s ease .1s forwards; }
.hero h1 { font-size: clamp(36px, 4.5vw, 58px); color: var(--white); line-height: 1.1; margin-bottom: 24px; opacity: 0; animation: fadeUp .8s ease .25s forwards; }
.hero h1 span { color: var(--coral); }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 40px; max-width: 520px; font-weight: 300; opacity: 0; animation: fadeUp .8s ease .4s forwards; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s ease .55s forwards; }
.hero-photo { position: relative; opacity: 0; animation: fadeIn 1s ease .4s forwards; }
.hero-photo img { width: 100%; max-width: 420px; display: block; margin: 0 auto; }
.hero-photo::before { content: ''; position: absolute; top: -16px; right: -16px; width: 100%; height: 100%; border: 1px solid var(--coral); opacity: 0.2; z-index: -1; }

/* ===== PROOF BAR ===== */
.proof-bar { background: var(--white); padding: 36px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.proof-items { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.proof-item { text-align: center; }
.proof-number { font-family: 'DM Serif Display', serif; font-size: 36px; color: var(--coral); }
.proof-label { font-size: 12px; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }

/* ===== SERVICE CARDS ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 56px; }
.service-card { background: var(--white); border-radius: 8px; overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.service-card-top { padding: 36px 32px 0; }
.service-card-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--white); margin-bottom: 20px; }
.service-card-tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; border: 1px solid; padding: 4px 12px; display: inline-block; margin-bottom: 14px; }
.service-card h3 { font-size: 26px; margin-bottom: 10px; line-height: 1.2; }
.service-card .tagline { font-size: 15px; color: var(--coral); font-style: italic; margin-bottom: 16px; font-weight: 300; line-height: 1.5; }
.service-card .desc { font-size: 14px; color: var(--text-light); line-height: 1.7; font-weight: 300; }
.service-card-body { padding: 0 32px 32px; }
.service-card-footer { padding: 20px 32px; border-top: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.service-card-footer span { font-size: 13px; color: var(--text-light); }
.service-card-footer a { font-size: 13px; font-weight: 600; color: var(--coral); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; transition: all 0.3s; }
.service-card-footer a:hover { color: var(--coral-dark); transform: translateX(4px); display: inline-block; }

/* Card color variants */
.card-gold .service-card-icon { background: var(--gold); }
.card-gold .service-card-tag { color: var(--gold); border-color: var(--gold); }
.card-coral .service-card-icon { background: var(--coral); }
.card-coral .service-card-tag { color: var(--coral); border-color: var(--coral); }
.card-green .service-card-icon { background: var(--green); }
.card-green .service-card-tag { color: var(--green); border-color: var(--green); }
.card-blue .service-card-icon { background: var(--blue); }
.card-blue .service-card-tag { color: var(--blue); border-color: var(--blue); }
.card-purple .service-card-icon { background: var(--purple); }
.card-purple .service-card-tag { color: var(--purple); border-color: var(--purple); }

/* ===== NPS ===== */
.nps-banner { background: var(--dark); padding: 72px 0; text-align: center; position: relative; overflow: hidden; }
.nps-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(232,93,74,0.08), transparent 60%); }
.nps-flex { display: flex; align-items: center; justify-content: center; gap: 36px; position: relative; }
.nps-num { font-family: 'DM Serif Display', serif; font-size: 64px; }
.nps-from { color: rgba(255,255,255,0.3); }
.nps-arr { color: var(--coral); font-size: 32px; }
.nps-to { color: var(--coral); }
.nps-text { color: rgba(255,255,255,0.5); font-size: 16px; margin-top: 24px; font-weight: 300; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; position: relative; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 72px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; max-width: 380px; display: block; }
.about-photo::after { content: ''; position: absolute; bottom: -12px; left: -12px; width: 50%; height: 50%; background: var(--coral); opacity: 0.06; z-index: -1; }
.about-text h2 { font-size: 40px; margin-bottom: 20px; }
.about-text h2 span { color: var(--coral); }
.about-bio { font-size: 16px; color: var(--text-light); line-height: 1.8; font-weight: 300; margin-bottom: 16px; }
.about-quote { font-family: 'DM Serif Display', serif; font-size: 19px; color: var(--coral); font-style: italic; margin: 28px 0; padding-left: 20px; border-left: 3px solid var(--coral); line-height: 1.5; }
.about-creds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.about-cred { padding: 14px 16px; background: var(--white); border-left: 3px solid var(--coral); transition: transform 0.3s; }
.about-cred:hover { transform: translateX(4px); }
.about-cred strong { display: block; font-size: 11px; color: var(--coral); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 3px; }
.about-cred span { font-size: 13px; color: var(--text-light); font-weight: 300; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; }
.contact-info-item { margin-bottom: 28px; }
.contact-info-item strong { display: block; font-size: 12px; color: var(--coral); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.contact-info-item a, .contact-info-item p { font-size: 16px; color: var(--text); text-decoration: none; font-weight: 300; transition: color 0.3s; }
.contact-info-item a:hover { color: var(--coral); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 18px; border: 1px solid rgba(0,0,0,0.1);
  font-family: 'Outfit', sans-serif; font-size: 15px; color: var(--text);
  background: var(--white); border-radius: 6px; margin-bottom: 16px;
  transition: all 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(232,93,74,0.1);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ===== LOGIN ===== */
.login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding-top: 72px; background: var(--dark); position: relative; overflow: hidden; }
.login-wrapper::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(232,93,74,0.08), transparent 50%); }
.login-box { background: var(--white); padding: 48px 40px; border-radius: 12px; width: 100%; max-width: 440px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.login-box h2 { font-size: 30px; margin-bottom: 8px; text-align: center; }
.login-box p { font-size: 15px; color: var(--text-light); text-align: center; margin-bottom: 32px; font-weight: 300; }
.login-box .logo-login { display: block; width: 160px; margin: 0 auto 28px; }
.login-box input { margin-bottom: 16px; }
.login-box .btn-primary { width: 100%; text-align: center; padding: 16px; border-radius: 6px; }
.login-links { text-align: center; margin-top: 20px; }
.login-links a { font-size: 14px; color: var(--coral); text-decoration: none; transition: color 0.3s; }
.login-links a:hover { color: var(--coral-dark); }

/* ===== ECOSYSTEM ===== */
.eco-flow { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 48px; flex-wrap: wrap; }
.eco-item { padding: 28px 20px; background: var(--warm); flex: 1; min-width: 160px; max-width: 200px; text-align: center; border-radius: 8px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.eco-item:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.eco-item h4 { font-size: 17px; margin-bottom: 4px; }
.eco-item p { font-size: 12px; color: var(--text-light); font-weight: 300; }
.eco-arr { color: var(--coral); font-size: 22px; }
.eco-tagline { text-align: center; margin-top: 40px; font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--text-light); font-style: italic; max-width: 650px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.eco-tagline span { color: var(--coral); }

/* ===== FINAL CTA ===== */
.final-cta { background: var(--dark); padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(232,93,74,0.08), transparent 50%), radial-gradient(circle at 70% 50%, rgba(212,168,83,0.05), transparent 50%); }
.final-cta .container { position: relative; }
.final-cta h2 { color: var(--white); font-size: clamp(30px, 3.5vw, 44px); margin-bottom: 14px; }
.final-cta h2 span { color: var(--coral); }
.final-cta p { color: rgba(255,255,255,0.55); font-size: 17px; font-weight: 300; max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }

/* ===== FOOTER ===== */
footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.05); padding: 24px 0; text-align: center; }
footer p { color: rgba(255,255,255,0.25); font-size: 12px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.25, 0.1, 0.25, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-ctas { justify-content: center; }
  .hero-photo { order: -1; }
  .hero-photo::before { display: none; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-photo { display: flex; justify-content: center; }
  .about-creds { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nps-flex { flex-direction: column; gap: 16px; }
  .eco-arr { display: none; }
  .navbar-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 24px; gap: 4px; border-top: 1px solid rgba(255,255,255,0.06); }
  .navbar-menu.open { display: flex; }
  .navbar-menu li a { padding: 12px 16px; display: block; }
  .navbar-toggle { display: block; }
  .navbar-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .navbar-toggle.open span:nth-child(2) { opacity: 0; }
  .navbar-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .services-grid { grid-template-columns: 1fr; }
  .login-box { margin: 0 16px; padding: 36px 28px; }
}
