/*************************************************************************
 * A.M.J Landscaping Service - Hoja de Estilos Corporativa
 * Paleta Oficial:
 *   Verde Bosque (Principal): #2E7D32
 *   Verde Lima (Secundario):  #8BC34A
 *   Marrón Tierra (Acento):   #6D4C41
 *   Blanco / Gris Claro:      #FFFFFF / #F5F5F5
 * Tipografías:
 *   Títulos: Montserrat Bold
 *   Textos:  Open Sans Regular
 *************************************************************************/

:root {
    --primary: #2E7D32;
    --primary-hover: #236327;
    --secondary: #8BC34A;
    --accent-earth: #6D4C41;
    --accent-earth-dark: #543930;
    --light: #F5F5F5;
    --light-green: #EDF7ED;
    --dark: #12351D;
    --darker: #0A2212;
    --text-body: #4A5550;
    --whatsapp: #25D366;
    --whatsapp-dark: #075E54;
}

/* =======================================================================
   Base & Tipografía Corporativa (Sobrescritura limpia de Bootstrap)
   ======================================================================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    color: var(--text-body);
    background-color: #FFFFFF;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--dark);
    letter-spacing: -0.015em;
}

h1, .h1, h2, .h2, .display-1, .display-2, .display-3, .display-4, .display-5, .fw-bold {
    font-weight: 700 !important;
}

h3, .h3, h4, .h4, .fw-semibold {
    font-weight: 700 !important;
}

/* Sobrescritura de utilidades Bootstrap con la paleta oficial */
.text-primary {
    color: var(--primary) !important;
}

.text-accent-lime {
    color: var(--secondary) !important;
}

.text-earth {
    color: var(--accent-earth) !important;
}

.text-muted {
    color: #525E57 !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-soft-green {
    background-color: var(--light-green) !important;
}

.bg-earth {
    background-color: var(--accent-earth) !important;
    color: #FFFFFF;
}

.border-primary {
    border-color: var(--primary) !important;
}

/* Botones Corporativos */
.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
}

.btn-lime {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--darker) !important;
    font-weight: 700;
}

.btn-lime:hover {
    background-color: #7CB342;
    border-color: #7CB342;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.btn-earth {
    background-color: var(--accent-earth);
    border-color: var(--accent-earth);
    color: #FFFFFF !important;
}

.btn-earth:hover {
    background-color: var(--accent-earth-dark);
    border-color: var(--accent-earth-dark);
    color: #FFFFFF !important;
}

.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* Formularios */
.form-control:focus,
.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.22rem rgba(46, 125, 50, 0.18);
}

/* Etiquetas Superiores de Sección */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-green);
    color: var(--primary);
    border: 1px solid rgba(46, 125, 50, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

/* =======================================================================
   Spinner & Botón Volver Arriba
   ======================================================================= */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease-out, visibility 0s linear .4s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .4s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 24px;
    bottom: 24px;
    z-index: 1030;
    box-shadow: 0 4px 15px rgba(18, 53, 29, 0.3);
}

/* =======================================================================
   Topbar & Navbar Oficial
   ======================================================================= */
.amj-topbar {
    background-color: var(--darker);
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(139, 195, 74, 0.2);
}

.topbar-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.topbar-link:hover {
    color: var(--secondary);
}

.google-topbar-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 3px 11px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.google-topbar-badge .stars {
    color: #FFC107;
    font-size: 0.72rem;
}

.google-topbar-badge:hover {
    background: rgba(139, 195, 74, 0.25);
    color: #FFFFFF;
}

.topbar-social {
    padding: 0 8px !important;
    font-size: 0.9rem;
    opacity: 0.85;
}

.topbar-social:hover {
    color: var(--secondary) !important;
    opacity: 1;
}

.navbar.sticky-top {
    top: -100px;
    transition: top 0.4s ease, box-shadow 0.3s ease;
}

.navbar .navbar-brand {
    height: 88px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.amj-navbar-logo {
    max-height: 74px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar .navbar-brand:hover .amj-navbar-logo {
    transform: scale(1.03);
}

.navbar .amj-nav-cta {
    height: 88px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.navbar .navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    margin-right: 22px;
    padding: 28px 0;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    position: relative;
    transition: color 0.25s ease;
}

.navbar .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background-color: var(--secondary);
    transition: width 0.25s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-nav .nav-link:hover::before,
.navbar .navbar-nav .nav-link.active::before {
    width: 100%;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 6px;
    font-size: 0.82rem;
}

.amj-dropdown {
    background: #FFFFFF;
    border: 1px solid rgba(46, 125, 50, 0.12) !important;
    border-top: 3px solid var(--primary) !important;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 15px 35px rgba(18, 53, 29, 0.12);
    padding: 10px 0;
    min-width: 260px;
}

.amj-dropdown .dropdown-item {
    padding: 9px 20px;
    font-size: 0.92rem;
    color: var(--dark);
    transition: all 0.2s ease;
}

.amj-dropdown .dropdown-item:hover {
    background-color: var(--light-green);
    color: var(--primary);
    padding-left: 24px;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 14px;
        font-size: 0.87rem;
    }
    .amj-navbar-logo {
        max-height: 62px;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        height: 76px;
    }
    .amj-navbar-logo {
        max-height: 60px;
    }
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 11px 0;
    }
    .navbar .navbar-nav .nav-link::before {
        display: none;
    }
    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        top: 130%;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }
}

/* =======================================================================
   Hero Carousel & Encabezados Internos
   ======================================================================= */
#header-carousel .carousel-item {
    position: relative;
    min-height: 640px;
}

#header-carousel .carousel-item img,
#header-carousel .carousel-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.carousel-caption {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 34, 18, 0.82) 0%, rgba(46, 125, 50, 0.58) 100%);
    z-index: 1;
    padding: 4.5rem 1.25rem 6rem;
}

.hero-slogan-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 195, 74, 0.22);
    border: 1px solid rgba(139, 195, 74, 0.65);
    color: #E6F7D4;
    padding: 7px 20px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    backdrop-filter: blur(4px);
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    z-index: 2;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item,
    .carousel-caption {
        min-height: 560px;
    }
    .carousel-caption {
        padding: 3rem 1.15rem 3.5rem;
    }
    .carousel-caption .display-3 {
        font-size: 2.05rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

.page-header {
    background: linear-gradient(135deg, rgba(10, 34, 18, 0.84), rgba(46, 125, 50, 0.72)), url(../img/opt/1-web.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 1rem;
    color: #FFFFFF;
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: var(--secondary);
    font-weight: 600;
}

/* =======================================================================
   Tarjetas de Destacados Superiores (Top Feature)
   ======================================================================= */
@media (min-width: 992px) {
    .top-feature {
        position: relative;
        margin-top: -75px;
        z-index: 3;
    }
}

.amj-feature-strip-card {
    background: #FFFFFF;
    border-bottom: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amj-feature-strip-card:hover {
    transform: translateY(-4px);
}

.amj-feature-strip-card.earth-accent {
    border-bottom-color: var(--accent-earth);
}

.amj-feature-strip-card.lime-accent {
    border-bottom-color: var(--secondary);
}

/* =======================================================================
   Franja de Estadísticas & Parallax
   ======================================================================= */
.facts,
.quote {
    background: linear-gradient(135deg, rgba(10, 34, 18, 0.86), rgba(46, 125, 50, 0.78));
}

/* =======================================================================
   Comparador Interactivo ANTES / DESPUÉS (Fotos Reales 2.jpeg y 1.jpeg)
   ======================================================================= */
.amj-ba-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(18, 53, 29, 0.16);
    user-select: none;
    background: var(--darker);
    border: 4px solid #FFFFFF;
}

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

.amj-ba-before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.amj-ba-after {
    z-index: 1;
}

.amj-ba-badge {
    position: absolute;
    top: 18px;
    z-index: 4;
    padding: 6px 16px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.amj-ba-badge.badge-before {
    left: 18px;
    background-color: var(--accent-earth);
    color: #FFFFFF;
}

.amj-ba-badge.badge-after {
    right: 18px;
    background-color: var(--primary);
    color: #FFFFFF;
}

.amj-ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #FFFFFF;
    z-index: 5;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
}

.amj-ba-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #FFFFFF;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    font-size: 1rem;
}

.amj-ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 6;
    margin: 0;
}

@media (max-width: 767.98px) {
    .amj-ba-wrapper {
        height: 380px;
    }
}

/* =======================================================================
   Tarjetas Verticales de Videos Reales (9:16 - 3.mp4 y 4.mp4)
   ======================================================================= */
.amj-video-showcase-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(18, 53, 29, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.12);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amj-video-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(18, 53, 29, 0.16);
}

.amj-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 13;
    max-height: 470px;
    background: #0B1F11;
    overflow: hidden;
}

.amj-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.amj-video-step-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 6px 14px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.76rem;
    color: #FFFFFF;
    backdrop-filter: blur(6px);
}

.amj-video-step-tag.tag-process {
    background: rgba(109, 76, 65, 0.92);
}

.amj-video-step-tag.tag-result {
    background: rgba(46, 125, 50, 0.92);
}

.amj-video-sound-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(10, 34, 18, 0.75);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.amj-video-sound-btn:hover {
    background: var(--primary);
    transform: scale(1.08);
}

/* =======================================================================
   Tarjetas de Servicios
   ======================================================================= */
.service-item {
    position: relative;
    text-align: center;
    border-radius: 12px !important;
    overflow: hidden;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    transform: scale(1.18);
    transition: transform 0.45s ease;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    position: relative;
    z-index: 1;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .06);
    transition: all 0.35s ease;
}

.service-item:hover .service-text {
    background: rgba(12, 42, 22, 0.86);
    border-bottom-color: var(--secondary);
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: rgba(255, 255, 255, 0.9);
}

.service-item .service-text .btn-square {
    width: 86px;
    height: 86px;
    background: var(--light-green);
    transition: .4s;
}

.service-item:hover .service-text .btn-square {
    background: #FFFFFF;
}

.service-item .service-text .btn-service-more {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--primary);
    background: var(--light-green);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-item:hover .service-text .btn-service-more {
    background: var(--secondary);
    color: var(--darker);
}

/* Bloques Detallados de Servicio en /servicios */
.amj-service-detail-card {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(18, 53, 29, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.1);
    overflow: hidden;
    scroll-margin-top: 110px;
}

.amj-service-detail-img {
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    width: 100%;
}

/* =======================================================================
   Galería de Proyectos (Isotope & Lightbox)
   ======================================================================= */
#portfolio-flters {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    background: var(--light);
    padding: 8px 14px;
    border-radius: 50px !important;
}

#portfolio-flters li {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-body);
    padding: 7px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    background: var(--primary);
    color: #FFFFFF;
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
    border-radius: 12px !important;
    height: 310px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.portfolio-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-inner:hover img {
    transform: scale(1.08);
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(12, 42, 22, 0.78);
    transition: .4s;
    z-index: 1;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .4s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .2s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: #FFFFFF;
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--secondary);
    color: var(--darker);
}

/* =======================================================================
   Equipo & Testimonios Google Maps 5.0★
   ======================================================================= */
.team-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 40px);
    left: -100%;
    bottom: 30px;
    padding: 1.25rem 1.5rem;
    background: #FFFFFF;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    opacity: 0;
    transition: .45s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light-green);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.amj-review-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(46, 125, 50, 0.12);
    box-shadow: 0 12px 32px rgba(18, 53, 29, 0.07);
    height: 100%;
}

.amj-avatar-initials {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 24px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light-green);
    border-radius: 8px;
    font-size: 20px;
    transition: .3s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

/* =======================================================================
   Preguntas Frecuentes (Acordeón Elegante)
   ======================================================================= */
.amj-accordion .accordion-item {
    border: 1px solid rgba(46, 125, 50, 0.14);
    border-radius: 12px !important;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.amj-accordion .accordion-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--dark);
    padding: 1.15rem 1.4rem;
    background-color: #FFFFFF;
}

.amj-accordion .accordion-button:not(.collapsed) {
    background-color: var(--light-green);
    color: var(--primary);
    box-shadow: none;
}

.amj-accordion .accordion-button:focus {
    box-shadow: none;
}

/* Zona de carga de fotos opcionales */
.amj-upload-box {
    border: 2px dashed rgba(46, 125, 50, 0.35);
    background: var(--light-green);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.amj-upload-box:hover {
    border-color: var(--primary);
    background: #E2F3E3;
}

/* =======================================================================
   Pre-Footer CTA & Footer Oficial
   ======================================================================= */
.amj-cta-strip {
    background: linear-gradient(90deg, var(--primary) 0%, #1E5A23 100%);
    border-top: 3px solid var(--secondary);
}

.amj-cta-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.amj-footer {
    background-color: var(--dark);
}

.amj-footer-emblem {
    width: 68px;
    height: 68px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.text-light-muted {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
}

.amj-google-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(139, 195, 74, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
}

.footer-heading {
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--secondary);
}

.amj-footer .btn.btn-link {
    display: block;
    margin-bottom: 7px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 0.93rem;
    text-decoration: none;
    transition: .25s;
}

.amj-footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 9px;
    color: var(--secondary);
}

.amj-footer .btn.btn-link:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: var(--secondary);
}

.footer-hours-box {
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--secondary);
}

.copyright {
    color: rgba(255, 255, 255, 0.82);
    background: var(--darker);
}

.copyright a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright a:hover {
    color: var(--secondary);
}

/* =======================================================================
   WIDGET FLOTANTE PROFESIONAL DE WHATSAPP + LLAMADA DIRECTA
   ======================================================================= */
.amj-floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Botón secundario flotante de Llamada */
.amj-call-float {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-earth);
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(109, 76, 65, 0.42);
    border: 2px solid #FFFFFF;
    position: relative;
    transition: transform 0.25s ease, background 0.25s ease;
}

.amj-call-float:hover {
    transform: scale(1.08);
    background: var(--primary);
}

.amj-call-tooltip {
    position: absolute;
    right: 56px;
    background: var(--darker);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: all 0.25s ease;
}

.amj-call-float:hover .amj-call-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Fila inferior del botón principal de WhatsApp + Etiqueta */
.amj-wa-trigger-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amj-wa-label-pill {
    background: #FFFFFF;
    color: var(--dark);
    border: 1px solid rgba(37, 211, 102, 0.35);
    border-radius: 50px;
    padding: 9px 18px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.86rem;
    box-shadow: 0 8px 25px rgba(10, 34, 18, 0.16);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.amj-wa-label-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.25);
}

.amj-wa-pill-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--whatsapp);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
}

.amj-wa-float-btn {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.amj-wa-float-btn:hover {
    transform: scale(1.09);
}

.amj-wa-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: amjWaPulse 2.4s infinite ease-out;
    pointer-events: none;
}

.amj-wa-pulse-delay {
    animation-delay: 1.2s;
}

@keyframes amjWaPulse {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.amj-wa-status-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #E53935;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}

.amj-wa-status-badge::after {
    content: "1";
}

/* Tarjeta Emergente de Chat WhatsApp */
.amj-wa-card {
    width: 335px;
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(10, 34, 18, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.96);
    transform-origin: bottom right;
    transition: all 0.28s ease;
    position: absolute;
    bottom: 80px;
    right: 0;
}

.amj-wa-card.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    z-index: 5;
}

.amj-wa-card.open ~ .amj-call-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.amj-wa-card-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.amj-wa-avatar-wrap {
    position: relative;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.amj-wa-avatar-wrap img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 2px;
    object-fit: contain;
}

.amj-wa-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #25D366;
    border: 2px solid #075E54;
}

.amj-wa-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #FFFFFF;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.amj-wa-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.amj-wa-card-body {
    background-color: #ECE5DD;
    background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 0);
    background-size: 16px 16px;
    padding: 18px;
}

.amj-wa-bubble {
    background: #FFFFFF;
    border-radius: 0 14px 14px 14px;
    padding: 12px 14px;
    font-size: 0.88rem;
    color: #263238;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
}

.amj-wa-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: #78909C;
    margin-top: 4px;
}

.amj-wa-quick-options {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.amj-wa-chip {
    display: block;
    background: rgba(255, 255, 255, 0.92);
    color: #075E54;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(18, 140, 126, 0.25);
    transition: all 0.2s ease;
}

.amj-wa-chip:hover {
    background: #DCF8C6;
    color: #075E54;
    transform: translateX(3px);
}

.amj-wa-card-footer {
    padding: 12px 16px;
    background: #FFFFFF;
}

.amj-wa-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 16px;
    border-radius: 50px;
    background: #25D366;
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
}

.amj-wa-send-btn:hover {
    background: #1EBE5D;
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .amj-floating-actions {
        right: 16px;
        bottom: 16px;
    }
    .amj-wa-label-pill {
        display: none;
    }
    .amj-wa-float-btn {
        width: 58px;
        height: 58px;
        font-size: 1.8rem;
    }
    .amj-wa-card {
        width: calc(100vw - 32px);
        max-width: 330px;
        bottom: 72px;
    }
    .back-to-top {
        left: 16px;
        bottom: 16px;
    }
}
