/* Landing Page - Shared Styles
   Tokens en utlf-brand.css. NO duplicar valores hex aqui.  */

:root {
    --lp-primary-dark: var(--brand-primary-deep);
    --lp-dark: var(--brand-secondary-deep);
    --lp-light: var(--brand-cream);
    --lp-white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.landing-page {
    font-family: var(--ff-body);
    color: var(--brand-text);
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--ff-display); font-weight: 600; }

/* Navbar */
.lp-navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s;
    background: transparent;
}
.lp-navbar.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}
.lp-navbar .nav-link { color: #fff; font-weight: 500; font-size: 15px; transition: 0.3s; }
.lp-navbar.scrolled .nav-link { color: #333; }
.lp-navbar .nav-link:hover { color: var(--lp-primary); }
.lp-navbar .logo-img { height: 36px; filter: brightness(10); transition: 0.3s; }
.lp-navbar.scrolled .logo-img { filter: none; }
/* btn-login: utilizable en navbar y en hero/CTA.
   Usamos !important en background-color porque Bootstrap define
   .btn{background-color:var(--bs-btn-bg)} con --bs-btn-bg:transparent y
   gana por especificidad sobre .btn-login{background:...}. */
.btn-login,
.btn.btn-login {
    background: var(--lp-primary) !important;
    background-color: var(--lp-primary) !important;
    color: #fff !important;
    border: 2px solid var(--lp-primary) !important;
    padding: 10px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-login:hover, .btn-login:focus,
.btn.btn-login:hover, .btn.btn-login:focus {
    background: var(--lp-primary-dark) !important;
    background-color: var(--lp-primary-dark) !important;
    border-color: var(--lp-primary-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.btn-login.btn-lg, .btn.btn-login.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-login i, .btn.btn-login i { color: #fff !important; }

/* Hero */
.lp-hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.lp-hero .hero-content { position: relative; z-index: 2; }
.lp-hero h1 { font-weight: 800; line-height: 1.1; }
.lp-hero p.lead { font-size: 18px; line-height: 1.7; opacity: 0.95; }
/* Heredar color blanco en hero/sección oscura: Bootstrap aplica color directo al h1
   y rompe la herencia de .text-white del <section>. Esta regla lo restaura. */
.lp-hero.text-white h1, .lp-hero.text-white h2, .lp-hero.text-white h3,
.lp-hero.text-white h4, .lp-hero.text-white h5, .lp-hero.text-white h6,
.lp-hero.text-white p, .lp-hero.text-white .lead,
.lp-section-dark h1, .lp-section-dark h2, .lp-section-dark h3,
.lp-section-dark h4, .lp-section-dark h5, .lp-section-dark h6,
.lp-section-dark p, .lp-section-dark .lead { color: #fff !important; }

/* Sections */
.lp-section { padding: 80px 0; }
.lp-section-gray { background: var(--lp-light); }
.lp-section-dark { background: var(--lp-dark); color: #fff; }
.section-title { font-weight: 700; margin-bottom: 15px; }
.section-subtitle { color: var(--lp-secondary); max-width: 600px; margin: 0 auto 50px; }

/* Service Cards */
.service-card {
    background: #fff; border-radius: 16px; padding: 35px 25px; text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; height: 100%;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.service-card .icon-wrap {
    width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 28px;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-dark));
    color: #fff;
}
.service-card h5 { font-weight: 700; margin-bottom: 12px; }
.service-card p { color: #666; font-size: 14px; line-height: 1.7; }

/* Stats */
.stat-item { text-align: center; padding: 20px; }
.stat-item .stat-num { font-size: 42px; font-weight: 800; color: var(--lp-primary); }
.stat-item .stat-lbl { font-size: 14px; color: var(--lp-secondary); text-transform: uppercase; letter-spacing: 1px; }

/* Team */
.team-card { text-align: center; padding: 25px; }
.team-card .avatar { width: 100px; height: 100px; border-radius: 50%; background: var(--lp-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 700; margin: 0 auto 15px; }
.team-card h6 { font-weight: 700; }
.team-card .cargo { color: var(--lp-primary); font-size: 13px; font-weight: 600; }
.team-card p { font-size: 13px; color: #666; margin-top: 8px; }

/* Contact */
.contact-info-item { display: flex; align-items: start; gap: 15px; margin-bottom: 20px; }
.contact-info-item i { font-size: 24px; color: var(--lp-primary); margin-top: 3px; }
.contact-info-item h6 { font-weight: 600; margin-bottom: 3px; }
.contact-info-item p { color: #666; font-size: 14px; margin: 0; }

/* Footer */
.lp-footer { background: #111; color: rgba(255,255,255,0.6); padding: 30px 0; font-size: 13px; }
.lp-footer a { color: var(--lp-primary); }

/* Animations */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeInUp 0.8s ease-out; }

/* Responsive */
@media (max-width: 768px) {
    .lp-hero h1 { font-size: 32px !important; }
    .lp-hero p.lead { font-size: 15px; }
    .lp-section { padding: 50px 0; }
    .stat-item .stat-num { font-size: 32px; }
}
