/**
 * Guía Comercial Rosario - Estética Inpirada en Fiverr Professional
 * Diseño de vanguardia: Limpio, espacioso, con alto contraste y acentos profesionales.
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==================== SISTEMA DE DISEÑO FIVERR-STYLE ==================== */
:root {
    /* Paleta Fiverr Pro */
    --fiverr-green: #1dbf73;
    --fiverr-green-dark: #19a463;
    --dark-primary: #404145;
    --dark-secondary: #62646a;
    --dark-black: #0e0e0f;

    /* Superficies y Neutros */
    --white: #ffffff;
    --gray-light: #f7f7f7;
    --gray-border: #dadbdd;
    --gray-bg: #fcfcfc;

    /* Tipografía */
    --font-main: 'Plus Jakarta Sans', sans-serif;

    /* Espaciado de Aire (Generous Spacing) */
    --spacing-xl: 80px;
    --spacing-lg: 40px;
    --spacing-md: 20px;

    /* Curvas Sutiles (Estética Moderna Balanceada) */
    --radius-sm: 4px;
    --radius-md: 8px;
}

/* ==================== RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--dark-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

/* ==================== HEADER PROFESIONAL ==================== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--dark-black);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
}

.header-contact a {
    margin-right: 20px;
    opacity: 0.8;
}

.header-contact a:hover {
    opacity: 1;
}

.header-main {
    padding: 5px 0;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 100px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: var(--dark-secondary);
    font-weight: 600;
    font-size: 16px;
}

.nav-list a:hover {
    color: var(--fiverr-green);
}

.nav-toggle {
    display: none;
    /* Asegurar que no aparezca en desktop */
}

/* ==================== HERO DE ALTO IMPACTO (MODERNO) ==================== */
/* Hero con imagen de Rosario y overlay directo - Versión simplificada para Hostinger */
.hero-modern {
    background: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.85)),
        url('../images/hero-bg.jpg') center center / cover no-repeat #1a1a2e;
    position: relative;
    padding: 120px 0;
    color: #fff;
    text-align: center;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* Eliminamos el before que ya no es necesario para el fondo */
.hero-modern::before {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-modern h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.hero-modern p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 48px;
    font-weight: 400;
}

/* BUSCADOR GLASSMORPHISM */
.search-wrapper {
    max-width: 800px;
    margin: 0 auto 40px;
}

.search-form-modern {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.search-icon {
    color: rgba(255, 255, 255, 0.6);
    margin-right: 12px;
}

.search-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    width: 100%;
    font-size: 18px;
    padding: 12px 0;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-search-icon {
    background: transparent;
    color: #fff;
    border: none;
    font-size: 20px;
    padding: 0 24px;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search-icon:hover {
    transform: scale(1.2);
    color: var(--fiverr-green);
}

.btn-search-location {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search-location:hover {
    color: var(--fiverr-green);
    transform: scale(1.1);
}

.btn-search-location:disabled {
    opacity: 0.5;
    cursor: wait;
}

/* QUICK CATEGORIES */
.hero-quick-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-cat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.quick-cat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.quick-cat i {
    margin-right: 8px;
    color: var(--fiverr-green);
}

@media (max-width: 768px) {
    .hero-modern h1 {
        font-size: 40px;
    }

    .hero-modern {
        padding: 80px 0;
    }

    .search-form-modern {
        flex-direction: row;
        border-radius: 50px;
        padding: 4px;
    }

    .input-group {
        padding: 0 15px;
    }

    .search-input {
        font-size: 15px;
    }

    .btn-search-icon {
        padding: 0 15px;
    }
}

/* ==================== SECCIONES TRANSICIONALES Y CTA ==================== */
.section-actions {
    margin-top: 60px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--fiverr-green);
    color: var(--fiverr-green);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--fiverr-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 191, 115, 0.2);
}

.cta-section {
    padding: 100px 0;
    background: var(--white);
}

.cta-content {
    background: var(--dark-black);
    color: #fff;
    padding: 80px 60px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-header {
    margin-bottom: 60px;
}

.cta-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.cta-header p {
    font-size: 20px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.cta-item {
    text-align: center;
    padding: 20px;
}

.cta-icon {
    font-size: 40px;
    color: var(--fiverr-green);
    margin-bottom: 24px;
}

.cta-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-item p {
    font-size: 15px;
    opacity: 0.7;
    line-height: 1.5;
}

.cta-footer {
    display: flex;
    justify-content: center;
}

.btn-cta-premium {
    background: var(--fiverr-green);
    color: #fff;
    padding: 18px 48px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-cta-premium:hover {
    background: var(--fiverr-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(29, 191, 115, 0.2);
}

@media (max-width: 992px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-content {
        padding: 60px 30px;
    }

    .cta-header h2 {
        font-size: 32px;
    }
}

/* ==================== CATEGORÍAS (Cards de Vanguardia) ==================== */
.sections-padding {
    padding: var(--spacing-xl) 0;
}

.categories-section {
    padding: 100px 0 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 25px;
}

.section-header i {
    color: var(--fiverr-green);
    font-size: 28px;
    margin-bottom: 16px;
    display: inline-block;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark-black);
    letter-spacing: -1.5px;
    display: block;
}

.section-subtitle {
    font-size: 18px;
    color: var(--dark-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--fiverr-green);
    border-radius: 10px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 24px;
}

.category-card {
    border: 1px solid var(--gray-border);
    padding: 32px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: 0.2s ease;
    cursor: pointer;
    background: var(--white);
}

.category-card:hover {
    border-color: var(--fiverr-green);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.category-icon {
    display: flex;
    margin-bottom: 24px;
    height: 60px;
    align-items: center;
    justify-content: center;
}

/* FIX DE ICONOS: Color directo, tamaño mejorado y centrado */
.category-icon i {
    font-size: 48px;
    color: var(--dark-primary);
    transition: 0.2s;
    line-height: 1;
}

.category-card:hover .category-icon i {
    color: var(--fiverr-green);
}

.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-primary);
    margin-bottom: 8px;
}

.category-card p {
    font-size: 14px;
    color: var(--dark-secondary);
    line-height: 1.4;
}

/* ==================== TARJETAS DE EMPRESA ==================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 32px;
}

.card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.card-image-wrapper {
    width: 100%;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
}

.card-image-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-bottom: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 56px;
}

.card-content {
    padding: 16px 20px;
}

.card-badge {
    color: var(--fiverr-green);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-primary);
}

.card-title a:hover {
    color: var(--fiverr-green);
}

.card-description {
    color: var(--dark-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.card-meta {
    border-top: 1px solid var(--gray-border);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--dark-secondary);
}

.card-meta i {
    color: var(--fiverr-green);
    margin-right: 4px;
}

/* ==================== BOTONES ==================== */
.btn {
    padding: 12px 24px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 14px;
    display: inline-block;
    background: #fff;
    color: var(--dark-secondary);
    border: 1px solid var(--dark-secondary);
}

.btn-primary {
    background: var(--fiverr-green);
    border-color: var(--fiverr-green);
    color: #fff;
}

.btn-primary:hover {
    background: var(--fiverr-green-dark);
}

.btn-whatsapp {
    background: transparent;
    border-color: #25D366;
    color: #25D366;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
}

/* ==================== FOOTER ==================== */
.footer {
    border-top: 1px solid var(--gray-border);
    padding: 80px 0 40px;
    background: var(--white);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col a {
    color: var(--dark-secondary);
    font-size: 15px;
}

.footer-col a:hover {
    color: var(--dark-black);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-border);
    color: var(--dark-secondary);
    font-size: 14px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom .credits a {
    color: var(--dark-primary);
    font-weight: 600;
}

.footer-bottom .credits a:hover {
    color: var(--fiverr-green);
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .site-logo {
        height: 70px;
    }

    .hero-modern {
        padding: 60px 0;
        min-height: auto;
    }

    .hero-modern h1 {
        font-size: 36px;
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .hero-modern p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .cta-header h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .cta-header p {
        font-size: 16px;
    }

    .nav-list {
        display: none;
    }
}

/* ==================== CONTACT SUCCESS OVERLAY ==================== */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-overlay.active .success-card {
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--fiverr-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
    animation: bounceIn 0.6s ease;
}

.success-card h3 {
    font-size: 24px;
    color: var(--dark-black);
    margin-bottom: 10px;
}

.success-card p {
    color: var(--dark-secondary);
    margin-bottom: 30px;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

/* Loading Spinner */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== INTERNAL PAGES (UNIFIED STYLE) ==================== */
.inner-page-wrapper {
    background-color: #f8f9fa;
    min-height: calc(100vh - 400px);
}

.inner-header {
    background: linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)),
        url('../images/hero-bg.jpg') center 20% / cover no-repeat #1a1a2e;
    padding: 80px 0;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.inner-header h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.inner-header p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Breadcrumbs (Premium) */
.breadcrumb-nav {
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid #e4e5e7;
    margin-bottom: 40px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    font-size: 14px;
    color: var(--dark-secondary);
}

.breadcrumb-list a {
    color: var(--fiverr-green);
    font-weight: 600;
}

.breadcrumb-list span {
    opacity: 0.5;
}

/* Search & Filters Bar */
.filters-bar {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: -50px;
    /* Overlap with header */
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}

.filters-form {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 20px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-group label {
    font-weight: 700;
    color: var(--dark-black);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e4e5e7;
    border-radius: var(--radius-sm);
    font-size: 15px;
    background: #f9f9f9;
    transition: 0.3s;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--fiverr-green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(29, 191, 115, 0.1);
}

/* Pagination (Redesigned) */
.pagination-container {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e4e5e7;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-item {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e4e5e7;
    color: var(--dark-black);
    font-weight: 600;
    transition: 0.3s;
}

.pagination-item:hover,
.pagination-item.active {
    background: var(--fiverr-green);
    border-color: var(--fiverr-green);
    color: #fff;
}

.pagination-item.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* No Results fallback */
.empty-state {
    text-align: center;
    padding: 100px 0;
    color: var(--dark-secondary);
}

.empty-state i {
    font-size: 64px;
    color: #e4e5e7;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    color: var(--dark-black);
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .filters-form {
        grid-template-columns: 1fr;
    }

    .inner-header h1 {
        font-size: 36px;
    }
}

/* Utility & Premium Classes */
.btn-link-dark {
    color: var(--dark-black);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-link-dark:hover {
    color: var(--fiverr-green);
}

/* Categories Grid (Premium) */
.categories-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.category-item-premium {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    border: 1px solid #e4e5e7;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.category-item-premium:hover {
    border-color: var(--fiverr-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #f1fdf7;
    color: var(--fiverr-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: 0.3s;
}

.category-item-premium:hover .category-icon-wrapper {
    background: var(--fiverr-green);
    color: #fff;
}

.category-info h3 {
    font-size: 18px;
    color: var(--dark-black);
    margin-bottom: 4px;
    font-weight: 700;
}

.category-info p {
    font-size: 14px;
    color: var(--dark-secondary);
    margin: 0;
}

.category-arrow {
    margin-left: auto;
    color: #e4e5e7;
    transition: 0.3s;
}

.category-item-premium:hover .category-arrow {
    color: var(--fiverr-green);
    transform: translateX(5px);
}

.badge-featured {
    background: #fff3cd;
    color: #856404;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid #ffeeba;
}

.empresa-card.is-featured {
    border: 1px solid #ffeeba;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
}

.card-actions-premium .btn {
    border-radius: var(--radius-sm);
    font-weight: 700;
    letter-spacing: 0.2px;
}

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

.pb-5 {
    padding-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-auto {
    margin-top: auto;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ==================== CONTACT PAGE (PREMIUM) ==================== */
.contact-grid-premium {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.contact-card-premium {
    background: #fff;
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item-premium {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item-premium:hover {
    border-color: var(--fiverr-green);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(29, 191, 115, 0.08);
}

.info-item-icon {
    width: 56px;
    height: 56px;
    background: #f1fdf7;
    color: var(--fiverr-green);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: 0.3s;
}

.info-item-premium:hover .info-item-icon {
    background: var(--fiverr-green);
    color: #fff;
}

.info-item-content h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--dark-secondary);
    margin-bottom: 4px;
    font-weight: 800;
}

.info-item-content p,
.info-item-content a {
    font-size: 17px;
    color: var(--dark-black);
    font-weight: 700;
    text-decoration: none;
    margin: 0;
}

.business-hours-premium {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed #f0f0f0;
}

.business-hours-premium h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-black);
}

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

.info-item-icon.whatsapp {
    background: #e7f9ee;
    color: #25d366;
}

.info-item-icon.map {
    background: #f0f0f0;
    color: var(--dark-black);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f8f9fa;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li span:first-child {
    color: var(--dark-secondary);
    font-weight: 600;
    font-size: 14px;
}

.hours-list li span:last-child {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark-black);
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 8px;
}

.hours-list li.is-closed span:last-child {
    color: #dc3545;
    background: #fff5f5;
}

@media (max-width: 991px) {
    .contact-grid-premium {
        grid-template-columns: 1fr;
    }
}

/* ==================== GALLERY STYLES (PREMIUM) ==================== */
.empresa-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.empresa-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.empresa-gallery img:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--fiverr-green);
}

@media (max-width: 768px) {
    .empresa-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* ==================== RESULTADOS / LISTINGS REFINING ==================== */
.section-meta {
    background: #fff;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-border);
    margin-bottom: 30px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.section-meta p {
    margin: 0;
    font-size: 15px;
}

.results-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.results-actions .btn {
    padding: 0 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 !important;
    white-space: nowrap;
    height: 42px;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.results-actions .btn-outline {
    border: 1px solid var(--fiverr-green);
    background: transparent;
    color: var(--fiverr-green);
}

.results-actions .btn-outline:hover {
    background: #f1fdf7;
    transform: translateY(-2px);
}

.results-actions .btn-primary {
    background: var(--fiverr-green);
    border: 1px solid var(--fiverr-green);
    color: #fff;
}

.results-actions .btn-primary:hover {
    background: var(--fiverr-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 191, 115, 0.2);
}

@media (max-width: 768px) {
    .section-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .section-meta p {
        width: 100%;
        margin-bottom: 5px;
    }

    .results-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .results-actions .btn {
        width: 100%;
        font-size: 13px;
        padding: 0 10px;
        height: 48px;
        /* Más cómodo para pulgar en móvil */
    }
}