:root {
    --primary: #f69000;
    --primary-hover: #c36c02;
    --secondary: #53b1b1;
    --secondary-hover: #387d7d;
    --background-light: #ffffff;
    --background-dark: #0f172a;
    --text-dark: #0f172a;
    --text-slate: #64748b;
    --white: #ffffff;
    --border-light: #f1f5f9;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html {
    font-size: 80%; /* Reduce el tamaño base un 20% para que todo en 'rem' sea más pequeño */
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container,
.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.relative {
    position: relative;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.font-bold {
    font-weight: 700;
}

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

h1,
h2,
h3,
h4 {
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-size: 1.1rem;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

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

.gap-1 {
    gap: 4px;
}

/* Buttons */
.btn-header {
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-secondary-solid {
    background: var(--secondary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-secondary-solid:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Hero */
.hero-section {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

@media (min-width: 1200px) {
    .hero-offset {
        margin-left: 150px !important;
        margin-right: auto !important;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    background: var(--secondary);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Promotions */
.promotions-section {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.header-right {
    max-width: 400px;
    color: var(--text-slate);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.promo-card {
    background: transparent;
    border: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.promo-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.card-icon span {
    font-size: 2rem;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.promo-card-body {
    padding: 30px;
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    transition: var(--transition);
}

.promo-card:hover .promo-card-body {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.promo-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.bg-orange {
    background: #fff7ed;
}

.bg-teal {
    background: #f0fdfa;
}

.bg-blue {
    background: #eff6ff;
}

.bg-purple {
    background: #faf5ff;
}

.text-blue {
    color: #3b82f6;
}

.text-purple {
    color: #a855f7;
}

.promo-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.promo-card p {
    color: var(--text-slate);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
    /* Pushes the link to the bottom */
}

.card-link {
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.card-link.color-secondary {
    color: var(--secondary);
}

.card-link.color-blue {
    color: #3b82f6;
}

.card-link.color-purple {
    color: #8b5cf6;
}

/* Services */
.services-section {
    padding: 100px 0;
}

.section-description {
    max-width: 700px;
    margin: 20px auto 60px;
    color: var(--text-slate);
    font-size: 1.1rem;
}

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

.service-item {
    display: flex;
    gap: 20px;
}

.service-icon {
    background: #f0fdfa;
    padding: 16px;
    border-radius: 16px;
    height: fit-content;
}

.service-icon span {
    font-size: 2.2rem;
    color: var(--secondary);
}

.service-text h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.service-text p {
    color: var(--text-slate);
    font-size: 0.95rem;
}

/* Cat Friendly */
.catfriendly-section {
    padding: 100px 0;
    background: #fff7ed;
}

.catfriendly-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.catfriendly-image {
    flex: 1;
}

.catfriendly-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catfriendly-content {
    flex: 1;
    padding: 60px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.icon-badge {
    background: #f0fdfa;
    color: var(--secondary);
    padding: 10px;
    border-radius: 12px;
}

.badge-text {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
}

.card-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.card-text {
    font-size: 1.1rem;
    color: var(--text-slate);
    margin-bottom: 32px;
    line-height: 1.8;
}

.benefit-list {
    margin-bottom: 40px;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
}

/* Responsive */
@media (max-width: 1024px) {
    .catfriendly-card {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px !important;
    }

    .mobile-hide {
        display: none !important;
    }

    .home-hero-card-glass {
        padding: 25px !important;
        max-width: 90% !important;
        margin: 0 auto;
    }

    .hero-btn-mobile {
        padding: 12px 25px !important;
        font-size: 1rem !important;
        width: auto !important;
        display: inline-flex !important;
    }

    .hero-offset {
        padding-top: 20px !important;
    }
}

@media (max-width: 992px) {
    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
        height: 70px; /* Reducir altura un poco */
    }

    .nav-container .logo-wrapper img {
        height: 45px !important; /* Logo más pequeño en móvil */
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden off-screen */
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 100px 40px;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .main-nav a {
        font-size: 1.2rem;
        font-weight: 700;
    }

    .intro-actions,
    .nav-actions {
        display: none !important;
    }

    /* Move nav actions into menu if needed (requires JS moving or duplicate HTML, let's keep it simple: users use menu links) */

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
        /* Smaller on mobile */
    }
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.footer-col ul li {
    margin-bottom: 16px;
    color: #94a3b8;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-desc {
    color: #94a3b8;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary);
}

.social-links a.wa-link:hover {
    background: #25d366;
}

.contact-list li {
    margin-bottom: 20px;
}

.contact-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.contact-link span {
    margin-top: 2px;
}



.main-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 40px;
}

.horario-list li {
    font-size: 0.9rem;
    color: #94a3b8;
}

.horario-list li strong {
    color: var(--white);
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.map-marker {
    background: var(--primary);
    padding: 8px;
    border-radius: 50%;
    color: white;
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-link:hover .map-marker {
    transform: scale(1.1);
    background: var(--white);
    color: var(--primary);
}

.map-link {
    text-decoration: none;
}

.map-link:hover .map-placeholder {
    background: #2d3e50;
    border-color: var(--primary);
}

.map-placeholder {
    height: 180px;
    background: #1e293b;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

@media (max-width: 992px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Blog Post Content Responsiveness */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 20px 0;
}

.post-content h2,
.post-content h3 {
    margin: 30px 0 15px;
}

.post-content p {
    margin-bottom: 25px;
    font-size: 1.15rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 50px;
    margin-bottom: 20px;
}

.post-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 15px;
}

.post-content ul, .post-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.post-content blockquote {
    border-left: 5px solid var(--primary);
    padding: 20px 30px;
    margin: 40px 0;
    background: #fdfcfb;
    font-style: italic;
    font-size: 1.3rem;
    color: #4a4036;
    border-radius: 0 16px 16px 0;
}

.post-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 700;
}

.post-content a:hover {
    color: var(--primary-hover);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    background: white;
    padding: 10px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- EXTRACTED PAGE STYLES --- */

/* header.php */
@media (min-width: 769px) {
    .mobile-nav-item { display: none !important; }
}

/* footer.php cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 10000;
    border: 1px solid rgba(255,255,255,0.3);
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cookie-banner.show {
    visibility: visible;
    opacity: 1;
    bottom: 32px;
}
.cookie-content p {
    margin: 0;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.5;
}
.cookie-content a {
    color: #f69000;
    font-weight: 600;
    text-decoration: underline;
}
.cookie-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.cookie-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.cookie-btn-primary {
    background: #f69000;
    color: white;
}
.cookie-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}
.cookie-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* home.php */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* agendar.php */
.page-agendar .chat-page-section {
    padding: 20px !important;
    background: #f8fafc;
    min-height: calc(100vh - 80px);
    box-sizing: border-box;
    display: block; /* Cambiado de flex a block para mayor estabilidad */
}

.page-agendar .main-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch; 
    overflow: visible;  
}
.page-agendar .chat-container-wrapper {
    width: 100%;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 85vh;
    max-height: 85vh;
    border: 1px solid var(--border-light);
}

.page-agendar .contact-sidebar {
    background: white;
    padding: 30px;
    border-radius: 50px; /* Sincronizado con el chat-container-wrapper */
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    height: fit-content;
    position: relative;
    top: auto; /* Separación del header fixed */
    z-index: 10;
    align-self: start;
}
.page-agendar .chat-header {
    background: var(--white);
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.page-agendar .chat-bot-info {
    display: flex;
    gap: 16px;
    align-items: center;
}
.page-agendar .bot-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.page-agendar .bot-details h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2px;
}
.page-agendar .bot-details p {
    font-size: 0.85rem;
    color: var(--text-slate);
    display: flex;
    align-items: center;
    gap: 6px;
}
.page-agendar .status-online {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}
.page-agendar .chat-messages-area {
    flex-grow: 1;
    padding: 32px;
    overflow-y: auto;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.page-agendar .message {
    max-width: 80%;
    display: flex;
    flex-direction: column;
}
.page-agendar .bot-message {
    align-self: flex-start;
}
.page-agendar .user-message {
    align-self: flex-end;
}
.page-agendar .message-content {
    padding: 16px 20px;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.5;
    white-space: pre-wrap;
}
.page-agendar .bot-message .message-content {
    background: #f1f5f9;
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
}
.page-agendar .user-message .message-content {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}
.page-agendar .message-time {
    font-size: 0.75rem;
    color: var(--text-slate);
    margin-top: 6px;
    padding: 0 4px;
}
.page-agendar .user-message .message-time {
    text-align: right;
}
.page-agendar .chat-input-area {
    padding: 24px 32px;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}
.page-agendar #chat-form {
    display: flex;
    gap: 12px;
}
.page-agendar #chat-input {
    flex-grow: 1;
    border: 1px solid var(--border-light);
    background: #f8fafc;
    padding: 14px 24px;
    border-radius: 99px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}
.page-agendar #chat-input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(246, 144, 0, 0.1);
}
.page-agendar #chat-send {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.page-agendar #chat-send:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}
.page-agendar #reset-chat {
    background: none;
    border: none;
    color: var(--text-slate);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}
.page-agendar #reset-chat:hover {
    background: #f1f5f9;
    color: var(--primary);
}
.page-agendar .chat-messages-area::-webkit-scrollbar {
    width: 6px;
}
.page-agendar .chat-messages-area::-webkit-scrollbar-track {
    background: transparent;
}
.page-agendar .chat-messages-area::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}
.page-agendar .typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 20px;
    background: #f1f5f9;
    border-radius: 20px;
    width: fit-content;
    border-bottom-left-radius: 4px;
}
.page-agendar .typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-slate);
    border-radius: 50%;
    opacity: 0.4;
    animation: typing 1.4s infinite;
}
.page-agendar .typing-dot:nth-child(2) { animation-delay: 0.2s; }
.page-agendar .typing-dot:nth-child(3) { animation-delay: 0.4s; }
.page-agendar .chat-buttons-container {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    padding: 0 4px;
    animation: fadeIn 0.5s ease;
}
.page-agendar .chat-choice-btn {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 20px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.page-agendar .chat-choice-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(246, 144, 0, 0.2);
}
.page-agendar .chat-choice-btn.secondary {
    border-color: #e2e8f0;
    color: var(--text-slate);
}
.page-agendar .chat-choice-btn.secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

@media (max-width: 992px) {
    .page-agendar .chat-page-section {
        padding: 20px 10px !important;
        height: auto;
        min-height: auto;
    }
    .page-agendar .main-layout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 0;
    }

    .page-agendar .chat-container-wrapper {
        height: 80vh;
        max-height: 80vh;
        width: 100%;
        max-width: 100%;
        border-radius: 30px;
    }
    
    .page-agendar .contact-sidebar {
        display: none !important;
    }
    .page-agendar .chat-messages-area {
        padding: 20px;
    }
}

/* Tailwind UI Pages specific rules */
.page-nosotros .main-header,
.page-contacto .main-header,
.page-blog .main-header,
.page-blog_post .main-header,
.page-agendar .main-header,
.page-paragatos .main-header { 
    position: sticky !important; 
}

.page-nosotros main,
.page-contacto main,
.page-blog main,
.page-blog_post main,
.page-agendar main,
.page-paragatos main { 
    padding-top: 0 !important; 
    max-width: none !important;
    margin: 0 !important;
}

.page-nosotros .material-symbols-outlined,
.page-contacto .material-symbols-outlined,
.page-blog .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* paragatos.php */
.page-paragatos .glass-effect {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.8);
}
.dark.page-paragatos .glass-effect {
    background-color: rgba(15, 23, 42, 0.8);
}
.page-paragatos .cat-bg {
    background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuB6yYc33bhrDWYcwq5IaPnajojJSFRdRSlF6RBWhuAcqWG_P0M8bfz1OwOr_3TK1xakNlFHwci7_KR95V7jsl9bW5jqRKqf0F5wySNZI1qFIK5gkgjb-8Op_7CzzofdtT1p-Xk8A79erTPC-11geGkjHW_o-u3xlUOqaU8aJThqavEEhS6OUi40rjWnVOxMFn4-5c3VPRFwPmoht-Iw1pTvvqq4NXjjMzSDdg2K0JG5dkySvTFD78j05Jv4DPsxDdc2gaAxuQP1V6_G');
    background-size: cover;
    background-position: center;
}

/* blog.php */
.page-blog .no-scrollbar::-webkit-scrollbar { display: none; }
.page-blog .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* blog_post.php */
.page-blog_post .post-content h2 { font-size: 1.875rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; color: #181510; }
.page-blog_post .post-content h3 { font-size: 1.5rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.75rem; color: #181510; }
.page-blog_post .post-content p { margin-bottom: 1.25rem; }
.page-blog_post .post-content ul { list-style-type: disc; margin-left: 1.5rem; margin-bottom: 1.25rem; }
.page-blog_post .post-content ol { list-style-type: decimal; margin-left: 1.5rem; margin-bottom: 1.25rem; }
.page-blog_post .post-content img { border-radius: 1rem; margin: 2rem 0; width: 100%; }

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 16px;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 4px solid #0f172a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.modal-close:hover {
    transform: scale(1.1) rotate(90deg);
}

.promo-card {
    cursor: pointer;
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    transition: var(--transition);
}

.dark .glass-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: #f8fafc;
}

.testimonial-card {
    padding: 40px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
}

.author-info h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--text-slate);
}


/* ==========================================
   SERVICIOS PAGE - SQUARE CARDS + ROW PANELS
   ========================================== */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

/* --- Square Service Cards --- */
.svc-square-card {
    aspect-ratio: 1 / 1;
    background: var(--white);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.svc-square-card.secondary {
    background: linear-gradient(145deg, #f0fdf9 0%, #fff 100%);
}
.svc-square-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.svc-square-card.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(246,144,0,0.15), 0 20px 50px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.svc-square-card.active.secondary {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(22,163,149,0.15), 0 20px 50px rgba(0,0,0,0.1);
}

/* Background symbol (decorative, huge) */
.svc-sq-bg, .svc-sq-bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9rem;
    width: 280px;
    height: 280px;
    object-fit: contain;
    color: var(--primary);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.svc-square-card.secondary .svc-sq-bg {
    color: var(--secondary);
}
.svc-square-card:hover .svc-sq-bg,
.svc-square-card.active .svc-sq-bg,
.svc-square-card:hover .svc-sq-bg-img,
.svc-square-card.active .svc-sq-bg-img {
    opacity: 0.22;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Hover overlay */
.svc-sq-overlay {
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
    border-radius: 24px;
}
.svc-sq-overlay.secondary {
    background: var(--secondary);
}
.svc-square-card:hover .svc-sq-overlay {
    opacity: 0.92;
}

/* Inner content of square card */
.svc-sq-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    gap: 10px;
}
.svc-sq-icon {
    font-size: 3rem;
    color: var(--primary);
    transition: color 0.3s ease, transform 0.3s ease;
}
.svc-square-card.secondary .svc-sq-icon {
    color: var(--secondary);
}
.svc-square-card:hover .svc-sq-icon {
    color: white;
    transform: scale(1.15);
}
.svc-sq-inner h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}
.svc-square-card:hover .svc-sq-inner h3 {
    color: white;
}
.svc-sq-inner p {
    font-size: 1rem;
    color: var(--text-slate);
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.svc-square-card:hover .svc-sq-inner p {
    color: rgba(255,255,255,0.85);
}

/* --- Row Expandable Panel --- */
.svc-row-panel {
    grid-column: 1 / -1;
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(0,0,0,0.07);
    overflow: hidden;
    /* Use grid rows trick for smooth animation */
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease,
                margin 0.5s ease;
    margin-top: -20px; /* collapse gap while closed */
    pointer-events: none;
    opacity: 0;
}
.svc-row-panel.open {
    grid-template-rows: 1fr;
    margin-top: 0;
    pointer-events: auto;
    opacity: 1;
}

/* Inner wrapper needed for grid-rows animation */
.svc-row-panel > * {
    overflow: hidden;
    min-height: 0;
}

/* Each detail block inside the panel (one per card) */
.svc-detail {
    display: none;
}
.svc-detail.active {
    display: block;
    animation: fadeIn 0.35s ease 0.2s both;
}

/* Detail header */
.svc-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 35px 40px 25px;
    border-bottom: 1px solid var(--border-light);
}
/* Only icons inside svc-detail-header get accent color */
.svc-detail-header > .material-symbols-rounded {
    font-size: 3rem;
    color: var(--accent, var(--primary));
    flex-shrink: 0;
}
.svc-detail-header h4 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 6px 0;
    letter-spacing: -0.4px;
}
.svc-detail-lead {
    font-size: 1rem;
    color: var(--text-slate);
    margin: 0;
    line-height: 1.5;
}

/* Two-column body */
.svc-detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
}
.svc-detail-text {
    padding: 35px 40px;
    border-right: 1px solid var(--border-light);
}
.svc-detail-text p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-slate);
    margin-bottom: 20px;
}
.svc-detail-text strong {
    color: var(--text-dark);
}
.svc-detail-list {
    padding: 35px 40px;
    background: var(--accent-light, rgba(246,144,0,0.03));
}
.svc-list-title {
    font-weight: 800 !important;
    color: var(--accent, var(--primary)) !important;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px !important;
}
.svc-detail-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.svc-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}
.svc-detail-list li::before {
    content: "task_alt";
    font-family: 'Material Symbols Rounded';
    color: var(--accent, var(--primary));
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Photo placeholder */
.svc-photo-placeholder {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    border: 2px dashed var(--border-light);
    border-radius: 14px;
    padding: 20px 25px;
}
.svc-photo-placeholder .material-symbols-rounded {
    font-size: 2.2rem;
    color: var(--text-slate);
    flex-shrink: 0;
}
.svc-photo-placeholder p {
    margin: 0;
    font-weight: 600;
    color: var(--text-slate);
    font-size: 0.88rem !important;
}

/* Close button */
.svc-panel-close {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    border-top: 1px solid var(--border-light);
    width: 100%;
    padding: 18px 40px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-slate);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    font-family: inherit;
}
.svc-panel-close:hover {
    color: var(--primary);
    background: rgba(246,144,0,0.04);
}

/* Responsive */
@media (max-width: 992px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .svc-detail-body { grid-template-columns: 1fr; }
    .svc-detail-text { border-right: none; border-bottom: 1px solid var(--border-light); padding: 25px; }
    .svc-detail-list { padding: 25px; }
    .svc-detail-header { padding: 25px; }
    .svc-panel-close { padding: 15px 25px; }
}
@media (max-width: 600px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    .svc-sq-inner h3 { font-size: 1rem; }
    .svc-sq-icon { font-size: 2.2rem; }
    .svc-detail-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .svc-detail-header h4 { font-size: 1.3rem; }
    
    /* Promo grid specific fixes for 2-column mobile layout */
    .promo-grid .glass-card > div { 
        flex-direction: column !important; 
        align-items: center !important; 
        text-align: center;
        gap: 10px !important;
    }
    .svc-glass-card-padding { padding: 15px !important; }
}

/* Services Grid Enhancements */
/* Services Grid Enhancements */


.service-card-new {
    padding: 40px;
    height: 320px;
    background: var(--white);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    /* border: 1px solid var(--border-light); */
    z-index: 1;
    cursor: default;
}

.service-card-new .bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11rem;
    color: var(--primary);
    opacity: 0.3;
    z-index: -1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-new.secondary .bg-icon {
    color: var(--secondary);
}

.service-card-new .overlay {
    position: absolute;
    inset: 0;
    background: var(--primary-hover);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease;
}

.service-card-new.secondary .overlay {
    background: var(--secondary-hover);
}

.service-card-new:hover .overlay {
    opacity: 0.95;
}

.service-card-new:hover .bg-icon {
    color: white;
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.1);
}

.service-card-new .content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-new h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    transform: translateY(100px);
    line-height: 1.2;
    margin: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-new:hover h3 {
    color: white;
    text-align: left;
    transform: translateY(0);
    margin-bottom: 20px;
}

.service-card-new .hover-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-new:hover .hover-content {
    max-height: 250px;
    opacity: 1;
}

.service-card-new p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-new .service-link {
    color: white;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: gap 0.3s ease;
}

.service-card-new:hover .service-link {
    gap: 10px;
}

/* WhatsApp Button */
/* WhatsApp Button */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 10000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-whatsapp:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background-color: #20bd5a;
}

.float-whatsapp svg {
    width: 35px;
    height: 35px;
}

/* Service Card with Background Icon */
.has-bg-icon {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.has-bg-icon .bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 160px;
    color: var(--primary);
    opacity: 0.15;
    z-index: -1;
    transform: rotate(-15deg);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.has-bg-icon:hover .bg-icon {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.25;
}

.has-bg-icon .content-wrapper {
    position: relative;
    z-index: 2;
}

/* =========================================================================
   NUEVOS ESTILOS: BENTO BOX SERVICIOS Y CARRUSEL VALORACIONES
   ========================================================================= */

/* --- SERVICIOS LIST-BOX --- */
.bento-services-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.bento-card {
    border-radius: 24px;
    padding: 25px 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    cursor: pointer;
}
.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.bento-large {
    grid-column: span 2;
}
.bento-white { background: #ffffff; color: var(--text-dark); border: 1px solid var(--border-light); }
.bento-cyan { background: #e0f2f1; color: var(--text-dark); }
.bento-orange { background: var(--primary); color: white; }
.bento-blue { background: #e3f2fd; color: var(--text-dark); }

.bento-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%);
    margin-bottom: 0px;
}
.bento-orange .bento-icon { filter: brightness(0) saturate(100%) invert(1); }

.bento-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0px;
    line-height: 1.2;
    z-index: 2;
    min-width: 200px;
}
.bento-desc {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 0px;
    z-index: 2;
    flex-grow: 1;
}
.bento-link {
    margin-left: auto;
    font-size: 0.85rem;
    white-space: nowrap;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.bento-white .bento-link { color: var(--primary); }
.bento-cyan .bento-link { color: var(--secondary); }
.bento-orange .bento-link { color: white; }
.bento-blue .bento-link { color: #1e40af; }

.bento-bg-icon {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 150px;
    height: 150px;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}
.bento-large .bento-bg-icon {
    width: 150px;
    height: 150px;
}

/* --- ESTILOS EXPANDIDOS SERVICIOS --- */
.bento-card.expanded {
    grid-column: 1 / -1 !important; /* Forces the block to take all columns natively */
    cursor: default;
}
.bento-expanded-content {
    display: none;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    animation: fadeIn 0.4s ease;
}
.bento-orange .bento-expanded-content {
    border-top: 1px dashed rgba(255,255,255,0.3);
}
.bento-card.expanded .bento-expanded-content {
    display: block;
}
.bento-card.expanded .bento-desc {
    display: none;
}
.bento-card.expanded .bento-link {
    display: none !important;
}
.bento-expanded-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 500;
}
.bento-expanded-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.bento-expanded-content li {
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.bento-expanded-content li::before {
    content: "task_alt";
    font-family: 'Material Symbols Rounded';
    color: var(--primary);
    font-size: 1.3rem;
}
.bento-orange .bento-expanded-content li::before {
    color: white;
}
.bento-expanded-content h4 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.bento-close-btn {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-slate);
    cursor: pointer;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.bento-orange .bento-close-btn {
    color: rgba(255,255,255,0.8);
    border-top: 1px solid rgba(255,255,255,0.2);
}
.bento-card.expanded .bento-close-btn {
    display: flex;
}
.bento-close-btn:hover {
    color: var(--primary);
}
.bento-orange .bento-close-btn:hover {
    color: white;
}

@media (max-width: 992px) {
    .bento-large { grid-column: span 1; }
}
@media (max-width: 768px) {
    .bento-services-grid { gap: 16px; }
    .bento-card { 
        padding: 25px; 
        flex-direction: column; 
        align-items: flex-start;
        gap: 15px; 
    }
    .bento-title { font-size: 1.2rem; margin-bottom: 0px; min-width: 0; }
    .bento-desc { font-size: 0.9rem; }
    .bento-link { margin-left: 0; margin-top: 10px; font-size: 0.8rem; }
    .bento-icon { width: 35px; height: 35px; }
    .bento-bg-icon { width: 100px !important; height: 100px !important; bottom: -5px !important; right: -5px !important; }
}

/* --- VALORACIONES CARRUSEL --- */
.reviews-section {
    overflow: hidden;
}
.reviews-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}
.google-summary-card {
    flex: 0 0 280px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-light);
}
.google-summary-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.reviews-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}
.carousel-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-light);
}
.carousel-card:hover {
    transform: translateY(-5px);
}
.carousel-card.bg-primary-themed {
    background: var(--primary);
    color: white;
}
.carousel-card.bg-primary-themed .testimonial-text { color: white; }
.carousel-card.bg-primary-themed .author-name { color: white; }
.carousel-card.bg-primary-themed .author-date { color: rgba(255,255,255,0.8); }

.carousel-arrow {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 55px; 
    height: 55px; 
    border-radius: 50%; 
    background: white; 
    border: 1px solid var(--border-light); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    z-index: 10; 
    color: var(--primary);
    transition: all 0.3s ease;
}
.carousel-arrow:hover { 
    background: var(--primary); 
    color: white; 
    transform: translateY(-50%) scale(1.1); 
    box-shadow: 0 15px 35px rgba(246, 144, 0, 0.3); 
}

@media (max-width: 992px) { 
    .reviews-layout { flex-direction: column; }
    .google-summary-card { flex-basis: auto; max-width: 100%; margin: 0 auto; margin-bottom: 30px; }
    .reviews-grid-2x2 { grid-template-columns: 1fr; }
}

/* --- Service Photo Slider --- */
.svc-slider-container {
    position: relative;
    width: 100%;
    margin-top: 25px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #f8fafc;
    aspect-ratio: 16 / 10;
}

.svc-slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.svc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.svc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.svc-dot.active {
    background: white;
    width: 20px;
    border-radius: 4px;
}

.svc-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    z-index: 11;
}

.svc-slider-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
    font-family: "Material Symbols Rounded" !important;
}

.svc-slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .svc-slider-container {
        aspect-ratio: 4 / 3;
    }
}



/* --- Agendar Chat Background --- */
.chat-page-section {
    background-image: radial-gradient(circle at 2px 2px, rgba(246, 144, 0, 0.05) 1px, transparent 0);
    background-size: 32px 32px;
    background-color: #f8fafc;
}

.bot-message .message-content {
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.user-message .message-content {
    box-shadow: 0 4px 15px rgba(246, 144, 0, 0.2);
}

/* ==========================================
   GALLERY SECTION (NOSOTROS) - PHOTO CARD STYLE
   ========================================== */
.gallery-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-folder-card {
    position: relative;
    height: 350px;
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-folder-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.folder-image-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.folder-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-folder-card:hover .folder-image-wrap img {
    transform: scale(1.1);
}

.folder-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.2) 60%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    transition: background 0.4s ease;
}

.gallery-folder-card:hover .folder-overlay {
    background: linear-gradient(to top, rgba(246,144,0,0.8) 0%, rgba(246,144,0,0.2) 60%, transparent 100%);
}

.folder-info {
    position: relative;
    z-index: 3;
    color: white;
}

.folder-info h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.folder-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.folder-count {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}
/* Lightbox Styles */
#gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

#gallery-lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: var(--primary);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.lightbox-counter {
    margin-top: 20px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 20px; right: 20px; }
}

.gallery-filter-btn { color: #8d795e; }
.gallery-filter-btn.active { background: var(--primary) !important; color: white !important; }

/* ==========================================
   HOME PAGE
   ========================================== */
.hero-section {
    position: relative;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.home-hero-overlay {
    background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.6) 50%, rgba(15,23,42,0.1) 100%);
}

.home-hero-separator {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top right, var(--secondary) 49%, transparent 50%);
    z-index: 2;
}

.home-hero-card-glass {
    padding: 50px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border-radius: 36px;
    max-width: 700px;
}

.home-reviews-section-bg {
    padding: 100px 0;
    width: 100%;
    background-color: #f8fafc;
    background-image: linear-gradient(rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0.95)), url('../img/pattern.svg');
    background-size: 400px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.home-services-bg {
    padding: 100px 0 140px;
    background-color: var(--secondary);
    background-image: linear-gradient(rgba(83, 177, 177, 0.92), rgba(83, 177, 177, 0.92)), url('../img/pattern.svg');
    background-size: 400px;
    border-top: none;
    margin-top: -1px; /* Seamless connection with hero separator */
}

.home-contact-section-bg {
    padding: 100px 0;
    background-color: rgba(246, 144, 0, 0.08);
}

.home-catfriendly-bg {
    background-color: #fff7ed;
    background-image: linear-gradient(rgba(255, 247, 237, 0.93), rgba(255, 247, 237, 0.93)), url('../img/pattern.svg');
    background-size: 400px;
}

.home-google-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: stretch;
}

.contact-info-box {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.contact-image-wrap {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    height: 100%;
}

.contact-link-card {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 25px;
    background: #f8fafc;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    width: 100%;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
}

.contact-link-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.schedule-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.schedule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.svc-page-content { padding-top: 120px; }
.svc-header-margin { margin-bottom: 60px; }
.svc-text-accent { color: var(--primary); }
.svc-detail-header-accent { border-left: 4px solid var(--primary); padding-left: 15px; font-weight: 800; }
.svc-btn-inline { margin-top:20px; display:inline-flex; align-items:center; gap:8px; }
.svc-recommendations-section { padding: 100px 0; background: #fff7ed;}
.svc-glass-card-padding { padding: 30px; }

/* --- Home Page --- */
.home-hero-overlay { background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.6) 50%, rgba(15,23,42,0.1) 100%); }
.home-hero-separator { position: absolute; bottom: -2px; left: 0; width: 100%; height: 80px; background: linear-gradient(to top right, var(--secondary) 49%, transparent 50%); z-index: 2; }
.home-hero-card-glass { padding: 50px; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(15px); border-radius: 36px; }
.home-reviews-section-bg { padding: 80px 0; background-color: #f8fafc; background-image: linear-gradient(rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0.95)), url('../img/pattern.svg'); background-size: 400px; border-top: 1px solid var(--border-light); }
.home-google-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.home-contact-section-bg { padding: 100px 0; background-color: rgba(246, 144, 0, 0.08); }
.home-catfriendly-bg { background-color: #fff7ed; background-image: linear-gradient(rgba(255, 247, 237, 0.93), rgba(255, 247, 237, 0.93)), url('../img/pattern.svg'); background-size: 400px; }


/* ========================================== 
   GLOBAL PREMIUM UI SYSTEM (Home-Inspired)
   ========================================== */

/* --- Standard Page Hero --- */
.page-hero-premium {
    position: relative;
    padding: 140px 0 80px;
    background: var(--secondary);
    color: white;
    overflow: hidden;
}
.page-hero-premium .hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url("../img/pattern.svg");
    background-size: 400px;
    opacity: 0.1;
    z-index: 1;
}
.page-hero-premium .container {
    position: relative;
    z-index: 2;
}
.page-hero-premium-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.page-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}
.page-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Section Utilities --- */
.section-premium-padding { padding: 100px 0; }
.bg-pattern-light { 
    background-color: #f8fafc; 
    background-image: linear-gradient(rgba(248, 250, 252, 0.96), rgba(248, 250, 252, 0.96)), url('../img/pattern.svg'); 
    background-size: 400px; 
}
.bg-pattern-orange { 
    background-color: #fff7ed; 
    background-image: linear-gradient(rgba(255, 247, 237, 0.94), rgba(255, 247, 237, 0.94)), url('../img/pattern.svg'); 
    background-size: 400px; 
}

/* --- Card Utilities --- */
.card-premium {
    background: white;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

/* --- Common Utilities --- */
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.d-block { display: block; }
.flex-col { display: flex; flex-direction: column; }
.items-center { display: flex; align-items: center; }
.justify-center { display: flex; justify-content: center; }
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.font-black { font-weight: 900 !important; }

/* Global Icons Fix */
.material-symbols-rounded, 
.material-symbols-outlined {
    font-family: 'Material Symbols Rounded' !important;
    display: inline-block;
}

/* Grid Utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

[class*="lg:grid-cols-"],
[class*="lg:col-span-"] {
    display: block; /* Fallback */
}

@media (min-width: 1024px) {
    .grid { display: grid; }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-8 { grid-column: span 8 / span 8; display: block; }
    .lg\:col-span-4 { grid-column: span 4 / span 4; display: block; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }

/* ==========================================
   SERVICIOS PAGE
   ========================================== */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.svc-square-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.svc-square-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.svc-square-card.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(246, 144, 0, 0.15);
}

.svc-sq-bg-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    object-fit: contain;
    opacity: 0.06;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.svc-square-card:hover .svc-sq-bg-img {
    opacity: 0.1;
}

.svc-sq-overlay {
    display: none;
}

.svc-sq-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.svc-sq-icon {
    font-size: 3.5rem !important;
    color: var(--primary) !important;
    margin-bottom: 20px;
    transition: none !important;
}

.svc-square-card.secondary .svc-sq-icon {
    color: var(--secondary) !important;
}

.svc-square-card:hover .svc-sq-icon,
.svc-square-card.active .svc-sq-icon {
    color: var(--primary) !important;
}

.svc-square-card.secondary:hover .svc-sq-icon,
.svc-square-card.secondary.active .svc-sq-icon {
    color: var(--secondary) !important;
}

.svc-sq-inner h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.svc-sq-inner p {
    font-size: 0.95rem;
    color: var(--text-slate);
    opacity: 0.8;
    transition: color 0.3s ease;
}

.svc-square-card:hover .svc-sq-inner h3 {
    color: var(--text-dark);
}

.svc-square-card:hover .svc-sq-inner p {
    color: var(--text-slate);
}

/* --- Detail Panel Styling --- */
.svc-row-panel {
    grid-column: 1 / -1;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), margin 0.5s ease;
    opacity: 0;
}

.svc-row-panel.open {
    max-height: 2500px;
    opacity: 1;
    margin-bottom: 40px;
    margin-top: 10px;
    background: white;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    padding: 40px;
}

.svc-detail {
    display: none;
}

.svc-detail.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.svc-detail-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
}

.svc-detail-header span {
    width: 80px;
    height: 80px;
    background: var(--accent-light, #fff7ed);
    color: var(--accent, var(--primary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem !important;
    flex-shrink: 0;
}

.svc-detail-header h4 {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: var(--text-dark);
    margin-bottom: 5px !important;
}

.svc-detail-lead {
    font-size: 1.1rem;
    color: var(--text-slate);
    font-weight: 500;
}

.svc-detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.svc-detail-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-slate);
    margin-bottom: 20px;
}

.svc-detail-text strong {
    color: var(--text-dark);
    font-weight: 800;
}

.svc-detail-list {
    background: var(--accent-light, #f8fafc);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.03);
}

.svc-list-title {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.svc-detail-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.svc-detail-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.svc-detail-list li::before {
    content: "check_circle";
    font-family: 'Material Symbols Rounded';
    color: var(--accent, var(--primary));
    font-size: 1.3rem;
}

.svc-panel-close {
    width: 100%;
    margin-top: 40px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-weight: 800;
    color: var(--text-slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.svc-panel-close:hover {
    background: #f1f5f9;
    color: var(--text-dark);
}

/* Responsividad Servicios */
@media (max-width: 1024px) {
    .svc-detail-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .svc-detail-header h4 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 600px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
    .svc-row-panel {
        padding: 25px;
    }
    .svc-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }
}

/* ========================================== 
   BLOG SECTION STYLES 
   ========================================== */

/* --- Blog Hero --- */
.blog-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #3d8f8f 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    color: white;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("../img/pattern.svg");
    background-size: 400px;
    opacity: 0.1;
    z-index: 1;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* --- Filter & Search Bar --- */
.blog-filter-bar {
    background: white;
    padding: 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.blog-categories-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.blog-categories-scroll::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: var(--text-slate);
}

.cat-btn:hover {
    background: rgba(246, 144, 0, 0.1);
    color: var(--primary);
}

.cat-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(246, 144, 0, 0.3);
}

.blog-search-form {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.blog-search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border-radius: 99px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.blog-search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(246, 144, 0, 0.1);
}

.blog-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-slate);
    font-size: 20px !important;
    font-family: 'Material Symbols Rounded' !important;
    pointer-events: none;
    line-height: 1;
}

/* --- Featured Article --- */
.featured-article {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 60px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featured-article:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.07);
}

.featured-image-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-article:hover .featured-image-wrapper img {
    transform: scale(1.05);
}

.featured-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.meta-category {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(246, 144, 0, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
}

.meta-date {
    font-size: 0.85rem;
    color: var(--text-slate);
}

.featured-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.featured-excerpt {
    color: var(--text-slate);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* --- Article Grid --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.article-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: rgba(246, 144, 0, 0.2);
}

.article-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-thumb img {
    transform: scale(1.08);
}

.article-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.3;
}

.article-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-slate);
    margin-bottom: 25px;
    line-height: 1.6;
}

.read-more-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-link span {
    transition: transform 0.3s ease;
}

.read-more-link:hover span {
    transform: translateX(5px);
}

/* --- Sidebar Widgets --- */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-widget {
    background: white;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.sidebar-newsletter {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 40px 30px;
}

.sidebar-newsletter .widget-title {
    color: white;
    font-size: 1.4rem;
    line-height: 1.2;
}

.sidebar-newsletter .widget-title::after {
    background: white;
}

.sidebar-newsletter p {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.newsletter-form input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 15px;
    border: none;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.newsletter-form .btn-submit {
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    border: none;
    background: #1e293b;
    color: white;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-form .btn-submit:hover {
    background: black;
    transform: translateY(-2px);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.category-item:hover {
    background: rgba(246, 144, 0, 0.1);
    color: var(--primary);
    transform: translateX(5px);
}

.category-count {
    font-size: 0.8rem;
    color: var(--text-slate);
    background: white;
    padding: 2px 8px;
    border-radius: 6px;
}

/* --- Post Pagination --- */
.blog-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.btn-load-more {
    padding: 15px 40px;
    border-radius: 99px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(246, 144, 0, 0.3);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .featured-article {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .blog-search-form {
        max-width: none;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .featured-title {
        font-size: 1.8rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   TEAM SECTION (NOSOTROS)
   ========================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 40px 30px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
    text-align: center;
}

.team-member-card:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
}

.team-member-photo-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.team-member-photo {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: visible;
}

.team-member-card:hover .team-member-photo {
    /* Removed scale effect */
}


.team-member-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

.team-member-info {
    width: 100%;
}

.team-member-cargo {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1.5px;
    display: inline-block;
    background: rgba(246,144,0,0.06);
    padding: 6px 16px;
    border-radius: 12px;
    border: 1px solid rgba(246,144,0,0.1);
}

.team-member-name {
    margin: 10px 0;
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.team-member-quote {
    font-style: italic;
    color: var(--text-slate);
    font-size: 1rem;
    line-height: 1.5;
    margin: 15px 0;
    opacity: 0.8;
    font-weight: 500;
}

.team-member-bio {
    color: var(--text-slate);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.7;
    font-weight: 400;
    max-width: 250px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .team-member-card {
        padding: 30px 20px;
    }
    .team-member-photo-wrapper {
        height: 220px;
    }
}

/* ==========================================
   AGENDAR PAGE & ASISTENTE
   ========================================== */
.agendar-help-card { max-width: 600px; width: 100%; margin: 0 auto; }
.agendar-help-bubble { background: rgba(22, 163, 149, 0.1); border: 1px solid rgba(83, 177, 177, 0.3); margin-bottom: 8px; padding: 10px 16px; width: 100%; border-radius: 12px; }
.agendar-help-title { font-size: 1.1rem; font-weight: 900; color: var(--text-dark); margin: 0 0 3px 0; line-height: 1.2; }
.agendar-help-desc { font-size: 0.92rem; color: var(--text-dark); line-height: 1.25; margin: 0 0 8px 0; opacity: 0.9; }
.agendar-help-footer { display: flex; gap: 6px; align-items: center; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 6px; }
.agendar-help-icon { color: var(--secondary); font-size: 18px !important; flex-shrink: 0; }
.agendar-help-footer-text { font-size: 0.8rem !important; color: var(--text-dark) !important; line-height: 1.2 !important; margin: 0 !important; }
.agendar-buttons-wrapper { margin: 0 auto 10px auto; display: flex; justify-content: center; width: 600px; max-width: 100%; }
.agendar-message-time-centered { text-align: center; margin-bottom: 20px; color: var(--text-slate); font-size: 0.85rem; }

.contact-sidebar {
    background: white;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.contact-sidebar-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-sidebar-icon-box {
    width: 45px;
    height: 45px;
    background: rgba(246, 144, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-sidebar-label {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-sidebar-value {
    color: var(--text-slate);
    font-size: 0.9rem;
    line-height: 1.5;
}

.map-container {
    width: 100%;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin-top: 30px;
}

/* --- Common Utility Alternatives --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.shrink-0 { flex-shrink: 0; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-2xl { font-size: 1.5rem; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-text-dark { color: var(--text-dark); }
.text-text-light { color: var(--text-slate); }
.w-10 { width: 40px; }
.h-10 { height: 40px; }
.rounded-full { border-radius: 9999px; }
.bg-primary\/10 { background-color: rgba(246, 144, 0, 0.1); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.border { border: 1px solid var(--border-light); }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.w-full { width: 100%; }
.h-64 { height: 256px; }
.rounded-xl { border-radius: 0.75rem; }

