/* ============================================================
   BGRANDE MULTISERVICIO — Main Stylesheet
   Basado en: Construction & Co. Template
   Adaptado por: Luis Baemar
   Version: 2.0
   ============================================================ */

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
    --brand:        #8C1515;
    --brand-dark:   #6B0F0F;
    --brand-light:  rgba(140, 21, 21, 0.10);
    --dark-bg:      #1a1a2e;
    --dark-bg2:     #111827;
    --gray-bg:      #f5f5f5;
    --text-dark:    #222222;
    --text-muted:   #777777;
    --white:        #ffffff;
    --shadow-sm:    0 4px 20px rgba(0,0,0,0.08);
    --shadow-md:    0 8px 30px rgba(0,0,0,0.14);
    --shadow-lg:    0 16px 50px rgba(0,0,0,0.18);
    --transition:   all 0.3s ease;
    --radius:       4px;
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}
img {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar              { width: 6px; }
::-webkit-scrollbar-track        { background: #f1f1f1; }
::-webkit-scrollbar-thumb        { background: var(--brand); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover  { background: var(--brand-dark); }

/* ─── PRELOADER ──────────────────────────────────────────── */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease;
}
.preloader__logo {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--brand);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.preloader__logo img {
    height: 56px;
    width: auto;
    display: inline-block;
}
.preloader__bar {
    width: 220px;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
}
.preloader__bar-fill {
    height: 100%;
    background: var(--brand);
    animation: preload 1.8s ease forwards;
}
@keyframes preload {
    from { width: 0; }
    to   { width: 100%; }
}

/* ─── UTILITY CLASSES ────────────────────────────────────── */
.section-padding       { padding: 90px 0; }
.section-padding-sm    { padding: 60px 0; }
.mb-section            { margin-bottom: 70px; }
.section-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 900;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.section-title--white { color: var(--white); }
.section-title::after {
    content: '';
    display: block;
    width: 52px;
    height: 4px;
    background: var(--brand);
    margin: 14px auto 0;
    border-radius: 2px;
}
.section-sub {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.9;
    max-width: 680px;
    margin: 0 auto;
}
.section-sub--white { color: rgba(255,255,255,0.65); }
.text-brand   { color: var(--brand) !important; }
.bg-brand     { background: var(--brand) !important; }
.bg-dark-main { background: var(--dark-bg) !important; }
.bg-gray      { background: var(--gray-bg) !important; }

/* Buttons */
.btn-brand {
    display: inline-block;
    background: var(--brand);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    padding: 14px 36px;
    border: 2px solid var(--brand);
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-brand:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(140,21,21,0.4);
}
.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--brand);
    font-weight: 700;
    font-size: 13px;
    padding: 12px 36px;
    border: 2px solid var(--brand);
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 12px;
}
.btn-outline:hover {
    background: var(--brand);
    color: var(--white);
    transform: translateY(-3px);
}
.btn-dark {
    display: inline-block;
    background: var(--text-dark);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    padding: 13px 32px;
    border: 2px solid var(--text-dark);
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-dark:hover {
    background: #000;
    border-color: #000;
    transform: translateY(-2px);
}

/* Read More Link */
.readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 10px;
    transition: var(--transition);
}
.readmore:hover {
    color: var(--brand-dark);
    gap: 10px;
}

/* ─── TOP BAR ────────────────────────────────────────────── */
.top-bar {
    background: var(--brand);
    padding: 9px 0;
    font-size: 13px;
    font-weight: 500;
}
.top-bar__social a {
    color: rgba(255,255,255,0.85);
    margin-right: 14px;
    font-size: 13px;
    transition: var(--transition);
}
.top-bar__social a:hover { color: var(--white); }
.top-bar__contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}
.top-bar__contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-weight: 500;
}
.top-bar__contact-item .material-icons { font-size: 16px; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
    background: var(--white) !important;
    padding: 0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
}
.navbar.is-scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.14);
}
.navbar-brand {
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 1.5px;
    color: var(--text-dark) !important;
    padding: 10px 0;
}
.navbar-brand img {
    height: 52px;
    width: auto;
    object-fit: contain;
}
.navbar-brand span { color: var(--brand); }
.nav-link {
    font-weight: 600;
    font-size: 13px;
    color: #444 !important;
    padding: 22px 16px !important;
    text-transform: uppercase;
    letter-spacing: .5px;
    position: relative;
    transition: color .3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform .3s;
}
.nav-link:hover::after,
.nav-link.active-link::after { transform: scaleX(1); }
.nav-link:hover,
.nav-link.active-link { color: var(--brand) !important; }

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 200px;
    animation: dropIn .25s ease;
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 22px;
    color: #555;
    transition: var(--transition);
}
.dropdown-item:hover {
    background: var(--brand);
    color: var(--white);
    padding-left: 28px;
}

/* ─── HERO SLIDER ────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
}
.hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero__slide.is-active { opacity: 1; z-index: 2; }
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.hero__slide--light .hero__overlay {
    background: rgba(255,255,255,0.62);
}
.hero__slide--dark .hero__overlay {
    background: rgba(0,0,0,0.58);
}
.hero__overlay {
    position: absolute;
    inset: 0;
}
.hero__content {
    position: relative;
    z-index: 5;
    padding: 0 15px;
}
.hero__pretitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
    animation: slideUp .7s ease both;
}
.hero__slide--dark .hero__pretitle { color: rgba(255,255,255,0.85); }
.hero__title {
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 900;
    line-height: 1.08;
    color: #111;
    margin-bottom: 22px;
    animation: slideUp .7s .18s ease both;
}
.hero__slide--dark .hero__title { color: var(--white); }
.hero__title .accent            { color: var(--brand); }
.hero__text {
    font-size: 17px;
    color: #555;
    max-width: 520px;
    margin-bottom: 38px;
    animation: slideUp .7s .34s ease both;
}
.hero__slide--dark .hero__text { color: rgba(255,255,255,0.80); }
.hero__actions {
    animation: slideUp .7s .48s ease both;
}

/* Hero SVG Illustration */
.hero__illustration {
    position: absolute;
    right: 4%;
    bottom: 0;
    z-index: 4;
    animation: float 3.5s ease-in-out infinite;
}
.hero__illustration svg { width: clamp(260px, 32vw, 440px); }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* Slider Dots */
.hero__dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.hero__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.7);
    cursor: pointer;
    transition: var(--transition);
}
.hero__dot.is-active {
    background: var(--brand);
    border-color: var(--brand);
    transform: scale(1.25);
}

/* Slide progress bar */
.hero__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--brand);
    animation: progress 6s linear infinite;
    z-index: 10;
}
@keyframes progress { from{width:0} to{width:100%} }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── ABOUT SECTION ──────────────────────────────────────── */
.about-card {
    border: none;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.about-card__img {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}
.about-card__img .material-icons {
    font-size: 80px;
    color: rgba(255,255,255,0.55);
    transition: transform .4s ease;
}
.about-card:hover .about-card__img .material-icons {
    transform: scale(1.15);
}
.about-card__img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(140,21,21,0.30);
    transition: var(--transition);
}
.about-card:hover .about-card__img-overlay {
    background: rgba(140,21,21,0.10);
}
.about-card__body { padding: 24px; }
.about-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.about-card__text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ─── FEATURES SECTION ───────────────────────────────────── */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 44px;
}
.feature-item--right {
    flex-direction: row-reverse;
    text-align: right;
}
.feature__icon {
    min-width: 54px;
    height: 54px;
    width: 54px;
    background: var(--brand-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.feature__icon .material-icons {
    font-size: 28px;
    color: var(--brand);
    transition: color .3s;
}
.feature-item:hover .feature__icon {
    background: var(--brand);
}
.feature-item:hover .feature__icon .material-icons {
    color: var(--white);
}
.feature__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.feature__text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* Center Engineer Illustration */
.engineer-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* ─── PROMO BANNER ───────────────────────────────────────── */
.promo-banner {
    background: var(--brand);
    padding: 36px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 80px;
    border-radius: var(--radius);
}
.promo-banner__title {
    font-size: 21px;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    margin: 0 0 5px;
    letter-spacing: .5px;
}
.promo-banner__text {
    font-size: 14px;
    color: rgba(255,255,255,0.80);
    margin: 0;
}

/* ─── VERTICAL TABS ──────────────────────────────────────── */
.vtabs__nav {
    border: none;
    flex-direction: column;
}
.vtabs__nav .nav-link {
    border: none !important;
    text-align: left;
    padding: 14px 20px !important;
    border-left: 3px solid transparent !important;
    border-radius: 0 !important;
    font-weight: 600;
    color: #555 !important;
    transition: var(--transition);
}
.vtabs__nav .nav-link.active,
.vtabs__nav .nav-link:hover {
    color: var(--brand) !important;
    background: rgba(140,21,21,0.07) !important;
    border-left-color: var(--brand) !important;
}
.vtabs__nav .nav-link::after { display: none; }
.vtabs__pane { padding: 24px 30px; }
.vtabs__pane h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.vtabs__pane p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 14px;
}
.vtabs__pane a { color: var(--brand); }
.vtabs__img {
    float: right;
    width: 175px;
    height: 125px;
    background: linear-gradient(135deg, #e8e8e8, #d4d4d4);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px 22px;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
}
.vtabs__img .material-icons { font-size: 54px; color: #bbb; }

/* ─── COUNTERS ───────────────────────────────────────────── */
.counters {
    background: var(--gray-bg);
    padding: 60px 0;
    margin-top: 50px;
}
.counter-item { padding: 20px 10px; text-align: center; }
.counter-item__icon {
    font-size: 44px !important;
    color: var(--brand);
    display: block;
    margin-bottom: 14px;
}
.counter-item__number {
    display: block;
    font-size: 54px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 10px;
}
.counter-item__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ─── CONTACT SECTION ────────────────────────────────────── */
.contact-section {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    padding: 90px 0 80px;
}
.contact-section .section-title::after { background: var(--brand); }
.contact-section label {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}
.contact-section .form-control {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--white);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
    transition: border-color .3s;
}
.contact-section .form-control:focus {
    background: rgba(255,255,255,0.09);
    border-color: var(--brand);
    box-shadow: none;
    color: var(--white);
    outline: none;
}
.contact-section .form-control::placeholder { color: rgba(255,255,255,0.25); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* Contact Info block */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
}
.contact-info-item .material-icons {
    font-size: 22px;
    color: var(--brand);
    margin-top: 3px;
    flex-shrink: 0;
}
.contact-info-item p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.contact-info-item strong {
    color: var(--white);
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Skyline decoration */
.skyline-deco {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    opacity: 0.06;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px, transparent 10px,
        rgba(140,21,21,1) 10px, rgba(140,21,21,1) 48px,
        transparent 48px, transparent 58px,
        rgba(140,21,21,1) 58px, rgba(140,21,21,1) 82px,
        transparent 82px, transparent 96px,
        rgba(140,21,21,1) 96px, rgba(140,21,21,1) 128px,
        transparent 128px, transparent 140px
    );
}

/* ─── TESTIMONIALS (nueva versión con tarjetas) ─────────── */
.testimonials-section {
    background: linear-gradient(135deg, #8C1515 0%, #6B0F0F 60%, #1a1a2e 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Ondas SVG */
.section-wave { line-height: 0; }
.section-wave--top  { margin-bottom: -2px; }
.section-wave--bottom { margin-top: -2px; }
.section-wave svg { display: block; width: 100%; height: 80px; }

/* Tarjeta de testimonio */
.testi-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 36px 32px;
    height: 100%;
    backdrop-filter: blur(6px);
    transition: var(--transition);
    position: relative;
}
.testi-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.testi-card__stars {
    color: #FFD700;
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 3px;
}
.testi-card__quote {
    font-size: 14.5px;
    font-style: italic;
    color: rgba(255,255,255,0.88);
    line-height: 1.9;
    margin-bottom: 28px;
    position: relative;
    padding-top: 8px;
}
.testi-card__quote::before {
    content: '\201C';
    position: absolute;
    top: -18px;
    left: -6px;
    font-size: 72px;
    color: rgba(255,255,255,0.15);
    font-style: normal;
    font-family: Georgia, serif;
    line-height: 1;
}
.testi-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 20px;
}
.testi-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testi-card__avatar .material-icons {
    font-size: 28px;
    color: rgba(255,255,255,0.80);
}
.testi-card__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 3px;
}
.testi-card__role {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin: 0;
    font-weight: 500;
}

/* Tags dentro de testimoniales */
.testi-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}
.testi-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    cursor: default;
    transition: var(--transition);
}
.testi-tag:hover {
    color: rgba(255,255,255,0.85);
    border-bottom-color: rgba(255,255,255,0.45);
}

/* ─── ÁREA DE SERVICIO ───────────────────────────────────── */
.service-area-section {
    background: var(--gray-bg);
    padding: 70px 0;
}
.service-area-badge {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(140,21,21,0.2);
    margin-bottom: 4px;
}
.area-tag {
    display: inline-block;
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: default;
}
.area-tag:hover {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(140,21,21,0.25);
}

/* Carousel controls (legacy - kept for compat) */
.carousel-ctrl {
    background: none;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #aaa;
    font-size: 16px;
    transition: var(--transition);
}
.carousel-ctrl:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
}

/* Responsive testimonios */
@media (max-width: 767px) {
    .testimonials-section { padding: 80px 0; }
    .testi-card { padding: 26px 20px; }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer-primary {
    background: var(--dark-bg);
    padding: 72px 0 50px;
}
.footer-primary h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}
.footer-primary p,
.footer-primary address {
    color: #888;
    font-size: 14px;
    line-height: 1.85;
    font-style: normal;
}

/* Footer Social */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    color: #999;
    font-size: 13px;
    margin-right: 6px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--brand);
    color: var(--white);
    transform: translateY(-3px);
}

/* Footer links */
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #888;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--brand);
    padding-left: 4px;
}
.footer-links a i { font-size: 12px; color: var(--brand); }

/* Contact footer */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: #888;
    font-size: 14px;
}
.footer-contact-item .material-icons {
    font-size: 17px;
    color: var(--brand);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}
.newsletter-form input {
    flex: 1;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
    color: var(--white);
    padding: 11px 16px;
    font-size: 13px;
    font-family: 'Raleway', sans-serif;
    outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form button {
    background: var(--brand);
    border: none;
    padding: 11px 18px;
    cursor: pointer;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}
.newsletter-form button:hover { background: var(--brand-dark); }

/* Tag cloud */
.tag-cloud { margin-top: 0; }
.tag-cloud h5 {
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.tag {
    display: inline-block;
    background: rgba(255,255,255,0.06);
    color: #888;
    padding: 4px 13px;
    margin: 3px 2px;
    font-size: 12px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
}
.tag:hover {
    background: var(--brand);
    color: var(--white);
}

/* Footer Secondary */
.footer-secondary {
    background: var(--dark-bg2);
    padding: 18px 0;
    text-align: center;
}
.footer-secondary p {
    color: #555;
    font-size: 13px;
    margin: 0;
}
.footer-secondary a {
    color: var(--brand);
    transition: var(--transition);
}
.footer-secondary a:hover { color: var(--brand-dark); }

/* Footer logo */
.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

/* ─── WHATSAPP FLOATING BUTTON ──────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 84px;
    right: 28px;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.50);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: waPulse 2.5s infinite;
}
.whatsapp-float:hover {
    background: #1ebe5b;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.60);
}
.whatsapp-float svg {
    flex-shrink: 0;
}
.whatsapp-float__tooltip {
    position: absolute;
    right: 62px;
    background: #25D366;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateX(8px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #25D366;
    border-right: none;
}
.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    transform: translateX(0);
}
@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 575px) {
    .whatsapp-float { bottom: 84px; right: 18px; width: 48px; height: 48px; }
    .whatsapp-float__tooltip { display: none; }
}

/* ─── BACK TO TOP ────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(140,21,21,0.45);
}
.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.back-to-top:hover {
    background: var(--brand-dark);
    transform: translateY(-4px);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991px) {
    .hero__illustration { display: none; }
    .nav-link { padding: 12px 16px !important; }
    .nav-link::after { display: none; }
    .vtabs__pane { padding: 20px 10px; }
}
@media (max-width: 767px) {
    .top-bar { display: none; }
    .hero__content { text-align: center; }
    .hero__text { margin: 0 auto 35px; }
    .feature-item--right { flex-direction: row; text-align: left; }
    .promo-banner { flex-direction: column; text-align: center; padding: 28px 24px; }
    .vtabs__img { float: none; margin: 0 auto 16px; width: 100%; }
    .testimonial-wrap { padding: 20px 10px; }
    .logo-strip { gap: 22px; }
}
@media (max-width: 575px) {
    .section-padding { padding: 60px 0; }
    .btn-outline { margin-left: 0; margin-top: 12px; }
    .hero__actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
    .counter-item__number { font-size: 40px; }
}
