:root {
    --primary: #1f4f5f;
    --primary-dark: #153943;
    --secondary: #73c7c8;
    --background: #f7f9f9;
    --white: #ffffff;
    --text: #263238;
    --text-light: #66777d;
    --border: #dde6e7;

    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 4px 0;
}

.nav-container {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    width: 155px;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    font-size: 1.2rem;
    color: var(--text);
    transition: color 0.25s ease;
}

.nav a:hover {
    color: var(--secondary);
}

/* HERO */

.hero {
    min-height: 640px;
    display: flex;
    align-items: center;
    background:
    linear-gradient(
        90deg,
        rgba(10, 55, 65, 0.92) 0%,
        rgba(10, 55, 65, 0.82) 40%,
        rgba(10, 55, 65, 0.35) 72%,
        rgba(10, 55, 65, 0.12) 100%
    ),
    url("../img/home/hero-asesorarq.png");

background-size: cover;
background-position: center;
background-repeat: no-repeat;
    color: var(--white);
}

.hero-content {
    padding-top: 70px;
    padding-bottom: 70px;
}

.hero h1, h2 {
    max-width: 860px;
    font-size: clamp(2.8rem, 4.6vw, 4.4rem);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.hero-description {
    max-width: 560px;
    margin-top: 24px;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero-slogan {
    margin-top: 28px;
    font-size: 1.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--secondary);
}

.button {
    display: inline-block;
    margin-top: 38px;
    padding: 15px 26px;
    background-color: var(--secondary);
    color: var(--primary-dark);
    border-radius: 4px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
    background-color: #8bd5d5;
}

/* SERVICES */

.services {
    padding: 130px 0 110px;
    background-color: var(--background);
}

.section-heading {
    margin-bottom: 35px;
}

.section-label {
    color: var(--secondary);
    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--primary-dark);
    line-height: 1.1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    min-height: 420px;
    padding: 46px;
    background-color: var(--white);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(21, 57, 67, 0.10);
}


.service-card h3 {
    margin-top: 0;
    margin-bottom: 22px;
    font-size: 2.2rem;
    color: var(--primary-dark);
}

.service-card h4 {
    margin-bottom: 20px;
    max-width: 430px;
    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    max-width: 500px;
}

.service-card p strong {
    color: var(--primary);
    font-weight: 700;
}

.service-card > strong {
    display: block;
    margin-top: 22px;
    color: var(--primary);
    font-size: 1.05rem;
}

#servicios {
    scroll-margin-top: 90px;
}

/* TU CASA, TU VIDA */

.service-card-featured {
    grid-column: 1 / -1;
    min-height: 480px;
    padding: 0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
}

.service-image {
    min-height: 480px;
}

.service-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.service-content {
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-featured .service-link {
    margin-top: 35px;
    padding-top: 0;
}

.service-link {
    margin-top: auto;
    padding-top: 35px;
    font-weight: 700;
    color: var(--primary);
}

.service-link:hover {
    color: var(--secondary);
}

/* ANTES DE COMPRAR */

.service-card-reverse {
    margin-top: 30px;
}

.service-highlight {
    margin-top: 24px;
    padding-left: 18px;
    border-left: 3px solid var(--secondary);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark) !important;

    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .nav {
        display: none;
    }

    .hero {
        min-height: 700px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 360px;
    }

    .service-card-featured {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        min-height: 340px;
    }
    
    .service-content {
        padding: 40px;
    }
}

@media (max-width: 520px) {
    .nav-container {
        min-height: 70px;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .services {
        padding: 75px 0;
    }

    .service-card {
        padding: 32px 26px;
    }
}

.alternative {
    padding: 110px 0;
    background-color: #ffffff;
    scroll-margin-top: 90px;
}

.alternative .section-heading {
    max-width: 900px;
    margin-bottom: 40px;
}

.alternative .section-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--secondary);
}

.alternative h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    color: var(--primary-dark);
}

.alternative-content {
    max-width: 1000px;
}

.alternative-content > p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #3d4b52;
}

.alternative-values {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.alternative-value {
    padding-top: 22px;
    border-top: 3px solid var(--secondary);
}

.alternative-value h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.alternative-value p {
    margin: 0;
    line-height: 1.6;
    color: #59666c;
}
.evaluamos {
    padding: 110px 0;
    background-color: #f7f9f9;
    scroll-margin-top: 90px;
}

.evaluamos-heading {
    max-width: 850px;
    margin-bottom: 50px;
}

.evaluamos-heading p {
    margin-top: 20px;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #56636a;
}

.evaluamos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.evaluamos-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.evaluamos-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.10);
}

.evaluamos-image {
    height: 240px;
    overflow: hidden;
}

.evaluamos-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.evaluamos-content {
    padding: 26px;
}

.evaluamos-content h3 {
    margin: 0 0 12px;
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.evaluamos-content p {
    margin: 0;
    line-height: 1.65;
    color: #59666c;
}

.evaluamos-note {
    margin-top: 35px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #7a858a;
    font-style: italic;
}
.proceso {
    padding: 110px 0;
    background-color: #ffffff;
    scroll-margin-top: 90px;
}

.proceso-heading {
    max-width: 900px;
    margin-bottom: 70px;
}

.proceso-heading p {
    margin-top: 20px;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #56636a;
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.proceso-step {
    position: relative;
    padding: 30px 30px 30px 0;
    border-top: 2px solid #d9e3e5;
}

.proceso-step::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--secondary);
}

.proceso-number {
    display: block;
    margin-bottom: 22px;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary);
}

.proceso-step h3 {
    margin: 0 0 14px;
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.proceso-step p {
    margin: 0;
    padding-right: 15px;
    line-height: 1.65;
    color: #59666c;
}
.asesorarq {
    padding: 110px 0;
    background-color: #f7f9f9;
    scroll-margin-top: 90px;
}

.asesorarq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.asesorarq-image {
    overflow: hidden;
    border-radius: 18px;
}

.asesorarq-image img {
    width: 100%;
    height: 560px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.asesorarq-content h2 {
    margin: 12px 0 18px;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1.1;
    color: var(--primary-dark);
}

.asesorarq-content h3 {
    margin: 0 0 28px;
    font-size: 1.25rem;
    color: var(--secondary);
}

.asesorarq-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #56636a;
    margin-bottom: 18px;
}

.asesorarq-highlight {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--secondary);
    font-weight: 700;
    color: var(--primary-dark) !important;
}

.contacto {
    padding: 110px 0;
    background-color: var(--primary-dark);
    scroll-margin-top: 90px;
}

.contacto-content {
    max-width: 850px;
    text-align: center;
}

.contacto-label {
    color: var(--secondary);
}

.contacto h2 {
    margin: 12px auto 22px;
    font-size: clamp(2.3rem, 4vw, 3.8rem);
    line-height: 1.1;
    color: #ffffff;
}

.contacto p {
    max-width: 700px;
    margin: 0 auto 35px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.contacto-button {
    display: inline-block;
    padding: 16px 28px;
    background-color: var(--secondary);
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contacto-button:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.footer {
    padding: 35px 0;
    background-color: #082f37;
    color: rgba(255, 255, 255, 0.75);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer strong {
    color: #ffffff;
}

.footer p {
    margin: 5px 0 0;
    font-size: 0.9rem;
}

.footer-copy {
    text-align: right;
}

.alternative-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.alternative-images {
    display: grid;
    gap: 22px;
}

.alternative-photo {
    margin: 0;
}

.alternative-photo span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-dark);
}

.alternative-photo img {
    width: 80%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
}

.alternative-photo-adapted {
    margin-left: 45px;
}

.alternative-image-note {
    margin: -8px 0 0;
    font-size: 0.78rem;
    font-style: italic;
    color: #7a858a;
}