/* --- CSS Variables: Sober & Premium Palette --- */
:root {
    --primary: #1e293b;       /* Deep Slate Blue */
    --primary-light: #334155; 
    --primary-dark: #0f172a;
    --accent: #8b7355;        /* Warm Taupe / Gold-ish sober */
    --accent-hover: #a68c6a;
    --text-main: #334155;     
    --text-light: #64748b;
    --text-white: #f8fafc;
    --bg-white: #ffffff;
    --bg-light: #f1f5f9;      /* Soft Silver */
    --border: #f1f5f9;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--text-white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-text a {
    color: var(--accent);
    font-weight: 500;
}
.top-bar-text a:hover {
    color: var(--text-white);
}

/* --- Header / Navigation --- */
.header {
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 48px;
    height: auto;
    border-radius: 4px; /* Slightly rounded corners */
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu ul {
    display: flex;
    gap: 24px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background-color: var(--bg-light);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../assets/hero_bg.png'); /* The generated architectural photo */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: var(--text-white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.85)); /* Dark Blue gradient overlay */
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 120px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

/* --- Quick Access Cards --- */
.quick-access {
    margin-top: -60px; /* Pull up to overlap hero lightly */
    position: relative;
    z-index: 20;
    margin-bottom: 80px;
}

.row-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--accent);
    transition: all var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

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

/* --- Info Section --- */
.info-section {
    padding: 80px 0;
}

.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.info-text h2 {
    font-size: 2.25rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.separator {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin-bottom: 24px;
    border-radius: 2px;
}

.info-text p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.info-block {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.doc-list li {
    margin-bottom: 16px;
}

.doc-list a {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: var(--bg-light);
    border-radius: 8px;
    font-weight: 500;
    transition: all var(--transition);
}

.doc-list a:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateX(8px);
}

.doc-icon {
    margin-right: 12px;
    font-size: 1.25rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding-top: 64px;
}

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

.brand-col .footer-logo {
    width: 60px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.brand-col p {
    color: var(--text-white);
    font-weight: 500;
    font-size: 1.1rem;
}

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

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

.footer-col a:hover {
    color: var(--accent);
}

.footer-link {
    color: var(--text-white);
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
}

.footer-bottom {
    background-color: #0b1121;
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
}

/* --- Animations --- */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.dissolve-in {
    opacity: 0;
    transition: opacity 1.2s ease-in;
}

.dissolve-in.visible {
    opacity: 1;
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .info-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-md);
        padding: 24px;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .nav-menu a {
        display: block;
        padding: 12px;
        background-color: var(--bg-light);
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .top-bar-text:last-child {
        display: none; /* Hide hours on mobile to save space */
    }
}

/* --- Internal Pages Shared Styles --- */
.page-header {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.page-content {
    padding: 60px 0;
    min-height: 50vh;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23334155%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 16px top 50%;
    background-size: 12px auto;
}

/* Cartelera (News Board) */
.news-article {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    border-left: 4px solid var(--accent);
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
    display: inline-block;
}

.news-article h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.synerit-announcement {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
    background: #0f172a; /* Dark brand bg for SynerIT embedded content */
    padding: 30px;
    border-radius: 8px;
    color: white;
}

.synerit-logo-container {
    flex: 1;
    min-width: 250px;
}

/* Clasificados Grid */
.classifieds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.classified-item {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.classified-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.classified-img {
    height: 180px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.classified-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.classified-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.classified-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.classified-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
    flex: 1;
}

.classified-contact {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
}
