/* 
    Nuevos Estilos Reestructurados - Boostrap 5 Overrides and Helpers
*/

/* Primary color override to match the brand (deep orange/red) */
:root {
    --bs-primary: #f7941d;
    /* Adjust this to exact brand color */
    --bs-primary-rgb: 247, 148, 29;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #333333;
}

/* Base custom classes */
.title {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Header & Navbar adjustments */
.header {
    position: sticky;
    top: 0;
    z-index: 999999 !important;
    background-color: #fff;
}

.header__top {
    font-size: 0.85rem;
}

.header__nav .nav-link {
    font-size: 0.95rem;
}

/* Navbar scroll effect — compact on scroll */
.header .header__container__top {
    max-height: 60px;
    transition: max-height 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}
.header.header--scrolled .header__container__top {
    max-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
    border-bottom: none !important;
}
.header .navbar {
    transition: padding 0.3s ease;
}
.header.header--scrolled .navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.header.header--scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   Mega Menu
   ===================================================== */
.dropdown-menu-mega {
    width: 750px;
    border-radius: 12px;
    border: none;
    left: 50%;
    transform: translateX(-50%);
    padding: 1.5rem;
}
.dropdown-menu-resources {
    width: 400px;
    border-radius: 12px;
    border: none;
    padding: 1.5rem;
}
.dropdown-mega .dropdown-header,
.dropdown-mega-sm .dropdown-header {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    padding-left: 0;
    margin-bottom: 0.5rem;
    color: #f7941d;
}
.dropdown-mega .dropdown-item,
.dropdown-mega-sm .dropdown-item {
    font-size: 0.9rem;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.dropdown-mega .dropdown-item:hover,
.dropdown-mega-sm .dropdown-item:hover {
    background-color: rgba(247, 148, 29, 0.08);
    color: #f7941d;
}
@media (max-width: 991.98px) {
    .dropdown-menu-mega,
    .dropdown-menu-resources {
        width: 100%;
        transform: none;
        left: 0;
    }
}

/* Sections padding */
.hero-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Cards & Components */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* =====================================================
   Button System — Property Media Group, LLC Brand Standards
   ===================================================== */

/* Primary CTA — Salmon / Brand Orange */
.btn-brand {
    background-color: #f7941d;
    border: 2px solid #f7941d;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 0.55rem 1.75rem;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.btn-brand:hover,
.btn-brand:focus-visible {
    background-color: #de851a;
    border-color: #de851a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(247, 148, 29, 0.35);
    outline: none;
}

.btn-brand:active {
    background-color: #c67617;
    border-color: #c67617;
    transform: translateY(1px);
}

.btn-brand:disabled,
.btn-brand.disabled {
    background-color: #fbca8e;
    border-color: #fbca8e;
    pointer-events: none;
    opacity: 0.65;
}

/* Secondary CTA — Outline style */
.btn-brand-outline {
    background-color: transparent;
    border: 2px solid #f7941d;
    color: #f7941d;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    padding: 0.5rem 1.75rem;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}
/* CTA bannerdark */
.cta-banner-dark{
    background-color: #050136 !important;
}

.btn-brand-outline:hover,
.btn-brand-outline:focus-visible {
    background-color: #f7941d;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(247, 148, 29, 0.25);
    outline: none;
}

.btn-brand-outline:active {
    background-color: #de851a;
    border-color: #de851a;
    color: #ffffff;
    transform: translateY(1px);
}

.btn-brand-outline:disabled,
.btn-brand-outline.disabled {
    opacity: 0.55;
    pointer-events: none;
}


/* =====================================================
   How It Works (Process Section)
   ===================================================== */
.process-section .icon-wrapper svg,
.process-section .icon-wrapper .process-icon {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto;
}

.process-section .process-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
}


.footer {
    background-color: #050136 !important;
    color: #f8f9fa;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #ffffff;
}

/* Footer subheaders */
.footer .subheader {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 1rem;
}

/* Footer lists: 3 columns side by side */
.footer__lists {
    display: flex;
    gap: 2rem;
}

.footer__lists > div {
    flex: 1;
    min-width: 0;
}

.footer__lists ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__lists ul li {
    margin-bottom: 0.4rem;
}

.footer__lists ul li a {
    font-size: 0.9rem;
}

/* Footer blog section */
.footer__blog .blog__item {
    margin-bottom: 1rem;
}

.footer__blog .blog__image img {
    border-radius: 4px;
    width: 100%;
}

.footer__blog .blog__desc p {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Footer cities */
.footer__cities {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__cities .company__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 6;
}

.footer__cities .company__menu li {
    font-size: 0.9rem;
}

/* Footer bottom bar */
.footer__bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.footer__info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer__social-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.footer__social-btn .subheader {
    margin-bottom: 0;
    white-space: nowrap;
}

.footer__social-btn .icon {
    font-size: 1.25rem;
    color: #adb5bd;
}

.footer__social-btn .icon:hover {
    color: #ffffff;
}

.footer__contacts {
    font-size: 0.85rem;
}

.footer__contacts-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer__contacts-links p {
    margin: 0;
}

.footer__address p {
    margin: 0;
    font-size: 0.8rem;
    color: #8c93a1;
}

.footer__copyright {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer__copyright span a {
    font-size: 0.85rem;
}

/* Footer responsive */
@media (max-width: 1199.98px) {
    .footer__lists {
        margin-bottom: 2rem;
    }

    .footer__copyright {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .footer__lists {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer__info {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__copyright {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Email Capture overrides */
.email-capture-section {
    border-top: 5px solid var(--bs-primary);
}

/* Hero Slider Navigation Overrides */
.banner-section {
    height: 620px;
    /* Rectangular landscape banner */
    overflow: hidden;
    position: relative;
}

.banner-section .row {
    height: 620px;
}

@media (max-width: 768px) {
    .banner-section,
    .banner-section .row {
        height: auto;
        min-height: 300px;
    }
}

/* Bootstrap Carousel — Hero */
.banner-section .carousel,
.banner-section .carousel-inner,
.banner-section .carousel-item {
    height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-section .carousel-indicators {
    z-index: 10;
}

.banner-section .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0.5;
}

.banner-section .carousel-indicators button.active {
    opacity: 1;
}

.banner-section .carousel-control-prev,
.banner-section .carousel-control-next {
    width: auto;
    padding: 0 40px;
    opacity: 0.7;
}

.banner-section .carousel-control-prev:hover,
.banner-section .carousel-control-next:hover {
    opacity: 1;
}

/* =====================================================
   Trust Grid Icons
   ===================================================== */
.trust-icon {
    max-height: 80px;
}

/* CTA Graphic */
.cta-graphic {
    max-height: 400px;
    object-fit: contain;
}

/* =====================================================
   Before/After Comparison Slider
   ===================================================== */
.ba-slider-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
}

.ba-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: ew-resize;
    aspect-ratio: 3 / 2;
}

.ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.ba-before-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.ba-img--before {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 50% 0 0);
}

.ba-img--after {
    z-index: 0;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 44px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.ba-handle__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.ba-handle__circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(247, 148, 29, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    transition: transform 0.15s ease;
}

.ba-slider:hover .ba-handle__circle {
    transform: scale(1.1);
}

.ba-label {
    position: absolute;
    top: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 3px;
    z-index: 3;
    pointer-events: none;
}

.ba-label--before {
    left: 12px;
}

.ba-label--after {
    right: 12px;
}

/* Thumbnails */
.ba-thumb {
    flex: 1;
    height: 65px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
}

.ba-thumb:hover {
    opacity: 0.85;
}

.ba-thumb.active {
    opacity: 1;
    border-color: #f7941d;
}

/* =====================================================
   Utility Classes — Property Media Group, LLC Custom
   ===================================================== */

/* Brand-colored text */
.text-brand {
    color: #f7941d;
}

/* Letter-spacing helpers */
.ls-half {
    letter-spacing: 0.5px;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-wide {
    letter-spacing: 1.5px;
}

/* Brand accent bar (horizontal rule) */
.brand-accent-bar {
    width: 60px;
    height: 3px;
    background-color: #f7941d;
}

/* Dark brand background (hero/testimonial) */
.bg-dark-brand {
    background-color: #050136 !important;
}

/* =====================================================
   Logotype Carousel
   ===================================================== */
.logotype-item {
    height: 70px;
}

.logotype-item__img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* =====================================================
   Product Cards
   ===================================================== */
.product-card__img {
    height: 170px;
}

/* =====================================================
   Testimonial Section
   ===================================================== */
.testimonial-avatar {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

/* =====================================================
   Integration Carousel
   ===================================================== */
.integration-item {
    height: 60px;
}

.integration-item__img {
    max-height: 100%;
    width: auto;
}

/* Slider nav buttons (logotypes / integrations) */
.slider-nav-btn {
    width: 45px;
    height: 45px;
}

/* Counter section badge label */
.counter-label {
    letter-spacing: 1px;
}

/* =====================================================
   Multi-Service Selection — Cart UI
   ===================================================== */

/* Selected service card */
.service-card-selected {
    border: 2px solid #f7941d !important;
    box-shadow: 0 0 0 1px #f7941d, 0 10px 20px rgba(247, 148, 29, 0.15) !important;
}

/* Floating cart bar */
.cart-floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #050136;
    color: #ffffff;
    padding: 1.15rem 0;
    z-index: 1050;
    box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-size: 1.05rem;
}

.cart-floating-bar .cart-bar-btn {
    background-color: #f7941d;
    border: 2px solid #f7941d;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.6rem 1.75rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.cart-floating-bar .cart-bar-btn:hover {
    background-color: #de851a;
    border-color: #de851a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(247, 148, 29, 0.4);
}