/**
 * Hoja de estilos principal - Residencial Los Alpes
 * Diseño fiel al sitio original (losalpes.com.uy) sobre Bootstrap 5.3
 * Tipografías y logo ligeramente ampliados para mayor legibilidad y presencia.
 */

:root {
    --alpes-green-primary: #689364;
    --alpes-green-olive: #99ad7a;
    --alpes-green-dark: #3e5b3c;
    --alpes-green-heading: #728d6f;
    --alpes-cream-bg: #fbf3ec;
    --alpes-gray-strip: #f2f2f2;
    --alpes-input-bg: #edf0f5;
    --alpes-whatsapp: #25d366;
    --alpes-whatsapp-top: #158915;
    --alpes-text-dark: #1a1a1a;
}

body {
    font-family: 'Montserrat', 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.05rem;
    color: var(--alpes-text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Utilidades de color */
.text-olive {
    color: var(--alpes-green-primary) !important;
}

.text-dark-olive {
    color: var(--alpes-green-dark) !important;
}

.bg-soft-cream {
    background-color: var(--alpes-cream-bg);
}

.shadow-xs {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Header y Barra Superior */
.site-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-contact-bar {
    font-size: 0.85rem;
}

.top-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--alpes-whatsapp-top);
    color: #ffffff;
    font-size: 0.84rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.top-wa-link:hover .top-icon-circle,
.top-ig-link:hover .top-icon-circle {
    transform: scale(1.08);
    background-color: var(--alpes-green-dark);
}

.top-wa-text {
    color: #2b2b2b;
    font-weight: 500;
    font-size: 0.85rem;
}

.top-tel-link:hover .top-wa-text {
    color: var(--alpes-green-primary);
    text-decoration: underline;
}

.site-logo {
    height: 58px;
    max-height: 60px;
    width: auto;
}

/* Navegación Principal */
.navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f1f1f !important;
    padding: 0.4rem 0 !important;
    margin: 0 0.95rem;
    position: relative;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--alpes-green-primary) !important;
}

.navbar-nav .nav-link.active {
    color: #111111 !important;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--alpes-green-primary);
}

/* Hero Principal (Home) */
.hero-section {
    background-color: #d8d5d0;
    background-repeat: no-repeat;
    background-position: center 43%;
    background-size: cover;
}

.hero-min-vh {
    min-height: clamp(500px, 43vw, 825px);
}

.hero-pretitle {
    color: #ffffff;
    font-size: 1.06rem;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.hero-title {
    color: #ffffff;
    font-size: clamp(2.25rem, 4vw, 3.15rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.hero-title-accent {
    color: var(--alpes-green-primary);
    text-shadow: none;
}

.hero-subtitle {
    color: #ffffff;
    font-size: clamp(1.3rem, 2.3vw, 1.68rem);
    font-weight: 700;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

.btn-hero-cta {
    background-color: var(--alpes-green-primary);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.72rem 1.5rem;
    border-radius: 0;
    border: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-hero-cta:hover,
.btn-hero-cta:focus {
    background-color: var(--alpes-green-dark);
    color: #ffffff;
}

/* Frase Institucional Destacada */
.intro-quote-text {
    font-size: clamp(1.18rem, 2vw, 1.42rem);
    font-weight: 700;
    color: #111111;
    line-height: 1.5;
}

/* Sección Verde Oliva: Los Mejores Profesionales */
.professionals-section {
    background-color: var(--alpes-green-olive);
    background-image: linear-gradient(135deg, rgba(153, 173, 122, 0.97) 0%, rgba(142, 164, 110, 0.94) 100%);
}

.professionals-photo {
    max-width: 315px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.professionals-title {
    font-size: clamp(1.5rem, 2.5vw, 1.88rem);
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.professionals-subtitle {
    font-size: 1.04rem;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
}

.professionals-checklist li {
    font-size: 0.94rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
}

.check-icon {
    font-size: 1.08rem;
    color: #ffffff;
}

/* Sección de 3 Tarjetas de Servicios Circulares */
.features-cards-section {
    background-color: var(--alpes-cream-bg);
}

.feature-card {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.feature-circle-img {
    width: 154px;
    height: 154px;
    object-fit: cover;
}

.feature-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.35;
}

.feature-card-text {
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.65;
}

/* Franja Inferior CTA */
.bottom-cta-strip {
    background-color: var(--alpes-gray-strip);
}

.bottom-cta-lead {
    font-size: 0.95rem;
    color: #222222;
}

.bottom-cta-highlight,
.bottom-cta-link {
    font-size: 1.26rem;
    font-weight: 700;
    color: #4f6f4c;
    transition: color 0.2s ease;
}

.bottom-cta-link:hover {
    color: var(--alpes-green-dark);
    text-decoration: underline !important;
}

/* Páginas Internas y Contacto */
.page-main-h1,
.contact-page-h1 {
    font-size: clamp(1.95rem, 3.1vw, 2.4rem);
    font-weight: 700;
    color: var(--alpes-green-heading);
}

.page-main-subtitle {
    font-size: 1.16rem;
    font-weight: 500;
    color: #444444;
}

.contact-page-subtitle {
    font-size: clamp(1.35rem, 2.2vw, 1.62rem);
    font-weight: 700;
    color: #000000;
}

.required-fields-note {
    font-size: 0.9rem;
    font-weight: 500;
    color: #222222;
}

.contact-input {
    background-color: var(--alpes-input-bg);
    border: 1px solid transparent;
    border-radius: 0;
    padding: 0.72rem 0.95rem;
    font-size: 0.94rem;
    color: #222222;
}

.contact-input::placeholder {
    color: #8c96a5;
}

.contact-input:focus {
    background-color: #ffffff;
    border-color: var(--alpes-green-primary);
    box-shadow: 0 0 0 0.15rem rgba(104, 147, 100, 0.2);
}

.contact-textarea {
    min-height: 155px;
    resize: vertical;
}

.btn-enviar {
    background-color: var(--alpes-green-dark);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.62rem 1.4rem;
    border-radius: 0;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-enviar:hover,
.btn-enviar:focus {
    background-color: var(--alpes-green-primary);
    color: #ffffff;
}

.btn-outline-olive {
    border: 1px solid var(--alpes-green-dark);
    color: var(--alpes-green-dark);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.62rem 1.35rem;
    border-radius: 0;
    transition: all 0.2s ease;
}

.btn-outline-olive:hover {
    background-color: var(--alpes-green-dark);
    color: #ffffff;
}

.contact-direct-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2b2b2b;
}

.contact-direct-item:hover {
    color: var(--alpes-green-primary);
}

/* Honeypot oculto */
.hp-field-wrap {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Componentes de Páginas Internas */
.page-body-text,
.quienes-paragraph {
    font-size: 0.96rem;
    line-height: 1.75;
    color: #222222;
}

.quienes-divider {
    border-top: 1px solid #e5e5e5;
    opacity: 1;
}

.quienes-section-title {
    font-size: clamp(1.3rem, 2vw, 1.55rem);
    font-weight: 700;
    color: #000000;
}

.servicios-comp-list li {
    font-size: 0.94rem;
    color: #222222;
    line-height: 1.65;
}

.servicios-comp-bullet {
    color: var(--alpes-green-primary);
    font-weight: 700;
    font-size: 1.05rem;
}

.team-portrait-img {
    height: 236px;
    width: auto;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-member-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000000;
}

.team-member-role {
    font-size: 0.88rem;
    color: #333333;
}

/* Sección El Residencial */
.residencial-h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.62rem);
    font-weight: 700;
    color: #000000;
}

.residencial-h3 {
    font-size: clamp(1.12rem, 1.8vw, 1.28rem);
    font-weight: 700;
    color: #000000;
}

.residencial-bullets {
    padding-left: 1.25rem;
}

.residencial-bullets li {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #222222;
}

.gallery-square-img {
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border: 2px solid #cfcfcf;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-thumb-link:hover .gallery-square-img {
    transform: scale(1.03);
    filter: brightness(0.95);
}

.residencial-contact-section {
    background-color: #688c63;
}

.residencial-form-heading {
    font-size: clamp(1.25rem, 2vw, 1.48rem);
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
}

.residencial-form-question {
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
}

.residencial-form-subbold {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

.residencial-form-tagline {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
}

.residencial-required-note {
    font-size: 0.88rem;
    color: #ffffff;
}

.residencial-form-input {
    background-color: rgba(255, 255, 255, 0.78);
    border: 1px solid transparent;
    border-radius: 0;
    padding: 0.68rem 0.95rem;
    font-size: 0.92rem;
    color: #222222;
}

.residencial-form-input::placeholder {
    color: #6c757d;
}

.residencial-form-input:focus {
    background-color: #ffffff;
    border-color: var(--alpes-green-dark);
    box-shadow: none;
}

.small-body {
    font-size: 0.95rem;
    line-height: 1.65;
}

.pillar-icon {
    font-size: 2rem;
    color: var(--alpes-green-primary);
}

.service-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--alpes-cream-bg);
    color: var(--alpes-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.team-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--alpes-cream-bg);
    color: var(--alpes-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}

.thankyou-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(104, 147, 100, 0.15);
    color: var(--alpes-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.35rem;
}

/* Footer Institucional */
.site-footer {
    background-color: var(--alpes-green-dark);
    font-size: 0.9rem;
}

.footer-link {
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline !important;
}

.footer-bottom-credit {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Botón Flotante de WhatsApp (Abajo a la Izquierda) */
.whatsapp-float {
    position: fixed;
    bottom: 18px;
    width: 52px;
    height: 52px;
    background-color: var(--alpes-whatsapp);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1050;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float.wa-float-left {
    left: 18px;
}

.whatsapp-float.wa-float-right {
    right: 18px;
}

.whatsapp-float:hover {
    color: #ffffff;
    transform: scale(1.07);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
}

.whatsapp-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 19px;
    height: 19px;
    background-color: #ff3b30;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Botón Scroll Top (Abajo a la Derecha) */
.scroll-top-btn {
    position: fixed;
    bottom: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    mix-blend-mode: difference;
    font-size: 1.25rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1040;
    cursor: pointer;
}

.scroll-top-btn.visible {
    display: inline-flex;
}

/* Ajustes Responsivos */
@media (max-width: 991.98px) {
    .site-logo {
        height: 50px;
        max-height: 52px;
    }

    .hero-section {
        background-position: 65% center;
    }

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.28);
        z-index: 0;
    }

    .navbar-nav .nav-link {
        margin: 0.2rem 0;
    }

    .navbar-nav .nav-link.active::after {
        width: 45px;
    }
}
