/* ==========================================================================
   Farishde Estudio de Arquitectura - Custom Styling Extension
   TemplateMo 616 Split Index Adapted for Architectural Studio & Corporate Design
   Recoleta / Palermo Chico & Catalinas CABA
   ========================================================================== */

:root {
    --paper: #F2F0ED;
    --paper-card: #FFFFFF;
    --ink: #1A1A1A;
    --ink-light: #6E6862;
    --accent: #C4553A;
    --accent-hover: #b04930;
    --border: #DCD8D2;
}

/* --------------------------------------------------------------------------
   0. OVERRIDE OVERFLOW HIDDEN (ENABLE NATURAL SCROLLING)
   -------------------------------------------------------------------------- */
body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
    position: relative !important;
    background-color: var(--paper) !important;
    color: var(--ink) !important;
    display: flex !important;
    flex-direction: column !important;
}

main {
    flex-grow: 1;
}

/* --------------------------------------------------------------------------
   1. TOPBAR & CORPORATE HEADER
   -------------------------------------------------------------------------- */
.topbar {
    background: #1A1A1A;
    color: #A39E97;
    font-size: 0.78rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.topbar a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}
.topbar a:hover {
    color: var(--accent);
}
.topbar-badge {
    background: rgba(196, 85, 58, 0.18);
    color: #E89078;
    border: 1px solid rgba(196, 85, 58, 0.35);
    padding: 2px 10px;
    border-radius: 4px;
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   2. WHITE RUNNING TICKER (MANDATORY GOOGLE ADS COMPLIANT)
   -------------------------------------------------------------------------- */
.white-running-ticker {
    background: #ffffff !important;
    color: #1A1A1A !important;
    border-top: 2px solid #C4553A !important;
    border-bottom: 2px solid #C4553A !important;
    overflow: hidden !important;
    padding: 10px 0 !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 99 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

.ticker-track {
    display: inline-block !important;
    white-space: nowrap !important;
    animation: tickerScroll 42s linear infinite !important;
}

.ticker-track:hover {
    animation-play-state: paused !important;
}

.ticker-item {
    display: inline-block !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
    padding: 0 28px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
}

.ticker-badge {
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    margin-right: 8px;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   3. STICKY NAVBAR (NO OVERLAP WITH TICKER)
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: rgba(242, 240, 237, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(26, 26, 26, 0.12) !important;
    padding: 0.9rem 2rem !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
}

.site-header-nav a {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.site-header-nav a:hover,
.site-header-nav a.nav-active {
    color: #FFFFFF !important;
    background: var(--ink) !important;
}

/* --------------------------------------------------------------------------
   4. HERO SECTION WITH EXACT ACA EXTRACTION ARCHITECTURE
   -------------------------------------------------------------------------- */
.hero-content-block {
    padding: 40px clamp(18px, 4vw, 54px) 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-kicker-tag {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: var(--accent);
    padding: 4px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.hero-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1A1A1A;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    max-width: 920px;
}

.hero-motto-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #1A1A1A;
    background: #E5E2DC;
    border: 1px solid #D1CCC4;
    padding: 6px 16px;
    border-radius: 100px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    margin-bottom: 16px;
}
.hero-motto-pill::before {
    content: "■";
    color: var(--accent);
    font-size: 0.7rem;
}

.hero-lead-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555555;
    max-width: 800px;
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   5. ARCHITECTURAL PROJECT CARDS & PORTFOLIO
   -------------------------------------------------------------------------- */
.arch-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.arch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.arch-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.arch-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.arch-card-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}
.arch-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 10px;
}
.arch-card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6E6862;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --------------------------------------------------------------------------
   6. INTERACTIVE CALCULATOR (COTIZADOR DE ARQUITECTURA)
   -------------------------------------------------------------------------- */
.calc-box {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.05);
}
.calc-group {
    margin-bottom: 20px;
}
.calc-label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #1A1A1A;
    margin-bottom: 8px;
}
.calc-select, .calc-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #D1CCC4;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.92rem;
    background: #FAF8F5;
    color: #1A1A1A;
    outline: none;
    transition: border-color 0.2s ease;
}
.calc-select:focus, .calc-input:focus {
    border-color: #1A1A1A;
    background: #FFFFFF;
}
.calc-result {
    background: #1A1A1A;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}
.calc-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #E89078;
    margin: 8px 0;
    font-family: 'DM Mono', monospace;
}

/* --------------------------------------------------------------------------
   7. CORPORATE FOOTER & AFIP DATA FISCAL
   -------------------------------------------------------------------------- */
.site-footer-corporate {
    background: #1A1A1A;
    color: #D1D5DB;
    padding: 64px 0 32px;
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.site-footer-corporate h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 18px;
}
.site-footer-corporate p, .site-footer-corporate li {
    font-size: 0.86rem;
    line-height: 1.7;
    color: #A39E97;
}
.site-footer-corporate a {
    color: #A39E97;
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer-corporate a:hover {
    color: #FFFFFF;
}
.site-footer-corporate ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer-corporate li {
    margin-bottom: 10px;
}
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
    padding-top: 24px;
    font-size: 0.82rem;
    color: #7A756F;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* --------------------------------------------------------------------------
   8. COOKIE CONSENT BANNER (LEY 25.326)
   -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 440px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-size: 0.86rem;
    color: #6E6862;
    line-height: 1.5;
}
.cookie-banner a {
    color: #1A1A1A;
    text-decoration: underline;
}
.cookie-btns {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
