:root {
    /* ================================================================= */
    /* CATALOG CUSTOMIZATION: Real Estate Automation (Buenos Aires Luxury) */
    /* ================================================================= */
    /* Theme: Deep Navy & Luxury Gold */
    --theme-color-primary: #1E3A8A;      /* Deep Navy Blue */
    --theme-color-secondary: #D97706;    /* Premium Gold/Amber */
    
    /* Hero Image Path */
    --theme-hero-image: url('../assets/images/realestate-ba-hero.webp');
    
    /* RGB Values for transparencies */
    --theme-color-primary-rgb: 30, 58, 138;
    --theme-color-secondary-rgb: 217, 119, 6;
    
    /* Global variables */
    --color-dark-text: #1E293B;
    --font-primary: 'Poppins', sans-serif;
}

/* ================================================================= */
/* CORE STYLES (DO NOT EDIT BELOW THIS LINE) */
/* ================================================================= */

body { 
    font-family: var(--font-primary);
    color: var(--color-dark-text); 
    background-color: #f9fafb;
}

.guia-link-banner {
    padding: 1.25rem 1rem;
    text-align: center;
    background-color: rgba(var(--theme-color-primary-rgb), 0.05);
    border-bottom: 1px solid rgba(var(--theme-color-primary-rgb), 0.1);
}
.guia-link-banner p { color: var(--color-dark-text); margin: 0; font-size: 1rem; line-height: 1.6; }
.guia-link-banner strong { font-weight: 600; }
.guia-link-banner a.guia-link { color: var(--theme-color-primary); font-weight: 700; text-decoration: none; border-radius: 6px; padding: 0.25rem 0.5rem; margin-left: 0.5rem; transition: all 0.2s ease-in-out; white-space: nowrap; }
.guia-link-banner a.guia-link:hover { background-color: rgba(var(--theme-color-primary-rgb), 0.1); }

.hero-section { 
    background-image: linear-gradient(180deg, rgba(var(--theme-color-secondary-rgb), 0.85), rgba(var(--theme-color-primary-rgb), 0.85)), var(--theme-hero-image); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed;
}
.hero-button { display: inline-block; font-weight: bold; padding: 0.75rem 2rem; border-radius: 9999px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: all 0.2s ease-in-out; background-color: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.4); color: white; text-decoration: none; }
.hero-button:hover { background-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }

.logo-hover { display: block; margin: 0 auto; transition: all 0.3s ease; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)); }
.logo-hover:hover { transform: scale(1.1); filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3)); }
.section-title { background: linear-gradient(130deg, var(--theme-color-primary) 0%, var(--theme-color-secondary) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 5px; font-family: var(--font-primary); }

.tools-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.tool-card { background: white; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; border: 1px solid #e2e8f0; padding: 24px; display: flex; flex-direction: column; font-family: var(--font-primary); }
.tool-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(var(--theme-color-primary-rgb), 0.15); border-color: var(--theme-color-primary); }
.card-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.card-logo-container { width: 60px; height: 60px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background-color: #f8f9fa; border-radius: 12px; padding: 5px; }
.card-logo { max-width: 100%; max-height: 100%; object-fit: contain; }
.card-title-group { flex-grow: 1; }
.card-title { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-top: 4px; font-family: var(--font-primary); }
.card-slogan { font-size: 0.9rem; color: #64748B; margin-top: 4px; font-family: var(--font-primary); }
.card-body { flex-grow: 1; margin-bottom: 16px; }
.card-description { font-size: 0.95rem; color: #475569; font-family: var(--font-primary); }
.card-footer { border-top: 1px solid #e2e8f0; padding-top: 16px; }
.card-tags { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background-color: rgba(var(--theme-color-primary-rgb), 0.1); color: var(--theme-color-primary); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 500; font-family: var(--font-primary); }
.card-actions { display: flex; justify-content: space-between; align-items: center; }
.card-details-link { font-weight: 600; color: var(--color-dark-text); text-decoration: none; transition: color 0.2s ease; font-size: 0.9rem; font-family: var(--font-primary); }
.card-details-link:hover { color: var(--theme-color-primary); text-decoration: underline; }
.card-cta-button, .theme-gradient-button { background: linear-gradient(130deg, var(--theme-color-primary) 0%, var(--theme-color-secondary) 100%); color: white; font-weight: 600; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(var(--theme-color-primary-rgb), 0.3); font-family: var(--font-primary); }
.card-cta-button { padding: 8px 14px; font-size: 0.9rem; border-radius: 8px; text-align: center; }
.card-cta-button:hover, .theme-gradient-button:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(var(--theme-color-primary-rgb), 0.4); }

.modal { display: none; }
.modal-content-dark { background-color: #1a1a1a; color: #e0e0e0; border: 1px solid rgba(255, 255, 255, 0.1); font-family: 'Poppins', sans-serif; max-height: 90vh; overflow-y: auto; }
.modal-header-dark { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: sticky; top: 0; background-color: #1a1a1a; z-index: 10; }
.modal-header-dark h3 { font-size: 1.75rem; font-weight: 700; }
#closeModalBtnDark { font-size: 2rem; font-weight: 300; color: #a0a0a0; background: none; border: none; cursor: pointer; line-height: 1; transition: color 0.3s ease, transform 0.3s ease; }
#closeModalBtnDark:hover { color: #fff; transform: rotate(90deg); }
.modal-body-dark { padding: 1.5rem; }
.modal-body-dark > p { color: #a0a0a0; line-height: 1.7; margin-bottom: 1.5rem; }
.pros-cons-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .pros-cons-grid { grid-template-columns: 1fr 1fr; } }
.info-box { background-color: #121212; padding: 1.5rem; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); }
.info-box h4 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.25rem; font-weight: 600; margin: 0 0 1rem 0; }
.info-box ul { list-style: none; padding-left: 0; color: #a0a0a0; margin: 0; }
.info-box ul li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; }
.info-box ul li::before { content: '•'; position: absolute; left: 0; }
.pros-box h4, .pros-box .fa-circle-check { color: #10B981; }
.pros-box ul li::before { color: #10B981; }
.contras-box h4, .contras-box .fa-circle-xmark { color: #F87171; }
.contras-box ul li::before { color: #F87171; }
.ideal-for-box { background-color: rgba(var(--theme-color-primary-rgb), 0.1); border: 1px solid var(--theme-color-primary); padding: 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; }
.modal-cta-button { display: flex; justify-content: center; align-items: center; gap: 0.75rem; width: 100%; background-color: var(--theme-color-primary); color: white; font-size: 1rem; font-weight: 700; padding: 0.8rem 1.5rem; border-radius: 50px; text-decoration: none; transition: all 0.3s ease; }
.modal-cta-button:hover { transform: scale(1.02); background-color: var(--theme-color-secondary); box-shadow: 0 4px 20px rgba(var(--theme-color-primary-rgb), 0.25); }

.guide-cta-banner { background-color: rgba(var(--theme-color-primary-rgb), 0.08); border-radius: 15px; padding: 1.8em 2em; margin: 2em auto; text-align: center; max-width: 680px; border: 1px solid rgba(var(--theme-color-primary-rgb), 0.2); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.guide-cta-title { font-size: 1.65rem; font-weight: 700; margin-top: 0; margin-bottom: 0.6em; color: var(--color-dark-text); line-height: 1.2; }
.guide-cta-description { font-size: 1em; line-height: 1.5; max-width: 560px; margin: 0.5em auto 1.2em auto; color: #475569; }
.guide-cta-button { background-image: linear-gradient(135deg, var(--theme-color-primary) 0%, var(--theme-color-secondary) 100%); border-radius: 12px; color: #ffffff; font-weight: 700; font-size: 1.05rem; padding: 0.7em 2em; text-decoration: none; display: inline-block; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(var(--theme-color-primary-rgb), 0.4); }
.guide-cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--theme-color-primary-rgb), 0.5); }

.tumapa-nav {
    background-color: #0E0E10;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Poppins', sans-serif;
}
.tumapa-nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.tumapa-nav-logo a { color: var(--theme-color-primary); transition: color 0.3s ease; }
.tumapa-nav-logo a:hover { color: var(--theme-color-secondary); }
.tumapa-nav-logo a svg { height: 35px; width: auto; display: block; }
.tumapa-hamburger { display: none; background: transparent; border: none; cursor: pointer; z-index: 1010; position: relative; width: 30px; height: 24px; padding: 0; }
.tumapa-hamburger span, .tumapa-hamburger::before, .tumapa-hamburger::after { content: ''; display: block; position: absolute; left: 0; width: 100%; height: 3px; background-color: #ffffff; border-radius: 3px; transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease; }
.tumapa-hamburger::before { top: 0; }
.tumapa-hamburger span { top: 10px; }
.tumapa-hamburger::after { top: 20px; }
.tumapa-hamburger.is-active::before { top: 10px; transform: rotate(45deg); }
.tumapa-hamburger.is-active span { opacity: 0; }
.tumapa-hamburger.is-active::after { top: 10px; transform: rotate(-45deg); }
.tumapa-nav-links { display: flex; gap: 1.5rem; align-items: center; }
.tumapa-nav-links a { color: #ffffff; text-decoration: none; font-weight: 500; font-size: 1rem; transition: color 0.2s ease-in-out; }
.tumapa-nav-links a:hover { color: var(--theme-color-secondary); }

@media (max-width: 768px) {
    .tumapa-hamburger { display: block; }
    .tumapa-nav-links { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(14, 14, 16, 0.98); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; z-index: 1005; }
    .tumapa-nav-links.is-active { display: flex; }
    .tumapa-nav-links a { font-size: 2rem; }
}

.bg-slate-100 { background-color: #f1f5f9; }
.newsletter-input { width: 100%; padding: 0.75rem 1.25rem; border-radius: 0.5rem; border: 2px solid #D1D5DB; transition: all 0.2s ease-in-out; }
.newsletter-input:focus { outline: none; border-color: var(--theme-color-primary); box-shadow: 0 0 0 3px rgba(var(--theme-color-primary-rgb), 0.2); }
.theme-gradient-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--theme-color-primary-rgb), 0.5); }

.bg-slate-800 { background-color: #1e293b; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.border-slate-700 { border-color: #334155; }
.footer-link { color: #94a3b8; transition: color 0.2s ease-in-out; text-decoration: none; }
.footer-link:hover { color: var(--theme-color-primary); }