/* ################ */
/* HELPERS */
/* ################ */

/* Margin-top: mt-6 .. mt-15 (px fijos) */
.mt-6  { margin-top: 60px !important; }
.mt-7  { margin-top: 70px !important; }
.mt-8  { margin-top: 80px !important; }
.mt-9  { margin-top: 90px !important; }
.mt-10 { margin-top: 100px !important; }
.mt-11 { margin-top: 110px !important; }
.mt-12 { margin-top: 120px !important; }
.mt-13 { margin-top: 130px !important; }
.mt-14 { margin-top: 140px !important; }
.mt-15 { margin-top: 150px !important; }

/* Margin-bottom: mb-6 .. mb-15 (px fijos) */
.mb-6  { margin-bottom: 60px !important; }
.mb-7  { margin-bottom: 70px !important; }
.mb-8  { margin-bottom: 80px !important; }
.mb-9  { margin-bottom: 90px !important; }
.mb-10 { margin-bottom: 100px !important; }
.mb-11 { margin-bottom: 110px !important; }
.mb-12 { margin-bottom: 120px !important; }
.mb-13 { margin-bottom: 130px !important; }
.mb-14 { margin-bottom: 140px !important; }
.mb-15 { margin-bottom: 150px !important; }

/* Margin-y: my-6 .. my-15 (px fijos) */
.my-6  { margin-top: 60px !important; margin-bottom: 60px !important; }
.my-7  { margin-top: 70px !important; margin-bottom: 70px !important; }
.my-8  { margin-top: 80px !important; margin-bottom: 80px !important; }
.my-9  { margin-top: 90px !important; margin-bottom: 90px !important; }
.my-10 { margin-top: 100px !important; margin-bottom: 100px !important; }
.my-11 { margin-top: 110px !important; margin-bottom: 110px !important; }
.my-12 { margin-top: 120px !important; margin-bottom: 120px !important; }
.my-13 { margin-top: 130px !important; margin-bottom: 130px !important; }
.my-14 { margin-top: 140px !important; margin-bottom: 140px !important; }
.my-15 { margin-top: 150px !important; margin-bottom: 150px !important; }

/* Padding-y: py-6 .. py-15 (px fijos) */
.py-6  { padding-top: 60px !important; padding-bottom: 60px !important; }
.py-7  { padding-top: 70px !important; padding-bottom: 70px !important; }
.py-8  { padding-top: 80px !important; padding-bottom: 80px !important; }
.py-9  { padding-top: 90px !important; padding-bottom: 90px !important; }
.py-10 { padding-top: 100px !important; padding-bottom: 100px !important; }
.py-11 { padding-top: 110px !important; padding-bottom: 110px !important; }
.py-12 { padding-top: 120px !important; padding-bottom: 120px !important; }
.py-13 { padding-top: 130px !important; padding-bottom: 130px !important; }
.py-14 { padding-top: 140px !important; padding-bottom: 140px !important; }
.py-15 { padding-top: 150px !important; padding-bottom: 150px !important; }
.py-18 { padding-top: 180px !important; padding-bottom: 180px !important; }

/* Padding-bottom: pb-6 .. pb-15 (px fijos) */
.pb-6  { padding-bottom: 60px !important; }
.pb-7  { padding-bottom: 70px !important; }
.pb-8  { padding-bottom: 80px !important; }
.pb-9  { padding-bottom: 90px !important; }
.pb-10 { padding-bottom: 100px !important; }
.pb-11 { padding-bottom: 110px !important; }
.pb-12 { padding-bottom: 120px !important; }
.pb-13 { padding-bottom: 130px !important; }
.pb-14 { padding-bottom: 140px !important; }
.pb-15 { padding-bottom: 150px !important; }

/* gutters verticales custom */
.gy-6 { --bs-gutter-y: 4rem; }
.gy-7 { --bs-gutter-y: 5rem; }
.gy-8 { --bs-gutter-y: 6rem; }
.gy-9 { --bs-gutter-y: 7rem; }
.gy-10 { --bs-gutter-y: 8rem; }

.gx-6 { --bs-gutter-x: 4rem; }
.gx-7 { --bs-gutter-x: 5rem; }
.gx-8 { --bs-gutter-x: 6rem; }
.gx-9 { --bs-gutter-x: 7rem; }

.p-left-0 {
    padding-left: 0;
}

.gap-4-5 {
    gap: 2rem;
}

.text-justify {
    text-align: justify;
}

/* ################ */
/* FIN HELPERS */
/* ################ */

#mainmenu .menu-item:hover {
    color: var(--color-primary-main) !important; 
}

.testimonial-text {
    font-size: 32px;
    line-height: 1.4;
}

.testimonial-name {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .testimonial-text {
        font-size: 26px;
    }

    .testimonial-name {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .testimonial-text {
        font-size: 21px;
    }

    .testimonial-name {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .testimonial-text {
        font-size: 18px;
        line-height: 1.5;
    }

    .testimonial-name {
        font-size: 15px;
    }
}

.page-hero {
    position: relative;
    padding: 140px 0 50px 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-about .jarallax-img {
    object-fit: cover;
    object-position: center center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.20) 100%
    );
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 70px 0 55px 0;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: 0.3s;
}

.page-breadcrumb a:hover {
    color: #ffffff;
}

.page-hero-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .page-hero {
        min-height: 280px;
    }

    .page-hero-content {
        padding: 55px 0 40px 0;
    }

    .page-hero-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .page-hero {
        min-height: 240px;
    }

    .page-hero-content {
        padding: 45px 0 30px 0;
    }

    .page-breadcrumb {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .page-hero-subtitle {
        font-size: 14px;
    }
}

.about-story-section {
    padding: 100px 0;
}

.about-story-title {
    color: var(--color-primary-main);
    line-height: 1.1;
}

.about-story-text {
    line-height: 1.9;
}

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

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card-img {
    display: block;
    width: 100%;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.20);
}

.service-card-overlay h4 {
    margin: 0 auto;
    width: 100%;
    max-width: 85%;
    min-width: 0;
    line-height: 1.1;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

@media (max-width: 991px) {
    .service-card-overlay h4 {
        max-width: 90%;
    }
}

@media (max-width: 767px) {
    .service-card-overlay h4 {
        max-width: 95%;
    }
}

#mainmenu > li > a.active {
    color: #00943f !important;
}

#mainmenu li ul li a.active {
    color: #00943f !important;
}

.footer-menu-empresa li a:hover,
.footer-menu-empresa li a.active {
    color: #ffffff;
}

.service-card {
    overflow: hidden;
}

.service-card img {
    transition: transform 0.4s ease;
}

.service-card:hover img {
    transform: scale(1.06);
}
/* Formulario de contacto: el tema no estiliza input[type="tel"] (mismo aspecto que texto/email) */
#contact_form input[type="tel"] {
  padding: 10px;
  margin-bottom: 20px;
  border: solid 1px rgba(0,0,0,0.25);
  height: auto;
  background: none;
}
