/*==========================================================
STYLE.CSS
==========================================================*/
/*==========================================================
GOOGLE FONTS
==========================================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==========================================================
VARIABLES GLOBALES
==========================================================*/
:root {
    --primary: #C8102E;
    --secondary: #FFC107;
    --dark: #111111;
    --dark-soft: #1B1B1B;
    --light: #F8F9FA;
    --gray: #6C757D;
    --white: #FFFFFF;
    --success: #25D366;
    --radius: 18px;
    --shadow:
        0 12px 35px rgba(0, 0, 0, .12);
    --transition:
        .35s ease;
}

/*==========================================================
RESET GENERAL
==========================================================*/
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

a:focus-visible,
button:focus-visible{

    outline:3px solid var(--secondary);

    outline-offset:4px;

}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

section {
    padding: 90px 0;
}

/*==========================================================
UTILIDADES GENERALES
==========================================================*/
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #ffe5e9;
    color: var(--primary);
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    max-width: 750px;
    margin: auto;
    color: #666;
    font-size: 1.05rem;
}

/*==========================================================
TOPBAR
==========================================================*/
.topbar {
    background: var(--dark);
    color: #fff;
    padding: 10px 0;
    font-size: .9rem;
    border-bottom:
        1px solid rgba(255, 255, 255, .08);
}

.topbar a {
    color: #fff;
}

.topbar-phone {
    font-weight: 700;
}

.topbar-phone i {
    color: var(--secondary);
}

.topbar-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .9);
    font-weight: 500;
}

.topbar-info i {
    color: var(--secondary);
}

/*==========================================================
NAVBAR
==========================================================*/
.navbar {
    background: var(--dark);
    padding: 12px 0;
    width: 100%;
    position: relative;
    z-index: 1000;
	transition:
background-color .3s ease,
padding .3s ease,
box-shadow .3s ease;
}

.navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 0;
    background: #111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	transition: background-color .3s ease,
padding .3s ease,
box-shadow .3s ease;
}

.navbar-brand img {
    height: 70px;
    width: auto;
}

.navbar.scrolled .navbar-brand img {
    height: 60px;
}

.nav-link {
    color: #fff !important;
    font-weight: 600;
    margin-left: 20px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary) !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
	transition:width .35s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border:
        1px solid rgba(255, 255, 255, .4);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/*==========================================================
BOTONES GENERALES
==========================================================*/
.btn {
    border-radius: 50px;
    padding: 13px 28px;
    font-weight: 600;
}

.btn-danger {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-danger:hover {
    background: #a80d26;
    border-color: #a80d26;
}

.btn-success {
    background: var(--success);
    border-color: var(--success);
}

.btn-warning {
    color: #111;
    font-weight: 700;
}

/*==========================================================
HERO SECTION
==========================================================*/
.hero-section {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background-image: url("../img/hero-bg.png");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        rgba(0, 0, 0, .58);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 60px;
}

/*==========================================================
HERO TEXTO
==========================================================*/
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background:
        rgba(255, 255, 255, .12);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}

.hero-section h1 span {
    display: block;
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 650px;
    margin-bottom: 20px;
    color: #fff;
}

.hero-description {
    font-size: 1.05rem;
    max-width: 620px;
    color:
        rgba(255, 255, 255, .90);
    margin-bottom: 30px;
}

/*==========================================================
BOTONES HERO
==========================================================*/
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    padding: 14px 28px;
}

/*==========================================================
CARACTERÍSTICAS HERO
==========================================================*/
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1rem;
}

.hero-features i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/*==========================================================
HERO CARD
==========================================================*/
.hero-card {
    background:
        rgba(255, 255, 255, .95);
    padding: 15px;
    border-radius: 20px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, .35);
    transform: rotate(-3deg);
}

/*==========================================================
ESTADÍSTICAS
==========================================================*/
.stats-section {
    background: #f8f9fa;
    padding: 70px 0;
}

.stat-box {
    background: #fff;
    padding: 35px 20px;
    border-radius: 18px;
    height: 100%;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .08);
    text-align: center;
}

.stat-icon {
    display: block;
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-box h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-box p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

/*==========================================================
NOSOTROS
==========================================================*/
.about-section {
    background: #fff;
}

.about-section img {
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-section p {
    color: #666;
    margin-bottom: 20px;
}

/* ITEMS NOSOTROS */
.about-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 15px;
    font-weight: 600;
    color: #333;
}

.about-item i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
}

/*==========================================================
SERVICIOS
==========================================================*/
.services-section {
    background: #f8f9fa;
}

.service-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, .08);
    height: 100%;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-body {
    padding: 30px;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-top: -65px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 30px;
    box-shadow:
        0 8px 20px rgba(200, 16, 46, .35);
}

.service-card h4 {
    margin-top: 25px;
    font-weight: 700;
}

.service-card p {
    color: #666;
    min-height: 90px;
}

.service-card .btn-outline-danger {
    border-radius: 50px;
    padding: 10px 22px;
    font-weight: 600;
}

/*==========================================================
PROCESO / TIMELINE
==========================================================*/
.process-section {
    background: #f8f9fa;
}

.timeline {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    margin-top: 60px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ddd;
}

.timeline-item {
    width: 25%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-number {
    width: 90px;
    height: 90px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 34px;
    font-weight: 800;
    border: 8px solid #fff;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .15);
}

.timeline-item h4 {
    margin-top: 30px;
    font-weight: 700;
}

.timeline-item p {
    color: #666;
}

/*==========================================================
CTA
==========================================================*/
.cta-section {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background:
        url("../img/cta.png") center right / cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background:
        rgba(0, 0, 0, .65);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.6rem;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.1rem;
}

/*==========================================================
POR QUÉ ELEGIRNOS
==========================================================*/
.why-section {
    background: #101010;
}

.why-section h2 {
    color: #fff;
    font-weight: 800;
}

.why-card {
    background: #1d1d1d;
    padding: 40px 30px;
    border-radius: 18px;
    height: 100%;
    text-align: center;
    border:
        1px solid rgba(255, 255, 255, .08);
}

.why-card i {
    font-size: 55px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.why-card h4 {
    font-weight: 700;
    margin-bottom: 20px;
}

.why-card p {
    color: #ddd;
}

/*==========================================================
COBERTURA
==========================================================*/
.coverage-section {
    background: #fff;
}

.coverage-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.coverage-map img {
    width: 100%;
    border-radius: 20px;
}

.coverage-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, .08);
    border-left:
        5px solid var(--primary);
    height: 100%;
}

.coverage-card i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 15px;
}

.coverage-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.coverage-card span {
    color: #666;
}

/*==========================================================
GALERÍA
==========================================================*/
.gallery-section {
    background: #f8f9fa;
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow:
        0 12px 25px rgba(0, 0, 0, .08);
}

/*==========================================================
TESTIMONIOS
==========================================================*/
.testimonial-section {
    position: relative;
    overflow: hidden;
}

.testimonial-section .section-title {
    color: #fff;
}

.testimonial-card {
    background:
        rgba(255, 255, 255, .08);
    border:
        1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px 30px;
    height: 100%;
    position: relative;
}

.testimonial-stars {
    color: #f5b400;
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 45px;
    color:
        rgba(255, 255, 255, .15);
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.8;
    color:
        rgba(255, 255, 255, .85);
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: #fff;
    font-size: 1.05rem;
}

.testimonial-author span {
    color:
        rgba(255, 255, 255, .65);
    font-size: .9rem;
    margin-top: 5px;
}

/*==========================================================
SWIPER
==========================================================*/
.testimonialSwiper {
    padding-top: 15px;
    padding-bottom: 60px;
}

.testimonialSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: .5;
}

.testimonialSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #f5b400;
}

.testimonialSwiper .swiper-button-next,
.testimonialSwiper .swiper-button-prev {
    color: #f5b400;
}

.testimonialSwiper .swiper-button-next::after,
.testimonialSwiper .swiper-button-prev::after {
    font-size: 25px;
}

/*==========================================================
FAQ
==========================================================*/
.faq-section {
    background: #fff;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, .07);
}

.accordion-button {
    padding: 22px;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
}

/*==========================================================
CONTACTO
==========================================================*/
.contact-section {
    background: #f8f9fa;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 22px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, .08);
}

.contact-card i {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 25px;
}

.contact-card h5 {
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-card p {
    margin: 0;
    color: #666;
}

/*==========================================================
FORMULARIO
==========================================================*/
.form-control {
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow:
        0 0 0 .25rem rgba(200, 16, 46, .15);
}

textarea.form-control {
    resize: none;
}

/*==========================================================
FOOTER
==========================================================*/
.footer {
    background: #111;
    color: #bbb;
    padding: 70px 0 30px;
}

.footer img {
    max-height: 70px;
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: #bbb;
}

.footer hr {
    border-color: #333;
    margin: 40px 0 20px;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--success);
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 600;
}

/*==========================================================
BOTONES FLOTANTES
==========================================================*/
.floating-whatsapp,
.floating-call {
    position: fixed;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 28px;
    z-index: 9999;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, .25);
	transition:
	transform .3s ease,
	box-shadow .3s ease;
}

.floating-call:hover,
.floating-whatsapp:hover{
	transform:scale(1.08);
}

/*==========================================================
WHATSAPP - LADO DERECHO 
==========================================================*/
.floating-whatsapp {
    right: 25px;
    bottom: 25px;
    background: #25D366;
}

/*==========================================================
LLAMADA - LADO IZQUIERDO
==========================================================*/
.floating-call {
    left: 25px;
    bottom: 25px;
    background: var(--primary);
}

/*==========================================================
   PAGINA ERROR 404
==========================================================*/
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(0, 0, 0, .70),
            rgba(0, 0, 0, .70)),
        url("../img/hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 80px 0;
}

/*==========================================================
   CONTENIDO 404
==========================================================*/
.error-content {
    max-width: 700px;
    margin: 0 auto;
}

/*==========================================================
LOGO EMPRESA
==========================================================*/
.error-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
}

.error-logo img {
    width: 260px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, .35));
}

/*==========================================================
NUMERO ERROR
==========================================================*/
.error-content h1 {
    font-size: 120px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 10px;
}

/*==========================================================
TITULO
==========================================================*/
.error-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

/*==========================================================
TEXTO
==========================================================*/
.error-content p {
    max-width: 600px;
    margin: 0 auto 35px;
    font-size: 18px;
    line-height: 1.7;
}

/*==========================================================
BOTONES
==========================================================*/
.error-content .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.error-content .btn {
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, background-color .3s ease, color .3s ease;
}

.error-content .btn:hover {
    transform: translateY(-4px);
}

/*==========================================================
Evita que el enlace WhatsApp pierda apariencia de botón
==========================================================*/
.error-content .whatsapp-link {
    cursor: pointer;
}