/* ==========================================================
   PALETA / BASE
========================================================== */
:root {
    --bg-light: #f9f9ed;
    --green-dark: #325236;
    --green-soft: #83a580;
    --black: #1a1a1a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    font-family: 'Arvo', serif;
    color: var(--green-dark);
}

/* ==========================================================
   NAVBAR
========================================================== */
.mainNav {
    background-color: rgba(249,249,237,0.85);
    backdrop-filter: blur(6px);
    padding: 14px 0;
    transition: 0.4s ease;
}

.mainNav .navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: var(--green-dark) !important;
}

.mainNav .nav-link {
    margin-left: 20px;
    font-weight: 600;
    color: var(--green-dark) !important;
    transition: 0.3s;
}

.mainNav .nav-link:hover {
    color: var(--green-soft) !important;
}

/* ==========================================================
   HERO
========================================================== */
.hero-section {
    text-align: center;
    padding-top: 140px;
    padding-bottom: 60px;
    position: relative;
}

.hero-title {
    font-size: 100px;
    font-weight: 700;
    letter-spacing: 7px;
    color: var(--green-dark);
}

.hero-subtitle {
    font-size: 25px;
    opacity: 0.85;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    background-color: var(--green-dark);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s;
    margin-bottom: 40px;
}

.btn-cta:hover {
    background-color: var(--green-soft);
    transform: scale(1.05);
}

/* Canvas */
#alerceCanvas {
    width: 100%;
    max-width: 550px;
    height: 300px;
    display: block;
    margin: 0 auto;
}

/* ==========================================================
   SECCIONES GENERALES
========================================================== */
.section {
    padding: 70px 0;
    margin-bottom: 40px;
}

.section-title {
    text-align: center;
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--green-dark);
}

.section-text {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 15px;
    font-size: 18px;
    opacity: 0.9;
}

.bg-light {
    background-color: #eef2eb !important;
}

/* ==========================================================
   SERVICIOS / BENEFICIOS
========================================================== */
.benefit-card {
    text-align: center;
    padding: 35px 25px;
    background: white;
    border-radius: 18px;
    border: 2px solid var(--green-soft);
    transition: 0.3s;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--green-dark);
}

.benefit-icon {
    font-size: 44px;
    margin-bottom: 15px;
    color: var(--green-dark);
}

/* ==========================================================
   TIMELINE – PROCESO
========================================================== */
.timeline {
    position: relative;
    max-width: 750px;
    margin: 70px auto;
    padding-left: 60px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--green-soft);
    opacity: 0.25;
}

.timeline-progress {
    position: absolute;
    left: 18px;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--green-dark);
    border-radius: 5px;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 55px;
    opacity: 0.4;
    transition: 0.3s ease;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-node {
    position: absolute;
    left: 18px;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--green-dark);
    border-radius: 50%;
    transition: 0.35s ease;
}

.timeline-item.active .timeline-node {
    transform: scale(1.6);
    background: var(--green-soft);
}

.timeline-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--green-soft);
    margin-bottom: 6px;
}

.timeline-item.active .timeline-text {
    color: var(--black);
}

.timeline-desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 18px;
    line-height: 1.55;
    transition: 0.45s ease;
}

.timeline-item.active .timeline-desc {
    max-height: 200px;
    opacity: 1;
}

/* ==========================================================
   PORTFOLIO
========================================================== */
.portfolio-card {
    background: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
    border: 2px solid var(--green-soft);
    transition: 0.3s;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--green-dark);
}

/* ==========================================================
   PLANES
========================================================== */
.plan-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    border: 2px solid var(--green-soft);
    text-align: center;
    transition: 0.25s;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: var(--green-dark);
}

.plan-card h3 {
    font-size: 28px;
    font-weight: 700;
}

.btn-plan {
    display: inline-block;
    background-color: var(--green-dark);
    color: white;
    padding: 10px 25px;
    border-radius: 12px;
    margin-top: 15px;
    text-decoration: none;
}

.btn-plan:hover {
    background-color: var(--green-soft);
}

/* ==========================================================
   CONTACTO
========================================================== */
.contact-section {
    background-color: #eef2eb;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 26px;
    background: white;
    border-radius: 18px;
    border: 2px solid var(--green-soft);
    font-weight: 700;
    color: var(--green-dark);
    text-decoration: none;
    transition: 0.3s;
}

.contact-item i {
    font-size: 26px;
}

.contact-item:hover {
    transform: translateY(-6px);
    border-color: var(--green-dark);
}

.contact-whatsapp {
    background-color: var(--green-dark);
    color: white;
    border-color: var(--green-dark);
}

.contact-whatsapp:hover {
    background-color: var(--green-soft);
    border-color: var(--green-soft);
}

/* ==========================================================
   FOOTER
========================================================== */
.footer {
    text-align: center;
    padding: 30px;
    background-color: var(--green-dark);
    color: white;
    font-size: 15px;
}

/* ==========================================================
   WHATSAPP FLOAT
========================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 70px;
    height: 70px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: 0.25s;
}

.whatsapp-float:hover {
    transform: scale(1.15);
}

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 60px;
        letter-spacing: 3px;
    }

    .section-title {
        font-size: 34px;
    }
}
