* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --primary: #367a27;
    --primary-dark: #26571b;
    --text: #273524;
    --text-light: #666;
    --border: #ececec;
    --container: 1320px;

}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: #367a27;
    background: #ffffff;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}

p {
    line-height: 1.6;
    font-size: 15px;
    text-align: justify;
}

ul {
    list-style: none;
}

/*==================================================
CONTAINER GENERAL
==================================================*/
.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/*==================================================
HEADER & NAVIGATION
==================================================*/
.header {
    width: 100%;
    height: 100px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {

    display: flex;
    align-items: center;

}

.logo img {
    width: 215px;
}

/*==================================================
NAVBAR
==================================================*/
.navbar ul {
    display: flex;
    align-items: center;
    gap: 46px;
}

.navbar a {
    color: #232333;
    font-size: 17px;
    font-weight: 700;
    position: relative;
    transition: .35s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary);
}

.navbar a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -16px;
    width: 32px;
    height: 3px;
    border-radius: 30px;
    background: var(--primary);
}

/*==================================================
BOTÓN HEADER
==================================================*/
.btn-header {
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: .30s;
}

.btn-header:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


.btn-header i {

    font-size: 15px;

}

/*==================================================
HERO SECTION
==================================================*/
.hero {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    gap: 20px;
}

/*==================================================
TEXTO HERO
==================================================*/
.hero-content h1 {
    font-size: 44px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 15px;
    text-align: center;
}

.hero-content h1 span {
    color: var(--primary);
    display: block;
    text-align: center;
}

.hero-line {
    width: 58px;
    height: 4px;
    background: var(--primary);
    border-radius: 20px;
    margin-bottom: 25px;


}

.hero-content p {

    color: #5d5d67;
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 22px;
    text-align: justify;
}

/*==================================================
LISTADO HERO
==================================================*/
.hero-list {

    margin-top: 35px;

}

.hero-item {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-bottom: 35px;

}

.hero-item i {

    color: var(--primary);

    font-size: 23px;

    margin-top: 3px;

}

.hero-item span {

    font-size: 18px;

    font-weight: 700;

    color: #40404d;

    line-height: 1.6;

}


.hero-description {
    color: var(--primary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 600;
}

/*==================================================
PROFESIONALES
==================================================*/

.hero-professional {

    display: flex;

    align-items: flex-start;

    gap: 20px;

}

.hero-professional .icon {

    width: 56px;

    height: 56px;

    border-radius: 50%;

    background: #f4eefc;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-shrink: 0;

}

.hero-professional .icon i {

    color: var(--primary);

    font-size: 23px;

}

.hero-professional p {

    font-size: 17px;

    color: var(--primary);

    font-style: italic;

    line-height: 1.8;

    margin: 0;

}

.features-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    flex: 1;
    gap: 16px;
    position: relative;
}


.feature-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #e2e8f0;
}

.feature-icon svg {
    width: 42px;
    height: 42px;
    stroke: #1e5e26;
    flex-shrink: 0;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-content h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
}

.feature-content p {
    margin: 0;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.4;
}

/*==================================================
BOTÓN PRINCIPAL
==================================================*/
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: #fff;
    padding: 15px 32px;
    border-radius: 6px;
    font-weight: 700;
    transition: .30s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-primary i {

    transition: .30s;

}

.btn-primary:hover i {

    transform: translateX(6px);

}

/*==================================================
IMAGEN
==================================================*/
.hero-image {
    position: relative;
    width: 100%;
    height: 500px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 580px;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    border-radius: 12px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    object-position: center;
}

.image-wrapper::before {

    content: "";
    position: absolute;
    left: -70px;
    top: 0;
    width: 170px;
    height: 100%;
    background: #fff;
    transform: skewX(-18deg);
    z-index: 2;

}

.hero-image-bg {
    position: absolute;
    top: 0;
    right: -10%;
    width: 110%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    -webkit-clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 15% 100%, 0% 50%);
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 15% 100%, 0% 50%);
}

.card-floating-professional {
    position: absolute;
    bottom: 40px;
    right: 20px;
    width: 410px;
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    z-index: 10;
    text-align: justify;
}

.card-professional-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-professional-header .icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.card-professional-header .icon-circle i {
    color: #ffffff;
    font-size: 20px;
}

.card-professional-header h3 {
    font-size: 19px;
    color: var(--primary);
    font-weight: 700;
}

.card-floating-professional p {
    font-size: 13.5px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 12px;
}

.card-floating-professional p.card-highlight {
    font-size: 13.5px;
    color: #1e1e24;
    font-weight: 700;
    margin-bottom: 0;
}

/*==================================================
ADVANTAGES VENTAJAS
==================================================*/
.advantages {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

/*=========================================
TÍTULO
=========================================*/

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: #252535;
}

.title-line {
    display: block;
    width: 50px;
    height: 3px;
    border-radius: 50px;
    background: var(--primary);
    margin: 14px auto 0;
}

/*=========================================
GRID 
=========================================*/
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/*=========================================
ITEM
=========================================*/
.advantage-item {
    position: relative;
    text-align: center;
    padding: 10px 20px;
    transition: .35s;
}

/*=========================================
SEPARADORES
=========================================*/
.advantage-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    right: -10px;
    width: 1px;
    height: 120px;
    background: #ececf2;
}

/*=========================================
ICONO
=========================================*/

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff5f8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.advantage-icon i {
    font-size: 36px;
    color: var(--primary);
}

.advantage-item h3 {
    font-size: 18px;
    color: #2c2c3b;
    margin-bottom: 12px;
    font-weight: 800;
}

.advantage-item p {
    color: #666673;
    font-size: 14px;
    line-height: 1.6;
}

/*==================================================
SERVICES SERVICIOS
==================================================*/
.services {
    position: relative;
    padding: 80px 0;
    background: #fafafa;
}

.services::before {

    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    left: -280px;
    top: -260px;
    border-radius: 50%;
    background: radial-gradient(rgba(90, 44, 160, .06),
            transparent 70%);
    pointer-events: none;

}

.services::after {

    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    right: -260px;
    bottom: -280px;
    border-radius: 50%;
    background: radial-gradient(rgba(90, 44, 160, .05),
            transparent 70%);

}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    justify-content: center;
    gap: 20px;
}

/*=========================================
CARD
=========================================*/

.service-card {
    background-color: #ffffff;
    flex: 1;
    min-width: 260px;
    max-width: 290px;
    justify-content: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .02);
    transition: all .35s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(179, 0, 59, .08);
}

.icon-container {
    width: 65px;
    height: 65px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 38px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 19px;
    line-height: 1.4;
    font-weight: 800;
    margin-top: 0;
    color: #2b2b39;
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    font-size: 15px;
    color: #666673;
    line-height: 1.6;
}

/*==================================================
CALL TO ACTION CTA SECTION
==================================================*/
.cta-section {
    width: 100%;
    background-color: #fcf6f8;
    padding: 45px 20px;
}

.cta-container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-phone-circle {
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.cta-fa-icon {
    font-size: 24px;
    color: var(--primary);
}

.cta-text {
    flex-grow: 1;
}

.cta-text h2 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.cta-text p {
    color: #555555;
    font-size: 15px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cta-buttons a {
    font-size: 14px;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease-in-out;
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-primary-cta {
    background-color: var(--primary);
    color: #ffffff;
    border: 1.5px solid var(--primary);
}

/*==================================================
MAIN FOOTER
==================================================*/
.main-footer {
    width: 100%;
    background-color: #1e1e24;
    color: #ffffff;
    padding-top: 35px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.brand-column {
    min-width: 260px;
}

.brand-tagline {
    font-size: 13.5px;
    color: #a0aab5;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: background-color 0.2s;
}

.footer-column h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    font-size: 14px;
    color: #a0aab5;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.contact-column {
    min-width: 220px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #a0aab5;
    font-size: 14px;
}

/* ==========================================
   BARRA INFERIOR DE LEGALES (FOOTER)
   ========================================== */
.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px;
}

.footer-bottom-container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    font-size: 13px;
    color: #798593;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-links a {
    font-size: 13px;
    color: #798593;
    transition: color 0.2s;
}

.legal-links .separator {
    color: rgba(255, 255, 255, 0.15);
}

/*==================================================
RESPONSIVE MEDIA QUERIES
==================================================*/
@media(max-width:1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-image-wrapper {
        height: 440px;
    }

    .hero-image-bg {
        clip-path: none;
        -webkit-clip-path: none;
        right: 0;
        width: 100%;
        border-radius: 24px;
    }

    .card-floating-professional {
        width: 100%;
        right: 0;
        bottom: 0;
        position: relative;
        margin-top: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .advantage-item:not(:last-child)::after {
        display: none;
    }

    .hero-content {
        order: 2;
    }

    .hero-content h1 {
        font-size: 52px;
    }
}

@media (max-width: 968px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        width: 100%;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        height: auto;
        padding: 15px 0;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .btn-header {
        display: none;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-content p {
        font-size: 17px;
    }

    .image-wrapper img {
        height: 420px;
    }

    .hero-item span {
        font-size: 16px;
    }
}

@media(max-width:900px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map iframe {
        min-height: 400px;
    }

}

section {
    scroll-margin-top: 100px;
}

/*==================================================
MENÚ
==================================================*/
.navbar a:hover,
.navbar a.active {
    color: var(--primary);
}

.navbar a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -16px;
    width: 32px;
    height: 3px;
    border-radius: 30px;
    background: var(--primary);
}

/*==================================================
CONTACTO
==================================================*/

.cta-contact {
    padding: 90px 0;
    background: #faf8fd;
}

.contact-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    align-items: stretch;
}

.card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(90, 44, 160, .08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.info {
    padding: 40px;
}

.info h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.contact-item i {
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

.info hr {
    border: none;
    border-top: 1px solid #ececec;
    margin: 30px 0;
}

.contact-text {
    color: #666;
    margin-top: 20px;
}

.map {
    overflow: hidden;
    padding: 0;
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    display: block;
}