/* =================================================== */
/*  RESET Y BASE                                       */
/* =================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ugroy-green: #006837;
    --ugroy-lightgreen: #008748;
    --ugroy-dark: #00331b;
    --ugroy-gold: #f1be19;
    --ugroy-goldhover: #d9a910;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #f8fafc;
    color: #1f2937;
}

.font-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* =================================================== */
/*  UTILITY CLASSES                                    */
/* =================================================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none; }

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
}

/* =================================================== */
/*  TOP BAR                                            */
/* =================================================== */
.top-bar {
    background: var(--ugroy-dark);
    color: #a7f3d0;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

.top-bar .container {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.top-bar a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: var(--ugroy-gold);
}

.top-bar .gold-text {
    color: var(--ugroy-gold);
    margin-right: 0.25rem;
}

.top-bar .wa-link {
    color: #34d399;
    font-weight: 600;
}

/* =================================================== */
/*  HEADER / NAV                                       */
/* =================================================== */
.main-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.main-header .container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem; /* Aumentado el padding horizontal */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
    gap: 1rem; /* Espacio entre logo y menú */
}


.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
    border-radius: 0.5rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ugroy-green);
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.brand-sub {
    font-size: 0.6rem;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.05em;
    display: block;
}

.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
    .nav-desktop a {
        font-size: 0.875rem;
        font-weight: 600;
        color: #374151;
        text-decoration: none;
        padding: 0.25rem 0;
        border-bottom: 2px solid transparent;
        transition: color 0.2s, border-color 0.2s;
    }
    .nav-desktop a:hover {
        color: var(--ugroy-green);
        border-bottom-color: var(--ugroy-green);
    }
}

.actions {
    display: none;
}

@media (min-width: 768px) {
    .actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
}

.btn-outline {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ugroy-green);
    border: 2px solid var(--ugroy-green);
    border-radius: 0.5rem;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.btn-outline:hover {
    background: var(--ugroy-green);
    color: white;
}

.btn-primary {
    padding: 0.625rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    background: var(--ugroy-green);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.btn-primary:hover {
    background: var(--ugroy-lightgreen);
}

.btn-gold {
    background: var(--ugroy-gold);
    color: var(--ugroy-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gold:hover {
    background: var(--ugroy-goldhover);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

.btn-secondary i {
    color: var(--ugroy-gold);
}

.mobile-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4b5563;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-drawer {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem 1rem 1.5rem;
}

.mobile-drawer.open {
    display: block;
}

.mobile-drawer a {
    display: block;
    padding: 0.5rem 0;
    color: #1f2937;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-drawer .btn-primary,
.mobile-drawer .btn-outline {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    width: 100%;
}

/* =================================================== */
/*  HERO                                               */
/* =================================================== */
.hero {
    background: linear-gradient(rgba(0, 51, 27, 0.88), rgba(0, 51, 27, 0.95)), url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 1rem;
}

.hero .container {
    max-width: 80rem;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--ugroy-gold);
}

@media (min-width: 640px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

.hero p {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    max-width: 36rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(241, 190, 25, 0.2);
    color: var(--ugroy-gold);
    border: 1px solid rgba(241, 190, 25, 0.4);
    margin-bottom: 1rem;
}

.hero-stats {
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    padding: 1.5rem 0;
}

.hero-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-stats .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hero-stats .number {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--ugroy-gold);
    font-family: 'Montserrat', sans-serif;
}

@media (min-width: 1024px) {
    .hero-stats .number {
        font-size: 2.25rem;
    }
}

.hero-stats .label {
    font-size: 0.75rem;
    color: #d1d5db;
}

/* =================================================== */
/*  SECTIONS GENERIC                                   */
/* =================================================== */
.section {
    padding: 4rem 1rem;
}

.container {
    max-width: 80rem;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: #ecfdf5;
    color: var(--ugroy-green);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid #d1fae5;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-top: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.section-title p {
    color: #6b7280;
    margin-top: 0.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .section-title h2 {
        font-size: 2.5rem;
    }
}

/* =================================================== */
/*  DEPARTMENTS TABS                                   */
/* =================================================== */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .dept-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .dept-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.dept-btn {
    padding: 1.25rem;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dept-btn:hover {
    border-color: var(--ugroy-green);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.dept-btn.active {
    border-color: var(--ugroy-green);
    background: #ecfdf5;
}

.dept-btn .icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.dept-btn .icon.green {
    background: var(--ugroy-green);
    color: var(--ugroy-gold);
}

.dept-btn .icon.emerald {
    background: #d1fae5;
    color: var(--ugroy-green);
}

.dept-btn .icon.amber {
    background: #fef3c7;
    color: #b45309;
}

.dept-btn .icon.blue {
    background: #dbeafe;
    color: #1e40af;
}

.dept-btn h3 {
    font-weight: 800;
    font-size: 1.125rem;
    color: #111827;
    font-family: 'Montserrat', sans-serif;
}

.dept-btn p {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.dept-btn .more {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--ugroy-green);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dept-content {
    background: linear-gradient(to bottom right, #065f46, var(--ugroy-dark));
    color: white;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    border: 1px solid #065f46;
}

@media (min-width: 768px) {
    .dept-content {
        padding: 3rem;
    }
}

.dept-content .flex-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .dept-content .flex-col {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.dept-content .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(241, 190, 25, 0.2);
    color: var(--ugroy-gold);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(241, 190, 25, 0.3);
}

.dept-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .dept-content h3 {
        font-size: 2rem;
    }
}

.dept-content p {
    color: #a7f3d0;
    margin-top: 0.75rem;
}

.dept-content .features {
    margin-top: 1rem;
}

.dept-content .features div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e5e7eb;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.dept-content .features i {
    color: var(--ugroy-gold);
}

/* =================================================== */
/*  TRAMITES SECTION                                   */
/* =================================================== */
.tramites-section {
    background: #f3f4f6;
    padding: 4rem 1rem;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.tramites-section .tramites-flex {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .tramites-section .tramites-flex {
        flex-direction: row;
    }
}

.tramites-section .col-left {
    flex: 1;
}

.tramites-section .col-right {
    flex: 1;
    width: 100%;
}

.tramites-section .badge {
    color: var(--ugroy-green);
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tramites-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-top: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

@media (min-width: 640px) {
    .tramites-section h2 {
        font-size: 2.5rem;
    }
}

.tramites-section .desc {
    color: #6b7280;
    margin-top: 1rem;
}

.tramites-section select {
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 2px solid var(--ugroy-green);
    background: white;
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
}

.tramite-info-box {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #6b7280;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.tramites-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

@media (min-width: 640px) {
    .tramites-card {
        padding: 2rem;
    }
}

.tramites-card .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.tramites-card .header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tramites-card .header-left .icon-box {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: #ecfdf5;
    color: var(--ugroy-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.tramites-card .header-left h3 {
    font-weight: 700;
    color: #111827;
    font-size: 1.125rem;
}

.tramites-card .header-left .dept-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--ugroy-green);
    display: block;
}

.tramites-card .badge-oficial {
    padding: 0.25rem 0.75rem;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 9999px;
}

.tramites-card .checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.tramites-card .checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.75rem;
}

.tramites-card .checklist i {
    color: var(--ugroy-green);
    margin-top: 0.125rem;
}

.tramites-card .note {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 0.75rem;
    color: #065f46;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tramites-card .note i {
    color: var(--ugroy-green);
    font-size: 1rem;
    margin-top: 0.125rem;
}

.tramites-card .note strong {
    display: block;
    font-weight: 700;
}

.tramites-card .btn-wa {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: #059669;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    text-decoration: none;
}

.tramites-card .btn-wa:hover {
    background: #047857;
}

/* =================================================== */
/*  CATÁLOGO DE PRODUCTOS                              */
/* =================================================== */
.catalog-section {
    padding: 4rem 1rem;
    background: white;
}

.catalog-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .catalog-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.catalog-header .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: #ecfdf5;
    color: var(--ugroy-green);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid #d1fae5;
}

.catalog-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-top: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

@media (min-width: 640px) {
    .catalog-header h2 {
        font-size: 2.5rem;
    }
}

.catalog-header .sub {
    color: #6b7280;
    margin-top: 0.5rem;
    max-width: 32rem;
}

.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cat-filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background: #f3f4f6;
    color: #4b5563;
}

.cat-filter-btn:hover {
    background: #e5e7eb;
}

.cat-filter-btn.active {
    background: var(--ugroy-green);
    color: white;
}

.search-wrapper {
    position: relative;
    max-width: 24rem;
    margin-bottom: 2rem;
}

.search-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.search-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border-radius: 0.75rem;
    border: 1px solid #d1d5db;
    font-size: 0.875rem;
    transition: border-color 0.2s;
    outline: none;
}

.search-wrapper input:focus {
    border-color: var(--ugroy-green);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card.hidden-product {
    display: none;
}

.product-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.product-card .image {
    height: 12rem;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--ugroy-green);
    overflow: hidden;
}

.product-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .body {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .body .badge-cat {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #ecfdf5;
    color: var(--ugroy-green);
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.product-card .body .badge-cat.farmacia {
    background: #fef3c7;
    color: #92400e;
}

.product-card .body .badge-cat.alimentos {
    background: #dbeafe;
    color: #1e40af;
}

.product-card .body .badge-cat.genetica {
    background: #e0e7ff;
    color: #3730a3;
}

.product-card .body h4 {
    font-weight: 700;
    color: #111827;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.product-card .body .desc {
    font-size: 0.75rem;
    color: #6b7280;
    flex: 1;
    margin-bottom: 0.75rem;
}

.product-card .body .footer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f3f4f6;
    padding-top: 0.75rem;
    margin-top: auto;
}

.product-card .body .footer-card .price {
    font-weight: 700;
    color: var(--ugroy-green);
    font-size: 0.875rem;
}

.product-card .body .footer-card .price .old {
    font-weight: 400;
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 0.7rem;
    margin-right: 0.25rem;
}

.product-card .body .footer-card .btn-cotizar {
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    background: var(--ugroy-green);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.product-card .body .footer-card .btn-cotizar:hover {
    background: var(--ugroy-lightgreen);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-size: 1rem;
}

.no-results i {
    font-size: 3rem;
    color: #d1d5db;
    display: block;
    margin-bottom: 1rem;
}

.expand-btn-wrapper {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-expand {
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: 2px solid var(--ugroy-green);
    background: transparent;
    color: var(--ugroy-green);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-expand:hover {
    background: var(--ugroy-green);
    color: white;
}

.btn-expand i {
    font-size: 0.875rem;
    transition: transform 0.3s;
}

.btn-expand.expanded i {
    transform: rotate(180deg);
}

/* =================================================== */
/*  MODAL DE COTIZACIÓN                                */
/* =================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 1.5rem;
    max-width: 480px;
    width: 100%;
    padding: 2rem;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #374151;
}

.modal-content .modal-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-content .modal-icon img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.modal-content .modal-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #ecfdf5;
    color: var(--ugroy-green);
    margin-bottom: 0.5rem;
}

.modal-content .modal-badge.farmacia {
    background: #fef3c7;
    color: #92400e;
}

.modal-content .modal-badge.alimentos {
    background: #dbeafe;
    color: #1e40af;
}

.modal-content .modal-badge.genetica {
    background: #e0e7ff;
    color: #3730a3;
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.25rem;
}

.modal-content .modal-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.modal-content .form-group {
    margin-bottom: 1.25rem;
}

.modal-content .form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.modal-content .form-group select,
.modal-content .form-group input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    font-size: 0.875rem;
    font-weight: 600;
    transition: border-color 0.2s;
    outline: none;
    background: white;
}

.modal-content .form-group select:focus,
.modal-content .form-group input:focus {
    border-color: var(--ugroy-green);
}

.modal-content .form-group select {
    cursor: pointer;
}

.modal-total {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    margin: 1.5rem 0;
}

.modal-total .label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #065f46;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-total .amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ugroy-green);
    font-family: 'Montserrat', sans-serif;
    margin-top: 0.25rem;
}

.modal-total .note {
    font-size: 0.65rem;
    color: #065f46;
    margin-top: 0.25rem;
}

.modal-btn-wa {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background: #059669;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    text-decoration: none;
}

.modal-btn-wa:hover {
    background: #047857;
}

.modal-btn-wa i {
    margin-right: 0.5rem;
}

/* =================================================== */
/*  CENTRO GENÉTICO                                    */
/* =================================================== */
.genetic-section {
    background: var(--ugroy-dark);
    color: white;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.genetic-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(241, 190, 25, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.genetic-section .container {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.genetic-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.genetic-section .section-header .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(241, 190, 25, 0.2);
    color: var(--ugroy-gold);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(241, 190, 25, 0.3);
}

.genetic-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0.75rem;
}

@media (min-width: 640px) {
    .genetic-section .section-header h2 {
        font-size: 3rem;
    }
}

.genetic-section .section-header h2 span {
    color: var(--ugroy-gold);
}

.genetic-section .section-header p {
    color: #d1d5db;
    max-width: 48rem;
    margin: 0.75rem auto 0;
}

.genetic-grid-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .genetic-grid-main {
        grid-template-columns: 1fr 1fr;
    }
}

.genetic-card-main {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s;
}

.genetic-card-main:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(241, 190, 25, 0.3);
}

.genetic-card-main h3 {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ugroy-gold);
}

.genetic-card-main h3 i {
    font-size: 1.5rem;
}

.genetic-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .genetic-features {
        grid-template-columns: 1fr 1fr;
    }
}

.genetic-feature {
    background: rgba(255,255,255,0.05);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.3s;
}

.genetic-feature:hover {
    background: rgba(255,255,255,0.1);
}

.genetic-feature .icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(241, 190, 25, 0.15);
    color: var(--ugroy-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.genetic-feature .text h4 {
    font-weight: 700;
    color: white;
    font-size: 0.875rem;
}

.genetic-feature .text p {
    font-size: 0.75rem;
    color: #d1d5db;
    margin-top: 0.125rem;
}

.razas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .razas-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.raza-item {
    background: rgba(6, 95, 70, 0.4);
    border: 1px solid rgba(6, 95, 70, 0.5);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.raza-item:hover {
    background: rgba(6, 95, 70, 0.6);
    border-color: rgba(241, 190, 25, 0.2);
}

.raza-item .emoji {
    font-size: 1.75rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(6, 95, 70, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.raza-item .info h4 {
    font-weight: 700;
    color: white;
    font-size: 0.875rem;
}

.raza-item .info p {
    font-size: 0.7rem;
    color: #d1d5db;
}

.genetic-cta {
    margin-top: 2rem;
    text-align: center;
}

.genetic-cta .btn-gold {
    font-size: 0.875rem;
    padding: 0.875rem 2rem;
}

/* =================================================== */
/*  SECCIÓN DE CONTACTO                                */
/* =================================================== */
.contact-section {
    background: #f8fafc;
    padding: 4rem 1rem;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.contact-section .container {
    max-width: 80rem;
    margin: 0 auto;
}

.contact-section .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .contact-section .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-section .info-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.contact-section .info-card .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: #ecfdf5;
    color: var(--ugroy-green);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid #d1fae5;
    margin-bottom: 1rem;
}

.contact-section .info-card h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .contact-section .info-card h2 {
        font-size: 2.25rem;
    }
}

.contact-section .info-card .sub {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.contact-section .info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: #f9fafb;
    transition: background 0.2s;
}

.contact-section .info-item:hover {
    background: #f3f4f6;
}

.contact-section .info-item .icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: #ecfdf5;
    color: var(--ugroy-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-section .info-item .text {
    font-size: 0.875rem;
    color: #374151;
}

.contact-section .info-item .text strong {
    display: block;
    color: #111827;
    font-weight: 700;
}

.contact-section .info-item .text a {
    color: var(--ugroy-green);
    text-decoration: none;
    font-weight: 600;
}

.contact-section .info-item .text a:hover {
    text-decoration: underline;
}

.contact-section .info-item .hours {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.contact-form {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.contact-form h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.25rem;
}

.contact-form .sub {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form .form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    font-size: 0.875rem;
    transition: border-color 0.2s;
    outline: none;
    background: white;
    font-family: inherit;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--ugroy-green);
}

.contact-form .form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--ugroy-green);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form .btn-submit:hover {
    background: var(--ugroy-lightgreen);
}

.contact-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-form .form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    display: none;
}

.contact-form .form-message.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #d1fae5;
}

.contact-form .form-message.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* =================================================== */
/*  FOOTER                                             */
/* =================================================== */
.footer {
    background: var(--ugroy-dark);
    color: white;
    border-top: 1px solid #065f46;
    padding: 3rem 1rem 2rem;
}

.footer .container {
    max-width: 80rem;
    margin: 0 auto;
}

.footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(6, 95, 70, 0.6);
}

@media (min-width: 768px) {
    .footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.footer .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer .brand .icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--ugroy-green);
    color: var(--ugroy-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.footer .brand .name {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.footer .brand .sub {
    font-size: 0.6rem;
    font-weight: 600;
    color: #34d399;
    letter-spacing: 0.05em;
    display: block;
}

.footer .desc {
    font-size: 0.75rem;
    color: rgba(167, 243, 208, 0.8);
    margin-bottom: 1rem;
}

.footer .social {
    display: flex;
    gap: 0.75rem;
}

.footer .social a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(6, 95, 70, 0.8);
    border: 1px solid rgba(6, 95, 70, 0.5);
    color: #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.footer .social a:hover {
    background: var(--ugroy-gold);
    color: var(--ugroy-dark);
}

.footer h4 {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--ugroy-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #a7f3d0;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer ul li a:hover {
    color: var(--ugroy-gold);
}

.footer ul li a i {
    font-size: 0.5rem;
    color: var(--ugroy-gold);
}

.footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #a7f3d0;
    margin-bottom: 0.75rem;
}

.footer .contact-item i {
    color: var(--ugroy-gold);
    margin-top: 0.125rem;
}

.footer .contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer .contact-item a:hover {
    color: var(--ugroy-gold);
}

.footer .subfooter {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: 0.65rem;
    color: rgba(167, 243, 208, 0.7);
}

@media (min-width: 640px) {
    .footer .subfooter {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer .subfooter a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer .subfooter a:hover {
    color: var(--ugroy-gold);
}

/* =================================================== */
/*  ANIMACIONES                                        */
/* =================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.genetic-card-main {
    animation: fadeInUp 0.6s ease-out;
}

/* =====================================================
   FACEBOOK FEED
   ===================================================== */

.facebook-feed-section {
    background: #f8fafc;
    padding: 4rem 1rem;
}

.facebook-feed-card {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.facebook-feed-widget {
    width: 100%;
    min-height: 400px;
}

/* Botón Facebook */

.facebook-feed-action {
    text-align: center;
    margin-top: 2rem;
}

.facebook-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #1877f2;
    color: #fff;

    padding: 13px 28px;
    border-radius: 10px;

    font-size: 0.9rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.facebook-button:hover {
    background: #0d65d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.25);
}

.facebook-button i {
    font-size: 1.2rem;
}

/* Móvil */

@media (max-width: 768px) {

    .facebook-feed-section {
        padding: 3rem 0.75rem;
    }

    .facebook-feed-card {
        padding: 8px;
        border-radius: 16px;
    }

    .facebook-button {
        width: 100%;
        padding: 13px 18px;
    }

}
