/* ==========================================================================
   VETEX VETERINARIO DE EXÓTICOS - STYLESHEET WITH LOGO & AI OPTIMIZATION
   ========================================================================== */

:root {
    --color-primary: #10B981;        /* Leaf Green */
    --color-primary-dark: #047857;   /* Deep Forest Green */
    --color-primary-light: #ECFDF5;  /* Mint Light */
    --color-logo-green: #6DB33F;     /* Exact Logo Green */
    --color-logo-x: #0F172A;         /* Dark Slate Charcoal */
    
    --color-dark: #0F172A;           /* Slate 900 */
    --color-gray-dark: #334155;      /* Slate 700 */
    --color-gray-med: #64748B;       /* Slate 500 */
    --color-gray-light: #F8FAFC;     /* Slate 50 */
    --color-white: #FFFFFF;
    
    --color-whatsapp: #25D366;
    
    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-gray-light);
    color: var(--color-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 70px;
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E2E8F0;
    padding: 0.65rem 0;
}

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

.vetex-original-logo {
    height: 48px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.lang-selector {
    display: flex;
    background: #E2E8F0;
    padding: 3px;
    border-radius: var(--radius-full);
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--color-gray-med);
    cursor: pointer;
}

.lang-btn.active {
    background: white;
    color: var(--color-dark);
    box-shadow: var(--shadow-sm);
}

.btn-header-call {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--color-primary);
    color: white;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.9rem;
}

/* HERO SECTION */
.hero-section {
    padding: 3rem 0 3.5rem;
    background: white;
    border-bottom: 1px solid #E2E8F0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    background: #DCFCE7;
    color: #15803D;
    margin-bottom: 1.25rem;
    border: 1px solid #BBF7D0;
}

.live-status-pill.status-closed {
    background: #FEE2E2;
    color: #B91C1C;
    border-color: #FCA5A5;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22C55E;
}

.status-closed .status-dot {
    background-color: #EF4444;
}

.hero-title {
    font-size: 2.35rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
}

.cta-box {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-align: left;
}

.btn-call-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-wa-primary {
    background: var(--color-whatsapp);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-main-text {
    font-size: 0.95rem;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

.btn-sub-text {
    font-size: 0.78rem;
    opacity: 0.9;
    font-weight: 600;
    display: block;
}

.hero-image-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid white;
}

.hero-main-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

/* CARDS SECTION */
.section {
    padding: 3.5rem 0;
}

.simple-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.simple-card {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.highlight-card {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-md);
    background: #FAFDFB;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: #F1F5F9;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.icon-green {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.simple-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.schedule-details {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.schedule-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #E2E8F0;
}

.sched-day { color: var(--color-gray-dark); font-weight: 600; }
.sched-time { color: var(--color-dark); font-weight: 800; }
.sched-closed { color: #EF4444; font-weight: 800; }

.phone-single-num {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.phone-note-text {
    font-size: 0.875rem;
    color: var(--color-gray-med);
    margin-bottom: 1rem;
}

.address-text {
    font-size: 1.05rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.transport-note {
    font-size: 0.85rem;
    color: var(--color-gray-med);
    margin-bottom: 1rem;
}

.btn-primary { background: var(--color-primary); color: white; }
.btn-outline { background: transparent; border: 2px solid var(--color-dark); color: var(--color-dark); }
.btn-block { width: 100%; justify-content: center; margin-top: auto; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

/* INSTAGRAM CAROUSEL */
.instagram-simple-section {
    background: white;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.insta-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #E1306C;
    color: white;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.section-title-wrap {
    margin-bottom: 2.25rem;
}

.section-heading {
    font-size: 1.85rem;
    font-weight: 800;
}

.section-subheading {
    color: var(--color-gray-med);
    font-size: 1rem;
    margin-top: 0.25rem;
}

.section-subheading a {
    color: #E1306C;
    font-weight: 700;
    text-decoration: underline;
}

.insta-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.insta-carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-lg);
}

.insta-carousel-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.insta-carousel-slide {
    flex: 0 0 calc(33.333% - 0.85rem);
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    display: block;
    box-shadow: var(--shadow-sm);
}

.insta-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.25rem;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 0.5rem;
}

.insta-carousel-slide:hover .insta-slide-overlay { opacity: 1; }
.insta-carousel-slide:hover img { transform: scale(1.08); }

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #E2E8F0;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.carousel-nav:hover {
    background: var(--color-dark);
    color: white;
    transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #E1306C;
    width: 24px;
    border-radius: 5px;
}

/* FAQ SECTION FOR AI ENGINE OPTIMIZATION */
.faq-section {
    background: #F1F5F9;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.faq-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #E2E8F0;
}

.faq-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.faq-card p {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

/* MAP SECTION */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #CBD5E1;
    height: 380px;
}

.leaflet-map-element {
    width: 100%;
    height: 100%;
}

/* FOOTER */
.site-footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-content p { margin-bottom: 0.4rem; }
.footer-copy { margin-top: 1rem; font-size: 0.8rem; color: #64748B; }
.text-white { color: white; }

/* MOBILE ACTION BAR */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: white;
    border-top: 1px solid #E2E8F0;
    padding: 0.6rem 1rem;
    gap: 0.75rem;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

.btn-action-mobile {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.95rem;
    color: white;
}

.call-action { background: var(--color-primary); }
.wa-action { background: var(--color-whatsapp); }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; }
    .simple-cards-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .insta-carousel-slide { flex: 0 0 calc(50% - 0.65rem); }
    .hero-title { font-size: 1.95rem; }
}

@media (max-width: 600px) {
    .mobile-action-bar { display: flex; }
    .btn-header-call span { display: none; }
    .insta-carousel-slide { flex: 0 0 100%; }
    .carousel-prev { left: 4px; }
    .carousel-next { right: 4px; }
}
