/*
Theme Name: Torre Tasaciones
Theme URI: https://torretasaciones.com.ar/
Author: Torre Tasaciones
Description: Tema personalizado para Torre Tasaciones Rurales.
Version: 1.0.0
Text Domain: torre-tasaciones
*/

/* =========================================================
   TORRE TASACIONES
   Sistema visual base
========================================================= */

:root {
    --torre-green: #00913c;
    --torre-dark: #1c110d;
    --torre-deep-green: #1f4e35;

    --torre-ivory: #f6f2ea;
    --torre-white: #ffffff;

    --torre-text: #231e1a;
    --torre-muted: #6e685f;
    --torre-border: #d8d0c3;

    --torre-container: 1320px;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--torre-ivory);
    color: var(--torre-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: var(--torre-white);
    border-bottom: 1px solid rgba(35, 30, 26, 0.08);
}

.site-header__inner {
    width: min(calc(100% - 48px), var(--torre-container));
    min-height: 96px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* MARCA */

.site-header__brand {
    flex-shrink: 0;
}

.site-header__logo {
    display: flex;
    align-items: center;
}

.site-header__name {
    color: var(--torre-dark);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.1;
}

.custom-logo-link {
    display: block;
}

.custom-logo {
    width: auto;
    max-width: 260px;
    max-height: 72px;
}


/* NAVEGACIÓN */

.site-navigation {
    margin-left: auto;
}

.site-navigation__menu {
    display: flex;
    align-items: center;
    gap: 32px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-navigation__menu a {
    position: relative;

    color: var(--torre-text);

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.site-navigation__menu a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--torre-green);

    transition: width 0.25s ease;
}

.site-navigation__menu a:hover::after {
    width: 100%;
}


/* WHATSAPP */

.site-header__actions {
    display: flex;
    align-items: center;
}

.site-header__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0 22px;

    background: var(--torre-green);
    color: var(--torre-white);

    border-radius: 2px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.site-header__whatsapp:hover {
    background: var(--torre-deep-green);
    transform: translateY(-1px);
}


/* =========================================================
   CONTENIDO PRINCIPAL
========================================================= */

.site-main {
    width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.home-hero {
    position: relative;
    min-height: 88vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 120px 24px;

    background-image:
        linear-gradient(
            rgba(28, 17, 13, 0.45),
            rgba(28, 17, 13, 0.45)
        ),
       url("http://torre-nueva.local/wp-content/uploads/2026/08/1920-%C3%97-900-mm-1-scaled.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(28, 17, 13, 0.18) 0%,
            rgba(28, 17, 13, 0.36) 100%
        );

    pointer-events: none;
}

.home-hero__content {
    position: relative;
    z-index: 2;

    width: min(100%, 1000px);
    margin: 0 auto;

    text-align: center;
    color: var(--torre-white);
}

.home-hero__eyebrow {
    margin: 0 0 22px;

    color: #9ee0b7;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-hero__title {
    max-width: 980px;
    margin: 0 auto 24px;

    color: var(--torre-white);

    font-size: clamp(42px, 6vw, 82px);
    font-weight: 700;

    line-height: 1.02;
    letter-spacing: -0.04em;
}

.home-hero__text {
    max-width: 760px;
    margin: 0 auto 38px;

    color: rgba(255, 255, 255, 0.92);

    font-size: 20px;
    line-height: 1.8;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;
    flex-wrap: wrap;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 26px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.button-primary {
    background: var(--torre-green);
    color: var(--torre-white);

    border: 1px solid var(--torre-green);
}

.button-primary:hover {
    background: var(--torre-deep-green);
    border-color: var(--torre-deep-green);

    transform: translateY(-1px);
}

.button-secondary {
    background: transparent;
    color: var(--torre-white);

    border: 1px solid rgba(255, 255, 255, 0.6);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--torre-white);

    transform: translateY(-1px);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: var(--torre-dark);
    color: var(--torre-white);
}

.site-footer__inner {
    width: min(calc(100% - 48px), var(--torre-container));
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(260px, 1.5fr)
        minmax(180px, 1fr)
        minmax(180px, 1fr)
        minmax(160px, 0.8fr);

    gap: 60px;

    padding: 80px 0 65px;
}

.site-footer__title {
    margin: 0 0 18px;

    font-size: 27px;
    line-height: 1.2;
}

.site-footer__description {
    max-width: 380px;

    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 22px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer__contact a {
    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.78);

    transition: color 0.2s ease;
}

.site-footer__contact a:hover {
    color: var(--torre-white);
}

.site-footer__menu {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer__menu li {
    margin-bottom: 10px;
}

.site-footer__menu a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__menu a:hover {
    color: var(--torre-white);
}

.site-footer__social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.site-footer__social-links a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__social-links a:hover {
    color: var(--torre-green);
}

.site-footer__bottom {
    width: min(calc(100% - 48px), var(--torre-container));

    margin: 0 auto;

    padding: 24px 0 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.48);

    font-size: 13px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .site-header__inner {
        gap: 24px;
    }

    .site-navigation__menu {
        gap: 20px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 760px) {

    .site-header__inner {
        min-height: 80px;
    }

    .site-navigation {
        display: none;
    }

    .site-header__whatsapp {
        min-height: 42px;
        padding: 0 16px;
    }

    .home-hero {
        min-height: 78vh;
        padding: 90px 22px;
    }

    .home-hero__title {
        font-size: clamp(38px, 11vw, 58px);
    }

    .home-hero__text {
        font-size: 17px;
    }

    .home-hero__actions {
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
        max-width: 320px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 42px;

        padding: 60px 0 50px;
    }
}
/* =========================================================
   ÁREAS DE CONOCIMIENTO
========================================================= */

.knowledge {
    padding: 105px 24px 115px;
    background: var(--torre-ivory);
}

.knowledge__inner {
    width: min(100%, var(--torre-container));
    margin: 0 auto;
}

.knowledge__heading {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.knowledge__eyebrow {
    margin: 0 0 16px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.knowledge__title {
    margin: 0;

    color: var(--torre-dark);

    font-size: clamp(34px, 4vw, 55px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}


/* GRID 4 + 4 */

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}


/* TARJETAS */

.knowledge-card {
    position: relative;

    min-height: 330px;

    display: flex;
    align-items: flex-end;

    padding: 30px;

    overflow: hidden;

    background-image:
        url("http://torre-nueva.local/wp-content/uploads/2026/08/1920-%C3%97-900-mm-1-scaled.png");

    background-size: cover;
    background-position: center;

    isolation: isolate;
}


/* Oscurecimiento */

.knowledge-card__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(20, 18, 14, 0.08) 0%,
            rgba(20, 18, 14, 0.76) 100%
        );

    transition: background 0.35s ease;
}


/* Zoom suave de fotografía */

.knowledge-card::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -2;

    background: inherit;
    background-size: cover;
    background-position: center;

    transition: transform 0.6s ease;
}

.knowledge-card:hover::before {
    transform: scale(1.06);
}

.knowledge-card:hover .knowledge-card__overlay {
    background:
        linear-gradient(
            180deg,
            rgba(0, 80, 38, 0.10) 0%,
            rgba(0, 70, 34, 0.82) 100%
        );
}


/* TÍTULO */

.knowledge-card h3 {
    position: relative;

    margin: 0;

    color: var(--torre-white);

    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.08;

    max-width: 250px;
}


/* Línea verde */

.knowledge-card h3::before {
    content: "";

    display: block;

    width: 42px;
    height: 3px;

    margin-bottom: 15px;

    background: var(--torre-green);

    transition: width 0.3s ease;
}

.knowledge-card:hover h3::before {
    width: 72px;
}


/* =========================================================
   RESPONSIVE DE LAS ÁREAS
========================================================= */

@media (max-width: 1050px) {

    .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .knowledge-card {
        min-height: 310px;
    }
}


@media (max-width: 600px) {

    .knowledge {
        padding: 75px 18px 85px;
    }

    .knowledge__heading {
        margin-bottom: 38px;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .knowledge-card {
        min-height: 260px;
        padding: 25px;
    }

    .knowledge-card h3 {
        font-size: 26px;
    }
}

/* =========================================================
   ENCABEZADOS DE SECCIÓN
========================================================= */

.section-heading {
    max-width: 850px;
    margin: 0 0 48px;
}

.section-heading--row {
    max-width: none;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.section-heading__eyebrow {
    margin: 0 0 14px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-heading__title {
    margin: 0;

    color: var(--torre-dark);

    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-heading__link {
    flex-shrink: 0;

    color: var(--torre-green);

    font-size: 14px;
    font-weight: 700;

    transition: color 0.2s ease;
}

.section-heading__link:hover {
    color: var(--torre-deep-green);
}


/* =========================================================
   ARTÍCULO DESTACADO
========================================================= */

.featured-article {
    padding: 110px 24px;
    background: var(--torre-white);
}

.featured-article__inner {
    width: min(100%, var(--torre-container));
    margin: 0 auto;
}

.featured-post {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(350px, 0.75fr);

    min-height: 560px;

    background: var(--torre-ivory);
}

.featured-post__image {
    display: block;
    min-height: 560px;
    overflow: hidden;
}

.featured-post__image img {
    width: 100%;
    height: 100%;
    min-height: 560px;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.featured-post:hover .featured-post__image img {
    transform: scale(1.025);
}

.featured-post__placeholder {
    width: 100%;
    height: 100%;
    min-height: 560px;

    background:
        linear-gradient(
            135deg,
            var(--torre-deep-green),
            var(--torre-dark)
        );
}

.featured-post__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 65px 55px;
}

.featured-post__category {
    margin: 0 0 18px;

    color: var(--torre-green);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.featured-post__title {
    margin: 0 0 24px;

    color: var(--torre-dark);

    font-size: clamp(34px, 3.5vw, 53px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.featured-post__title a {
    transition: color 0.2s ease;
}

.featured-post__title a:hover {
    color: var(--torre-green);
}

.featured-post__excerpt {
    margin: 0 0 32px;

    color: var(--torre-muted);

    font-size: 17px;
    line-height: 1.8;
}

.featured-post__link {
    align-self: flex-start;

    padding-bottom: 5px;

    color: var(--torre-green);

    border-bottom: 2px solid var(--torre-green);

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   ÚLTIMOS ARTÍCULOS
========================================================= */

.latest-articles {
    padding: 110px 24px 125px;

    background: var(--torre-ivory);
}

.latest-articles__inner {
    width: min(100%, var(--torre-container));
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 34px 26px;
}

.article-card {
    background: var(--torre-white);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.article-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px rgba(28, 17, 13, 0.08);
}

.article-card__image {
    display: block;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--torre-deep-green);
}

.article-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.04);
}

.article-card__placeholder {
    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            var(--torre-deep-green),
            var(--torre-dark)
        );
}

.article-card__content {
    padding: 28px 28px 30px;
}

.article-card__category {
    margin: 0 0 13px;

    color: var(--torre-green);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.article-card__title {
    margin: 0 0 18px;

    color: var(--torre-dark);

    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
}

.article-card__title a {
    transition: color 0.2s ease;
}

.article-card__title a:hover {
    color: var(--torre-green);
}

.article-card__date {
    margin: 0 0 20px;

    color: var(--torre-muted);

    font-size: 13px;
}

.article-card__link {
    color: var(--torre-green);

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   SIN ARTÍCULOS TODAVÍA
========================================================= */

.articles-empty {
    padding: 50px;

    background: var(--torre-ivory);

    border-left: 4px solid var(--torre-green);
}

.articles-empty p {
    margin: 0;

    color: var(--torre-muted);

    font-size: 17px;
}


/* =========================================================
   RESPONSIVE ARTÍCULOS
========================================================= */

@media (max-width: 1000px) {

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post__image,
    .featured-post__image img,
    .featured-post__placeholder {
        min-height: 430px;
    }

    .featured-post__content {
        padding: 50px 40px;
    }

    .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 700px) {

    .featured-article,
    .latest-articles {
        padding: 75px 18px 85px;
    }

    .section-heading--row {
        align-items: flex-start;
        flex-direction: column;

        gap: 18px;
    }

    .featured-post__image,
    .featured-post__image img,
    .featured-post__placeholder {
        min-height: 280px;
    }

    .featured-post__content {
        padding: 38px 28px;
    }

    .featured-post__title {
        font-size: 35px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-card__content {
        padding: 25px;
    }
}/* =========================================================
   ARTÍCULO INDIVIDUAL
========================================================= */

.single-post {
    background: var(--torre-white);
}


/* CABECERA DEL ARTÍCULO */

.single-article__header {
    padding: 95px 24px 70px;
    background: var(--torre-ivory);
}

.single-article__header-inner {
    width: min(100%, 980px);
    margin: 0 auto;
}

.single-article__category {
    margin: 0 0 18px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.single-article__title {
    max-width: 950px;
    margin: 0 0 28px;

    color: var(--torre-dark);

    font-size: clamp(46px, 6vw, 82px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.single-article__excerpt {
    max-width: 800px;
    margin: 0 0 30px;

    color: var(--torre-muted);

    font-size: 21px;
    line-height: 1.7;
}

.single-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;

    color: var(--torre-muted);

    font-size: 14px;
}


/* IMAGEN PRINCIPAL */

.single-article__featured-image {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.single-article__featured-image img {
    width: 100%;
    height: auto;
    max-height: 720px;

    object-fit: cover;
}


/* CUERPO DEL ARTÍCULO */

.single-article__body {
    width: min(calc(100% - 48px), 820px);

    margin: 0 auto;

    padding: 80px 0 95px;

    color: var(--torre-text);

    font-size: 18px;
    line-height: 1.9;
}

.single-article__body p {
    margin: 0 0 28px;
}

.single-article__body h2 {
    margin: 60px 0 24px;

    color: var(--torre-dark);

    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.single-article__body h3 {
    margin: 45px 0 20px;

    color: var(--torre-dark);

    font-size: 27px;
    line-height: 1.2;
}

.single-article__body ul,
.single-article__body ol {
    margin: 0 0 30px;
    padding-left: 25px;
}

.single-article__body li {
    margin-bottom: 10px;
}

.single-article__body img {
    width: 100%;
    height: auto;

    margin: 40px 0;
}

.single-article__body blockquote {
    margin: 45px 0;
    padding: 15px 0 15px 30px;

    border-left: 4px solid var(--torre-green);

    color: var(--torre-dark);

    font-size: 24px;
    line-height: 1.55;
}


/* FOOTER DEL ARTÍCULO */

.single-article__footer {
    padding: 0 24px 90px;

    background: var(--torre-white);
}

.single-article__footer-inner {
    width: min(100%, 820px);

    margin: 0 auto;

    padding-top: 30px;

    border-top: 1px solid var(--torre-border);
}

.single-article__tags-label {
    margin-right: 15px;

    color: var(--torre-green);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* RESPONSIVE */

@media (max-width: 700px) {

    .single-article__header {
        padding: 65px 20px 50px;
    }

    .single-article__title {
        font-size: clamp(38px, 11vw, 54px);
    }

    .single-article__excerpt {
        font-size: 18px;
    }

    .single-article__featured-image img {
        max-height: 450px;
    }

    .single-article__body {
        width: min(calc(100% - 40px), 820px);

        padding: 55px 0 70px;

        font-size: 17px;
        line-height: 1.85;
    }

    .single-article__body h2 {
        margin-top: 48px;
    }
}/* =========================================================
   AJUSTE IMAGEN DESTACADA DEL ARTÍCULO
========================================================= */

.single-article__featured-image {
    width: min(calc(100% - 48px), 1320px);
    margin: 0 auto;
}

.single-article__featured-image img {
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: cover;
}

@media (max-width: 700px) {

    .single-article__featured-image {
        width: calc(100% - 32px);
    }
}/* =========================================================
   AJUSTE DE LECTURA DEL ARTÍCULO
========================================================= */

.single-article__body {
    width: min(calc(100% - 48px), 820px);
    margin: 0 auto;
    padding: 80px 0 95px;

    color: var(--torre-text);

    font-size: 18px;
    line-height: 1.9;

    text-align: left;
}

.single-article__body p {
    margin: 0 0 28px;
    text-align: left;
}

.single-article__body h2 {
    margin: 60px 0 24px;

    color: var(--torre-dark);

    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.single-article__body h3 {
    margin: 45px 0 20px;

    color: var(--torre-dark);

    font-size: 27px;
    line-height: 1.2;
}

.single-article__body ul,
.single-article__body ol {
    margin: 0 0 30px;
    padding-left: 28px;
}

.single-article__body li {
    margin-bottom: 12px;
}

@media (max-width: 700px) {

    .single-article__body {
        width: min(calc(100% - 40px), 820px);

        padding: 55px 0 70px;

        font-size: 17px;
        line-height: 1.85;
    }
}/* =========================================================
   FICHA PROFESIONAL DEL AUTOR
========================================================= */

.author-card {
    padding: 20px 24px 90px;
    background: var(--torre-white);
}

.author-card__inner {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 48px 52px;

    background: var(--torre-ivory);
    border-left: 5px solid var(--torre-green);
}

.author-card__content {
    max-width: 720px;
}

.author-card__label {
    margin: 0 0 12px;

    color: var(--torre-green);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.author-card__name {
    margin: 0 0 8px;

    color: var(--torre-dark);

    font-size: 38px;
    line-height: 1.1;
}

.author-card__profession {
    margin: 0 0 28px;

    color: var(--torre-text);

    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
}

.author-card__licenses {
    margin: 0 0 28px;
    padding: 22px 0;

    border-top: 1px solid var(--torre-border);
    border-bottom: 1px solid var(--torre-border);
}

.author-card__licenses p {
    margin: 7px 0;

    color: var(--torre-muted);

    font-size: 15px;
    line-height: 1.6;
}

.author-card__licenses strong {
    color: var(--torre-dark);
}

.author-card__description {
    margin: 0 0 28px;

    color: var(--torre-muted);

    font-size: 16px;
    line-height: 1.7;
}

.author-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 24px;

    background: var(--torre-green);
    color: var(--torre-white);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.author-card__button:hover {
    color: var(--torre-white);
    transform: translateY(-2px);
    opacity: 0.9;
}


/* MÓVIL */

@media (max-width: 700px) {

    .author-card {
        padding: 10px 20px 65px;
    }

    .author-card__inner {
        padding: 35px 28px;

        border-left-width: 4px;
    }

    .author-card__name {
        font-size: 32px;
    }

    .author-card__profession {
        font-size: 16px;
    }

    .author-card__button {
        width: 100%;
    }
}/* =========================================================
   FOTO PROFESIONAL EN FICHA DEL AUTOR
========================================================= */

.author-card__inner {
    width: min(100%, 980px);

    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 44px;
    align-items: start;
}

.author-card__photo {
    width: 100%;
    overflow: hidden;
}

.author-card__photo img {
    display: block;

    width: 100%;
    aspect-ratio: 3 / 4;

    object-fit: cover;
    object-position: center;

    border-radius: 2px;
}

.author-card__content {
    max-width: none;
}


/* MÓVIL */

@media (max-width: 700px) {

    .author-card__inner {
        display: block;
    }

    .author-card__photo {
        width: min(100%, 300px);
        margin: 0 auto 32px;
    }

    .author-card__content {
        width: 100%;
    }
}/* =========================================================
   PÁGINA GENERAL DE ARTÍCULOS
========================================================= */

.articles-page {
    background: var(--torre-white);
}


/* CABECERA */

.articles-page__header {
    padding: 90px 24px 80px;

    background: var(--torre-ivory);
}

.articles-page__header-inner {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.articles-page__eyebrow {
    margin: 0 0 16px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.articles-page__title {
    margin: 0 0 22px;

    color: var(--torre-dark);

    font-size: clamp(52px, 7vw, 82px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.articles-page__intro {
    max-width: 760px;
    margin: 0;

    color: var(--torre-muted);

    font-size: 20px;
    line-height: 1.7;
}


/* CONTENIDO */

.articles-page__content {
    padding: 80px 24px 100px;
}

.articles-page__inner {
    width: min(100%, 1180px);
    margin: 0 auto;
}


/* GRILLA */

.articles-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 28px;
}


/* TARJETA */

.articles-page .article-card {
    overflow: hidden;

    background: var(--torre-white);

    border: 1px solid var(--torre-border);
}

.articles-page .article-card__image {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--torre-ivory);
}

.articles-page .article-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.articles-page .article-card:hover .article-card__image img {
    transform: scale(1.035);
}


/* CONTENIDO DE TARJETA */

.articles-page .article-card__content {
    padding: 28px 28px 30px;
}

.articles-page .article-card__category {
    margin: 0 0 14px;
}

.articles-page .article-card__category a {
    color: var(--torre-green);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;
}

.articles-page .article-card__title {
    margin: 0 0 16px;

    font-size: 28px;
    line-height: 1.15;
}

.articles-page .article-card__title a {
    color: var(--torre-dark);
    text-decoration: none;
}

.articles-page .article-card__title a:hover {
    color: var(--torre-green);
}

.articles-page .article-card__excerpt {
    margin: 0 0 26px;

    color: var(--torre-muted);

    font-size: 16px;
    line-height: 1.7;
}


/* FECHA + LEER ARTÍCULO */

.articles-page .article-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-top: 20px;

    border-top: 1px solid var(--torre-border);

    color: var(--torre-muted);

    font-size: 13px;
}

.articles-page .article-card__read-more {
    color: var(--torre-green);

    font-weight: 700;
    text-decoration: none;
}

.articles-page .article-card__read-more:hover {
    text-decoration: underline;
}


/* PAGINACIÓN */

.articles-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 60px;
}

.articles-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 44px;
    min-height: 44px;

    padding: 0 14px;

    border: 1px solid var(--torre-border);

    color: var(--torre-dark);

    font-weight: 700;
    text-decoration: none;
}

.articles-pagination .page-numbers.current,
.articles-pagination .page-numbers:hover {
    background: var(--torre-green);
    border-color: var(--torre-green);

    color: var(--torre-white);
}


/* SIN ARTÍCULOS */

.articles-page__empty {
    padding: 60px;

    background: var(--torre-ivory);

    border-left: 5px solid var(--torre-green);
}

.articles-page__empty h2 {
    margin-top: 0;

    color: var(--torre-dark);
}


/* TABLET */

@media (max-width: 950px) {

    .articles-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* MÓVIL */

@media (max-width: 650px) {

    .articles-page__header {
        padding: 65px 20px 55px;
    }

    .articles-page__intro {
        font-size: 18px;
    }

    .articles-page__content {
        padding: 55px 20px 70px;
    }

    .articles-page__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .articles-page .article-card__content {
        padding: 24px 22px 26px;
    }

    .articles-page .article-card__title {
        font-size: 25px;
    }

    .articles-page .article-card__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}/* =========================================================
   PÁGINAS DE CATEGORÍAS
========================================================= */

.category-page {
    background: var(--torre-white);
}


/* CABECERA */

.category-page__header {
    padding: 90px 24px 80px;

    background: var(--torre-ivory);
}

.category-page__header-inner {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.category-page__eyebrow {
    margin: 0 0 16px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.category-page__title {
    margin: 0 0 22px;

    color: var(--torre-dark);

    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.category-page__description {
    max-width: 760px;
    margin: 0;

    color: var(--torre-muted);

    font-size: 19px;
    line-height: 1.7;
}

.category-page__description p {
    margin: 0;
}


/* CONTENIDO */

.category-page__content {
    padding: 80px 24px 100px;
}

.category-page__inner {
    width: min(100%, 1180px);
    margin: 0 auto;
}


/* GRILLA */

.category-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 28px;
}


/* TARJETAS */

.category-page .article-card {
    overflow: hidden;

    background: var(--torre-white);

    border: 1px solid var(--torre-border);
}

.category-page .article-card__image {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--torre-ivory);
}

.category-page .article-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.category-page .article-card:hover .article-card__image img {
    transform: scale(1.035);
}


/* CONTENIDO DE LA TARJETA */

.category-page .article-card__content {
    padding: 28px 28px 30px;
}

.category-page .article-card__category {
    margin: 0 0 14px;
}

.category-page .article-card__category a {
    color: var(--torre-green);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;
}

.category-page .article-card__title {
    margin: 0 0 16px;

    font-size: 28px;
    line-height: 1.15;
}

.category-page .article-card__title a {
    color: var(--torre-dark);
    text-decoration: none;
}

.category-page .article-card__title a:hover {
    color: var(--torre-green);
}

.category-page .article-card__excerpt {
    margin: 0 0 26px;

    color: var(--torre-muted);

    font-size: 16px;
    line-height: 1.7;
}


/* FECHA + LEER MÁS */

.category-page .article-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-top: 20px;

    border-top: 1px solid var(--torre-border);

    color: var(--torre-muted);

    font-size: 13px;
}

.category-page .article-card__read-more {
    color: var(--torre-green);

    font-weight: 700;
    text-decoration: none;
}

.category-page .article-card__read-more:hover {
    text-decoration: underline;
}


/* SIN ARTÍCULOS */

.category-page__empty {
    padding: 60px;

    background: var(--torre-ivory);

    border-left: 5px solid var(--torre-green);
}

.category-page__empty h2 {
    margin-top: 0;

    color: var(--torre-dark);
}


/* TABLET */

@media (max-width: 950px) {

    .category-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* MÓVIL */

@media (max-width: 650px) {

    .category-page__header {
        padding: 65px 20px 55px;
    }

    .category-page__description {
        font-size: 18px;
    }

    .category-page__content {
        padding: 55px 20px 70px;
    }

    .category-page__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .category-page .article-card__content {
        padding: 24px 22px 26px;
    }

    .category-page .article-card__title {
        font-size: 25px;
    }

    .category-page .article-card__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
/* =========================================================
   PÁGINA TASACIONES
========================================================= */

.services-page {
    background: var(--torre-white);
}


/* HERO */

.services-hero {
    padding: 105px 24px 95px;
    background: var(--torre-ivory);
}

.services-hero__inner {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.services-hero__eyebrow {
    margin: 0 0 18px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.services-hero__title {
    max-width: 950px;
    margin: 0 0 26px;

    color: var(--torre-dark);

    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.services-hero__intro {
    max-width: 760px;
    margin: 0 0 36px;

    color: var(--torre-muted);

    font-size: 21px;
    line-height: 1.7;
}

.services-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* BOTONES */

.services-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 26px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background 0.2s ease;
}

.services-button:hover {
    transform: translateY(-2px);
}

.services-button--primary {
    background: var(--torre-green);
    color: var(--torre-white);
}

.services-button--primary:hover {
    color: var(--torre-white);
    opacity: 0.9;
}

.services-button--secondary {
    background: transparent;
    color: var(--torre-dark);

    border: 1px solid var(--torre-border);
}

.services-button--secondary:hover {
    background: var(--torre-white);
    color: var(--torre-dark);
}


/* SECCIONES */

.services-section {
    padding: 90px 24px;
}

.services-section--ivory {
    background: var(--torre-ivory);
}

.services-section__inner,
.services-process__inner,
.services-cta__inner {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.services-section__heading {
    max-width: 760px;
    margin-bottom: 50px;
}

.services-section__eyebrow {
    margin: 0 0 14px;

    color: var(--torre-green);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.services-section__heading h2 {
    margin: 0;

    color: var(--torre-dark);

    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}


/* QUÉ SE ANALIZA */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.services-card {
    min-height: 300px;
    padding: 34px 30px;

    background: var(--torre-white);

    border: 1px solid var(--torre-border);
}

.services-card__number {
    display: block;
    margin-bottom: 55px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.services-card h3 {
    margin: 0 0 16px;

    color: var(--torre-dark);

    font-size: 24px;
    line-height: 1.2;
}

.services-card p {
    margin: 0;

    color: var(--torre-muted);

    font-size: 15px;
    line-height: 1.75;
}


/* CUÁNDO SE NECESITA */

.services-list {
    border-top: 1px solid var(--torre-border);
}

.services-list__item {
    display: grid;
    grid-template-columns: minmax(250px, 0.9fr) 1.6fr;
    gap: 50px;

    padding: 30px 0;

    border-bottom: 1px solid var(--torre-border);
}

.services-list__item strong {
    color: var(--torre-dark);

    font-size: 20px;
    line-height: 1.3;
}

.services-list__item p {
    max-width: 650px;
    margin: 0;

    color: var(--torre-muted);

    font-size: 16px;
    line-height: 1.7;
}


/* PROCESO */

.services-process {
    padding: 90px 24px 100px;

    background: var(--torre-white);
}

.services-process__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border-top: 1px solid var(--torre-border);
    border-bottom: 1px solid var(--torre-border);
}

.services-process__step {
    min-height: 270px;
    padding: 35px 28px;

    border-right: 1px solid var(--torre-border);
}

.services-process__step:last-child {
    border-right: 0;
}

.services-process__step span {
    display: block;
    margin-bottom: 45px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;
}

.services-process__step h3 {
    margin: 0 0 14px;

    color: var(--torre-dark);

    font-size: 24px;
}

.services-process__step p {
    margin: 0;

    color: var(--torre-muted);

    font-size: 15px;
    line-height: 1.7;
}


/* CTA FINAL */

.services-cta {
    padding: 95px 24px;

    background: var(--torre-deep-green);
}

.services-cta__inner {
    max-width: 900px;
}

.services-cta__eyebrow {
    margin: 0 0 16px;

    color: var(--torre-white);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.72;
}

.services-cta h2 {
    max-width: 850px;
    margin: 0 0 22px;

    color: var(--torre-white);

    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.services-cta p {
    max-width: 690px;
    margin: 0 0 32px;

    color: var(--torre-white);

    font-size: 18px;
    line-height: 1.7;

    opacity: 0.82;
}

.services-cta .services-button--primary {
    background: var(--torre-white);
    color: var(--torre-deep-green);
}

.services-cta .services-button--primary:hover {
    color: var(--torre-deep-green);
}


/* TABLET */

@media (max-width: 950px) {

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-process__step:nth-child(2) {
        border-right: 0;
    }

    .services-process__step:nth-child(-n+2) {
        border-bottom: 1px solid var(--torre-border);
    }
}


/* MÓVIL */

@media (max-width: 650px) {

    .services-hero {
        padding: 70px 20px 65px;
    }

    .services-hero__intro {
        font-size: 18px;
    }

    .services-hero__actions {
        flex-direction: column;
    }

    .services-button {
        width: 100%;
    }

    .services-section,
    .services-process {
        padding: 65px 20px;
    }

    .services-section__heading {
        margin-bottom: 35px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-card {
        min-height: auto;
    }

    .services-card__number {
        margin-bottom: 35px;
    }

    .services-list__item {
        grid-template-columns: 1fr;
        gap: 12px;

        padding: 25px 0;
    }

    .services-process__steps {
        grid-template-columns: 1fr;
    }

    .services-process__step,
    .services-process__step:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--torre-border);
    }

    .services-process__step:last-child {
        border-bottom: 0;
    }

    .services-cta {
        padding: 70px 20px;
    }
}
/* =========================================================
   PÁGINA SOBRE MÍ
========================================================= */

.about-page {
    background: var(--torre-white);
}


/* HERO */

.about-hero {
    padding: 90px 24px;
    background: var(--torre-ivory);
}

.about-hero__inner {
    width: min(100%, 1180px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 70px;
    align-items: center;
}

.about-hero__content {
    max-width: 760px;
}

.about-hero__eyebrow {
    margin: 0 0 18px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-hero__title {
    margin: 0 0 16px;

    color: var(--torre-dark);

    font-size: clamp(52px, 6vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.about-hero__profession {
    margin: 0 0 28px;

    color: var(--torre-dark);

    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}

.about-hero__intro {
    max-width: 700px;
    margin: 0 0 34px;

    color: var(--torre-muted);

    font-size: 20px;
    line-height: 1.75;
}

.about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* FOTO */

.about-hero__photo {
    width: 100%;
    max-width: 390px;
    justify-self: end;
    overflow: hidden;
}

.about-hero__photo img {
    display: block;

    width: 100%;
    aspect-ratio: 3 / 4;

    object-fit: cover;
    object-position: center;
}


/* BOTONES */

.about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 26px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.about-button:hover {
    transform: translateY(-2px);
}

.about-button--primary {
    background: var(--torre-green);
    color: var(--torre-white);
}

.about-button--primary:hover {
    color: var(--torre-white);
    opacity: 0.9;
}

.about-button--secondary {
    color: var(--torre-dark);
    border: 1px solid var(--torre-border);
}

.about-button--secondary:hover {
    color: var(--torre-dark);
    background: var(--torre-white);
}


/* SECCIONES */

.about-section {
    padding: 95px 24px;
}

.about-section--ivory {
    background: var(--torre-ivory);
}

.about-section__inner,
.about-credentials__inner,
.about-cta__inner {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.about-section__heading {
    max-width: 850px;
    margin-bottom: 55px;
}

.about-section__eyebrow {
    margin: 0 0 14px;

    color: var(--torre-green);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-section__heading h2 {
    margin: 0;

    color: var(--torre-dark);

    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}


/* TEXTO PROFESIONAL */

.about-text-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 80px;

    padding-top: 35px;
    border-top: 1px solid var(--torre-border);
}

.about-text-grid__lead p {
    margin: 0;

    color: var(--torre-dark);

    font-size: 27px;
    font-weight: 700;
    line-height: 1.45;
}

.about-text-grid__body p {
    margin: 0 0 22px;

    color: var(--torre-muted);

    font-size: 17px;
    line-height: 1.8;
}


/* CREDENCIALES */

.about-credentials {
    padding: 95px 24px;

    background: var(--torre-white);
}

.about-credentials__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--torre-border);
    border-bottom: 1px solid var(--torre-border);
}

.about-credential {
    min-height: 260px;
    padding: 35px 32px;

    border-right: 1px solid var(--torre-border);
}

.about-credential:last-child {
    border-right: 0;
}

.about-credential__number {
    display: block;
    margin-bottom: 55px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;
}

.about-credential h3 {
    margin: 0 0 12px;

    color: var(--torre-dark);

    font-size: 25px;
    line-height: 1.2;
}

.about-credential p {
    margin: 0;

    color: var(--torre-muted);

    font-size: 16px;
}


/* ESPECIALIZACIÓN */

.about-specialties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    border-top: 1px solid var(--torre-border);
}

.about-specialties__item {
    padding: 35px 35px 40px 0;

    border-bottom: 1px solid var(--torre-border);
}

.about-specialties__item:nth-child(odd) {
    padding-right: 55px;
    border-right: 1px solid var(--torre-border);
}

.about-specialties__item:nth-child(even) {
    padding-left: 55px;
}

.about-specialties__item span {
    display: block;
    margin-bottom: 30px;

    color: var(--torre-green);

    font-size: 13px;
    font-weight: 800;
}

.about-specialties__item h3 {
    margin: 0 0 14px;

    color: var(--torre-dark);

    font-size: 26px;
}

.about-specialties__item p {
    max-width: 470px;
    margin: 0;

    color: var(--torre-muted);

    font-size: 16px;
    line-height: 1.75;
}


/* CIERRE */

.about-cta {
    padding: 95px 24px;

    background: var(--torre-deep-green);
}

.about-cta__inner {
    max-width: 900px;
}

.about-cta__eyebrow {
    margin: 0 0 16px;

    color: var(--torre-white);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.72;
}

.about-cta h2 {
    margin: 0 0 22px;

    color: var(--torre-white);

    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.about-cta p {
    max-width: 680px;
    margin: 0 0 32px;

    color: var(--torre-white);

    font-size: 18px;
    line-height: 1.7;

    opacity: 0.82;
}

.about-button--light {
    background: var(--torre-white);
    color: var(--torre-deep-green);
}

.about-button--light:hover {
    color: var(--torre-deep-green);
}


/* TABLET */

@media (max-width: 950px) {

    .about-hero__inner {
        grid-template-columns: 1fr 300px;
        gap: 45px;
    }

    .about-text-grid {
        gap: 50px;
    }
}


/* MÓVIL */

@media (max-width: 700px) {

    .about-hero {
        padding: 65px 20px;
    }

    .about-hero__inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-hero__photo {
        max-width: 360px;
        justify-self: start;
    }

    .about-hero__intro {
        font-size: 18px;
    }

    .about-hero__actions {
        flex-direction: column;
    }

    .about-button {
        width: 100%;
    }

    .about-section,
    .about-credentials,
    .about-cta {
        padding: 65px 20px;
    }

    .about-text-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text-grid__lead p {
        font-size: 23px;
    }

    .about-credentials__grid {
        grid-template-columns: 1fr;
    }

    .about-credential {
        min-height: auto;

        border-right: 0;
        border-bottom: 1px solid var(--torre-border);
    }

    .about-credential:last-child {
        border-bottom: 0;
    }

    .about-specialties {
        grid-template-columns: 1fr;
    }

    .about-specialties__item,
    .about-specialties__item:nth-child(odd),
    .about-specialties__item:nth-child(even) {
        padding: 30px 0;

        border-right: 0;
        border-bottom: 1px solid var(--torre-border);
    }
}
/* =========================================================
   PÁGINA CONTACTO
========================================================= */

.contact-page {
    background: var(--torre-white);
}


/* HERO */

.contact-hero {
    padding: 95px 24px 85px;
    background: var(--torre-ivory);
}

.contact-hero__inner {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.contact-hero__intro {
    max-width: 900px;
}

.contact-hero__eyebrow,
.contact-section__eyebrow,
.contact-whatsapp__eyebrow {
    margin: 0 0 16px;

    color: var(--torre-green);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-hero__title {
    max-width: 900px;
    margin: 0 0 26px;

    color: var(--torre-dark);

    font-size: clamp(50px, 6vw, 78px);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.contact-hero__description {
    max-width: 760px;
    margin: 0;

    color: var(--torre-muted);

    font-size: 20px;
    line-height: 1.75;
}


/* BLOQUE PRINCIPAL */

.contact-main {
    padding: 95px 24px 105px;
}

.contact-main__inner {
    width: min(100%, 1180px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
    align-items: start;
}


/* INFORMACIÓN DE CONTACTO */

.contact-info__title {
    margin: 0 0 10px;

    color: var(--torre-dark);

    font-size: 42px;
    line-height: 1.1;
}

.contact-info__profession {
    margin: 0 0 38px;

    color: var(--torre-text);

    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.contact-info__items {
    border-top: 1px solid var(--torre-border);
}

.contact-info__item {
    padding: 24px 0;

    border-bottom: 1px solid var(--torre-border);
}

.contact-info__label {
    display: block;
    margin-bottom: 8px;

    color: var(--torre-muted);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-info__item a {
    color: var(--torre-dark);

    font-size: 20px;
    font-weight: 700;

    text-decoration: none;
}

.contact-info__item a:hover {
    color: var(--torre-green);
}

.contact-info__credentials {
    margin-top: 38px;
    padding: 28px;

    background: var(--torre-ivory);

    border-left: 4px solid var(--torre-green);
}

.contact-info__credentials p {
    margin: 0 0 18px;

    color: var(--torre-muted);

    font-size: 15px;
    line-height: 1.6;
}

.contact-info__credentials p:last-child {
    margin-bottom: 0;
}

.contact-info__credentials strong {
    color: var(--torre-dark);
}


/* FORMULARIO */

.contact-form-wrapper {
    padding: 46px 48px;

    background: var(--torre-ivory);
}

.contact-form__title {
    margin: 0 0 18px;

    color: var(--torre-dark);

    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.contact-form__intro {
    max-width: 600px;
    margin: 0 0 35px;

    color: var(--torre-muted);

    font-size: 16px;
    line-height: 1.7;
}

.contact-form {
    display: grid;
    gap: 22px;
}

.contact-form__field {
    display: grid;
    gap: 9px;
}

.contact-form__field label {
    color: var(--torre-dark);

    font-size: 14px;
    font-weight: 700;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    width: 100%;

    padding: 14px 15px;

    background: var(--torre-white);
    color: var(--torre-text);

    border: 1px solid var(--torre-border);

    font: inherit;
    font-size: 16px;

    outline: none;
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 170px;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    border-color: var(--torre-green);
}

.contact-form__submit {
    min-height: 52px;
    padding: 0 26px;

    background: var(--torre-green);
    color: var(--torre-white);

    border: 0;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.contact-form__submit:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


/* CTA WHATSAPP */

.contact-whatsapp {
    padding: 95px 24px;

    background: var(--torre-deep-green);
}

.contact-whatsapp__inner {
    width: min(100%, 900px);
    margin: 0 auto;
}

.contact-whatsapp__eyebrow {
    color: var(--torre-white);
    opacity: 0.72;
}

.contact-whatsapp h2 {
    max-width: 820px;
    margin: 0 0 22px;

    color: var(--torre-white);

    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.contact-whatsapp p {
    max-width: 680px;
    margin: 0 0 32px;

    color: var(--torre-white);

    font-size: 18px;
    line-height: 1.7;

    opacity: 0.82;
}

.contact-whatsapp__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 26px;

    background: var(--torre-white);
    color: var(--torre-deep-green);

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition: transform 0.2s ease;
}

.contact-whatsapp__button:hover {
    color: var(--torre-deep-green);
    transform: translateY(-2px);
}


/* TABLET */

@media (max-width: 950px) {

    .contact-main__inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}


/* MÓVIL */

@media (max-width: 700px) {

    .contact-hero {
        padding: 65px 20px 60px;
    }

    .contact-hero__description {
        font-size: 18px;
    }

    .contact-main {
        padding: 65px 20px 75px;
    }

    .contact-info__title {
        font-size: 36px;
    }

    .contact-info__item a {
        font-size: 17px;
        word-break: break-word;
    }

    .contact-form-wrapper {
        padding: 32px 22px;
    }

    .contact-form__submit {
        width: 100%;
    }

    .contact-whatsapp {
        padding: 70px 20px;
    }

    .contact-whatsapp__button {
        width: 100%;
    }
}
/* =========================================================
   MENSAJES Y ANTISPAM DEL FORMULARIO
========================================================= */

.contact-form__honeypot {
    position: absolute !important;
    left: -9999px !important;

    width: 1px;
    height: 1px;

    overflow: hidden;

    opacity: 0;
    pointer-events: none;
}

.contact-form__notice {
    margin: 0 0 30px;
    padding: 20px 22px;

    background: var(--torre-white);

    border-left: 4px solid var(--torre-dark);
}

.contact-form__notice--success {
    border-left-color: var(--torre-green);
}

.contact-form__notice--error {
    border-left-color: var(--torre-dark);
}

.contact-form__notice strong {
    display: block;
    margin-bottom: 6px;

    color: var(--torre-dark);

    font-size: 16px;
}

.contact-form__notice p {
    margin: 0;

    color: var(--torre-muted);

    font-size: 15px;
    line-height: 1.6;
}
/* =========================================================
   MENÚ MÓVIL
========================================================= */

.mobile-navigation {
    display: none;
}


/* El header servirá como referencia para el menú desplegable */

.site-header__inner {
    position: relative;
}


/* =========================================================
   CELULAR / TABLET
========================================================= */

@media (max-width: 850px) {

    /* Ocultar menú de escritorio */

    .site-navigation--desktop {
        display: none;
    }


    /* Mostrar menú móvil */

    .mobile-navigation {
        display: block;
        margin-left: auto;
    }


    /* Sacar triángulo predeterminado de DETAILS */

    .mobile-navigation__toggle {
        display: flex;
        align-items: center;
        gap: 9px;

        padding: 10px 8px;

        list-style: none;

        color: var(--torre-dark);

        font-size: 14px;
        font-weight: 700;

        cursor: pointer;

        user-select: none;
    }

    .mobile-navigation__toggle::-webkit-details-marker {
        display: none;
    }


    /* ICONO HAMBURGUESA */

    .mobile-navigation__icon {
        position: relative;

        display: block;

        width: 22px;
        height: 16px;

        flex: 0 0 22px;
    }

    .mobile-navigation__icon span {
        position: absolute;
        left: 0;

        width: 22px;
        height: 2px;

        background: var(--torre-dark);

        transition:
            transform 0.2s ease,
            opacity 0.2s ease,
            top 0.2s ease;
    }

    .mobile-navigation__icon span:nth-child(1) {
        top: 0;
    }

    .mobile-navigation__icon span:nth-child(2) {
        top: 7px;
    }

    .mobile-navigation__icon span:nth-child(3) {
        top: 14px;
    }


    /* HAMBURGUESA → X CUANDO ESTÁ ABIERTO */

    .mobile-navigation[open]
    .mobile-navigation__icon span:nth-child(1) {
        top: 7px;
        transform: rotate(45deg);
    }

    .mobile-navigation[open]
    .mobile-navigation__icon span:nth-child(2) {
        opacity: 0;
    }

    .mobile-navigation[open]
    .mobile-navigation__icon span:nth-child(3) {
        top: 7px;
        transform: rotate(-45deg);
    }


    /* PANEL DESPLEGABLE */

    .mobile-navigation__panel {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        z-index: 9999;

        background: var(--torre-white);

        border-top: 1px solid var(--torre-border);
        border-bottom: 1px solid var(--torre-border);

        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }


    /* LISTA */

    .mobile-navigation__menu {
        margin: 0;
        padding: 10px 24px 18px;

        list-style: none;
    }

    .mobile-navigation__menu li {
        margin: 0;
        padding: 0;

        border-bottom: 1px solid var(--torre-border);
    }

    .mobile-navigation__menu li:last-child {
        border-bottom: 0;
    }

    .mobile-navigation__menu a {
        display: block;

        padding: 15px 0;

        color: var(--torre-dark);

        font-size: 16px;
        font-weight: 700;

        text-decoration: none;
    }

    .mobile-navigation__menu a:hover,
    .mobile-navigation__menu .current-menu-item > a {
        color: var(--torre-green);
    }


    /* Ajustar un poco el botón WhatsApp */

    .site-header__whatsapp {
        min-height: 46px;
        padding-left: 16px;
        padding-right: 16px;

        font-size: 13px;
    }
}


/* =========================================================
   CELULARES MUY ANGOSTOS
========================================================= */

@media (max-width: 380px) {

    .mobile-navigation__text {
        display: none;
    }

    .mobile-navigation__toggle {
        padding-left: 4px;
        padding-right: 4px;
    }

    .site-header__whatsapp {
        padding-left: 13px;
        padding-right: 13px;
    }
}