* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body{
    font-family:'Manrope',sans-serif;
    font-size:16px;
    color:#232333;
    background:#fff;
    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;
}

/*==================================================
VARIABLES
==================================================*/
:root {
    --primary: #5a2ca0;
    --primary-dark: #472182;
    --text: #242435;
    --text-light: #666;
    --border: #ececec;
    --container: 1200px;
}

/*==================================================
CONTAINER
==================================================*/
.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 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);
}

.btn-header {
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 10px;
    font-weight: 700;
    transition: .30s;
}

.btn-header:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/*==================================================
HERO SECTION
==================================================*/
.hero {
    padding: 70px 0 60px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 530px 1fr;
    align-items: center;
    gap: 70px;
}

.hero-content h1 {
    font-size: 44px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 15px;
}

.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: 35px;
}

.hero-content p {
    color: #5d5d67;
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.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-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;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 45px;
    background: var(--primary);
    color: #fff;
    padding: 18px 34px;
    border-radius: 10px;
    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);
}

.hero-image {
    position: relative;
    width: 100%;
    height: 500px; 
}

.image-wrapper {
    width: 100%;
    height: 100%;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    border-radius: 12px; 
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*==================================================
ADVANTAGES (¿POR QUÉ ELEGIRNOS?)
==================================================*/
.advantages {
    padding: 90px 0 85px;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 65px;
}

.section-title h2{
    font-size:36px;
    font-weight:800;
    line-height:1.2;
    color:#252535;
}

.title-line {
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 50px;
    background: var(--primary);
    margin: 18px auto 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.advantage-item {
    position: relative;
    text-align: center;
    padding: 10px 20px;
    transition: .35s;
}

.advantage-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    right: -10px;
    width: 1px;
    height: 120px;
    background: #ececf2;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #f4edff;
    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 (NUESTROS SERVICIOS)
==================================================*/
.services {
    position: relative;
    padding: 85px 0 95px;
    overflow: hidden;
    background: linear-gradient(180deg, #faf8fd 0%, #f6f2fb 45%, #ffffff 100%);
}

.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 .section-title {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: stretch;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 42px 26px 38px;
    text-align: center;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
    transition: transform .35s ease, box-shadow .35s ease;
    border: 1px solid rgba(90,44,160,.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 55px rgba(90,44,160,.12);
}

.service-icon {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.service-icon i {
    font-size: 52px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 19px;
    line-height: 1.4;
    font-weight: 800;
    color: #2b2b39;
    margin-bottom: 24px;
}

.service-card p {
    font-size: 15px;
    color: #666673;
    line-height: 1.6;
    margin-top: auto;
}

/*==================================================
CTA SECTION (¿NECESITA ASESORAMIENTO?)
==================================================*/
.cta-section {
    width: 100%;
    background-color: #f7f6fa;
    padding: 40px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-phone-circle {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.cta-icon-phone {
    width: 40px;
    height: 40px;
}

.cta-text {
    flex-grow: 1;
}

.cta-text h2 {
    color: var(--primary-dark);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-text p {
    color: #555555;
    font-size: 15px;
    line-height: 1.4;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cta-buttons a {
    font-size: 14.5px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease-in-out;
}

.btn-arrow {
    width: 16px;
    height: 16px;
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary-dark);
    border: 1.5px solid var(--primary-dark);
}

.btn-secondary:hover {
    background-color: rgba(71, 33, 130, 0.04);
}

.btn-primary-cta {
    background-color: var(--primary-dark);
    color: #ffffff;
    border: 1.5px solid var(--primary-dark);
}

.btn-primary-cta:hover {
    background-color: #351863;
    border-color: #351863;
}

.btn-user-icon {
    width: 18px;
    height: 18px;
}

/*==================================================
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 25px;
    display: flex;
    justify-content: space-between;
    gap:25px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.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: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.footer-column h3 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.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: 10px;
    color: #a0aab5;
    font-size: 14px;
}

.contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 15px 20px;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.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 a:hover {
    color: #ffffff;
}

.legal-links .separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 12px;
}

/*==================================================
RESPONSIVE MEDIA QUERIES
==================================================*/
@media(max-width:1300px){
    .services-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media(max-width:1200px){
    .hero-grid{ grid-template-columns: 1fr; gap:60px; }
    .hero-content{ order:2; }
    .hero-image{ order:1; }
    .hero-content h1{ font-size:52px; }
}

@media (max-width: 1100px) {
    .advantages-grid{ grid-template-columns: repeat(2, 1fr); gap: 60px 0; }
    .advantage-item:nth-child(2)::after{ display:none; }
}

@media (max-width: 968px) {
    .cta-container { flex-direction: column; text-align: center; gap: 20px; }
    .cta-buttons { width: 100%; justify-content: center; flex-wrap: wrap; }
    .footer-container { gap: 30px; }
    .footer-column { flex: calc(50% - 20px); min-width: 200px; }
    .services-grid{ grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .services { padding: 70px 0; }
}


@media(max-width:768px) {
    .header{ height:auto; padding:20px 0; }
    .header-container{ flex-direction:column; gap:20px; }
    .navbar ul{ flex-wrap:wrap; justify-content:center; gap:20px; }
    .btn-header{ display:none; }
    .hero{ padding:40px 0; }
    .hero-content h1{ font-size:42px; }
    .hero-content p{ font-size:17px; }
    .image-wrapper img{ height:420px; }
    .hero-item span{ font-size:16px; }
    .advantages{ padding:70px 0; }
    .section-title h2{ font-size:34px; }
    .advantages-grid { grid-template-columns: 1fr; gap:55px; }
    .advantage-item{ padding:0; }
    .advantage-item::after{ display:none; }
    .advantage-icon{ width:82px; height:82px; }
    .advantage-icon i{ font-size:30px; }
    .advantage-item h3{ font-size:24px; }
    .advantage-item p{ max-width:320px; font-size:16px; }
    .services-grid{ grid-template-columns: 1fr; }
    .service-card{ min-height:auto; padding:38px 28px; }
    .service-icon i{ font-size:44px; }
    .service-card h3{ font-size:22px; }
    .service-card p{ margin-top:20px; font-size:16px; }
}

@media (max-width: 580px) {
    .cta-buttons a { width: 100%; justify-content: center; }
    .footer-container { flex-direction: column; gap: 35px; }
    .footer-column { width: 100%; }
    .footer-bottom-container { flex-direction: column; text-align: center; gap: 15px; }
}

@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;
}
