/* ==========================================================================
   Inmobiliaria Carlos III S.A. — FINAL ULTIMATE EDITION
   Cormorant Garamond + DM Sans · Charcoal / Stone / Bronze
   Best of both worlds: cinematic premium + carousel + 4 reviews + WOW anims
   ========================================================================== */

:root {
    --charcoal:   #0D0F14;
    --charcoal-2: #171A22;
    --charcoal-3: #1F2330;
    --stone:      #F5F0E8;
    --stone-2:    #EDE7DB;
    --stone-3:    #E0D8CE;
    --bronze:     #B8834A;
    --bronze-lt:  #D4A76A;
    --bronze-dk:  #8A5E30;
    --bronze-bg:  #F2E8D8;
    --ink:        #1C1E26;
    --text:       #4A4E5C;
    --muted:      #7A7E8E;
    --white:      #FFFFFF;
    --line:       #DDD8CF;
    --radius:     12px;
    --radius-lg:  20px;
    --radius-xl:  32px;
    --shadow-sm:  0 2px 12px rgba(13,15,20,.07);
    --shadow:     0 16px 48px rgba(13,15,20,.12);
    --shadow-lg:  0 32px 80px rgba(13,15,20,.20);
    --font-display: "Cormorant Garamond", "Garamond", Georgia, serif;
    --font-body:    "DM Sans", system-ui, -apple-system, sans-serif;
    --header-h: 80px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.12;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
}

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; border-radius: 4px; }

.skip-link {
    position: absolute; left: 16px; top: -80px; z-index: 10000;
    background: var(--charcoal); color: #fff;
    padding: 10px 18px; border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- SPINNER (din originalul băieților) ---------- */
#page-spinner {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--charcoal);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 20px;
    transition: opacity .6s ease, visibility .6s;
}
#page-spinner.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.spinner-ring {
    width: 56px; height: 56px;
    border: 3px solid rgba(184,131,74,.2);
    border-top-color: var(--bronze);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-logo {
    font-family: var(--font-display);
    font-size: 14px; color: rgba(255,255,255,.5);
    letter-spacing: .2em; text-transform: uppercase;
}

/* ---------- Barra superior ---------- */
.topbar {
    background: var(--charcoal);
    color: rgba(255,255,255,.65);
    font-size: 12.5px; letter-spacing: .02em;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar i { color: var(--bronze); font-size: 11px; }
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--bronze-lt); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(13,15,20,.88);
    backdrop-filter: saturate(140%) blur(20px);
    -webkit-backdrop-filter: saturate(140%) blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(13,15,20,.97); box-shadow: 0 8px 40px rgba(0,0,0,.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand:hover { opacity: .85; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: 9.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--bronze); margin-bottom: 3px; }
.brand-text strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: #fff; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; padding: 10px 18px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.72); letter-spacing: .01em; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: #fff; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; margin-left: 16px; padding: 11px 22px; border: 1.5px solid rgba(184,131,74,.6); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff !important; transition: background .25s, border-color .25s !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--bronze); border-color: var(--bronze); color: #fff !important; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 20px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s, top .25s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; left: 0; top: -6px; }
.nav-toggle span::after { content: ""; left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Botones ---------- */
.btn-c { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border: 1.5px solid transparent; border-radius: 999px; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s, border-color .25s; }
.btn-c:hover { transform: translateY(-2px); }
.btn-c--primary { background: var(--bronze); color: #fff; box-shadow: 0 8px 28px rgba(184,131,74,.35); }
.btn-c--primary:hover { background: var(--bronze-lt); box-shadow: 0 12px 36px rgba(184,131,74,.5); color: #fff; }
.btn-c--dark { background: var(--charcoal); color: #fff; box-shadow: 0 8px 24px rgba(13,15,20,.3); }
.btn-c--dark:hover { background: var(--charcoal-2); color: #fff; }
.btn-c--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-c--outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.65); color: #fff; }
.btn-c--sm { padding: 11px 22px; font-size: 13.5px; }
.btn-c--block { width: 100%; }

/* ---------- HERO CINEMATOGRAFIC ---------- */
.hero {
    position: relative;
    background: var(--charcoal);
    overflow: hidden;
}

/* Carousel de imagini care se miscă (din original, rafinat) */
.hero-carousel-wrap {
    position: absolute; inset: 0;
}
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.08);
    animation: heroZoomIn 12s ease-out forwards;
}
@keyframes heroZoomIn {
    from { transform: scale(1.08); }
    to   { transform: scale(1.0); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,15,20,.3) 0%,
        rgba(13,15,20,.5) 40%,
        rgba(13,15,20,.88) 78%,
        rgba(13,15,20,.97) 100%
    );
}
.hero-overlay-side {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 55% 65% at 80% 30%, rgba(184,131,74,.1), transparent 65%);
}

/* Nav arrows del carousel (dal original) */
.hero-carousel-nav {
    position: absolute;
    left: 24px; top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex; flex-direction: column; gap: 10px;
}
.hero-carousel-btn {
    width: 46px; height: 46px;
    background: rgba(184,131,74,.25);
    border: 1px solid rgba(184,131,74,.5);
    border-radius: 50%; color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 16px;
    transition: background .25s, transform .25s;
    backdrop-filter: blur(8px);
}
.hero-carousel-btn:hover { background: var(--bronze); transform: scale(1.08); }
/* Dots */
.hero-dots {
    position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 5;
}
.hero-dot {
    width: 6px; height: 6px; border-radius: 999px;
    background: rgba(255,255,255,.35);
    transition: background .3s, width .3s;
    cursor: pointer;
}
.hero-dot.is-active { background: var(--bronze-lt); width: 24px; }

.hero-content {
    position: relative; z-index: 4;
    padding: 160px 0 180px;
}
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze-lt); }
.hero-kicker::before { content: ""; display: block; width: 40px; height: 1px; background: var(--bronze-lt); }
.hero h1 { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 500; line-height: 1.0; color: #fff; margin-bottom: 24px; max-width: 860px; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: var(--bronze-lt); }
.hero-lead { font-size: 17px; color: rgba(255,255,255,.65); max-width: 500px; margin-bottom: 36px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 60px; }

/* Stats */
.hero-stats { display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 36px; }
.hero-stat { padding: 0 40px 0 0; border-right: 1px solid rgba(255,255,255,.1); margin-right: 40px; }
.hero-stat:last-child { border: none; margin: 0; }
.hero-stat-num { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 600; color: #fff; line-height: 1; margin-bottom: 5px; display: block; }
.hero-stat-num .suf { color: var(--bronze-lt); }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.45); letter-spacing: .1em; text-transform: uppercase; }

/* Search bar */
.hero-search {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(245,240,232,.97);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(184,131,74,.18);
    z-index: 5;
}
.hero-search-inner { display: flex; align-items: stretch; min-height: 76px; }
.search-tab { display: flex; align-items: center; gap: 8px; padding: 0 26px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; background: none; border-top: none; border-left: none; border-right: none; letter-spacing: .02em; white-space: nowrap; }
.search-tab.is-active { color: var(--charcoal); border-bottom-color: var(--bronze); }
.search-field { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 14px 22px; cursor: pointer; border-left: 1px solid var(--line); transition: background .2s; }
.search-field:hover { background: rgba(184,131,74,.06); }
.search-field label { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-dk); margin-bottom: 3px; }
.search-field select, .search-field input { border: none; background: transparent; font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--charcoal); cursor: pointer; outline: none; width: 100%; appearance: none; -webkit-appearance: none; padding: 0; }
.search-btn-wrap { display: flex; align-items: center; padding: 0 18px; border-left: 1px solid var(--line); }
.search-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; background: var(--charcoal); color: #fff; border: none; border-radius: 12px; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .25s, transform .25s var(--ease-out); white-space: nowrap; }
.search-btn:hover { background: var(--bronze); transform: translateY(-1px); }

/* ---------- Portales ---------- */
.portals { padding: 52px 0; background: var(--stone); border-bottom: 1px solid var(--line); }
.portals-label { text-align: center; margin-bottom: 26px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.portals-row { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.portal { display: flex; align-items: center; justify-content: center; height: 74px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, transform .25s, border-color .25s; }
.portal img { max-height: 100%; max-width: 100%; object-fit: contain; filter: grayscale(1) brightness(.8); opacity: .6; transition: filter .3s, opacity .3s; }
.portal:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--bronze-bg); }
.portal:hover img { filter: none; opacity: 1; }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; }
.section--stone { background: var(--stone); }
.section--dark { background: var(--charcoal); color: rgba(255,255,255,.72); position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze-dk); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--bronze); }
.section--dark .eyebrow { color: var(--bronze-lt); }
.section--dark .eyebrow::before { background: var(--bronze-lt); }

.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.section-head p { font-size: 17px; margin-bottom: 0; color: var(--muted); }
.section--dark .section-head p { color: rgba(255,255,255,.5); }

/* ---------- Categorías con ICONOS PNG (din original) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.cat-card { display: flex; flex-direction: column; align-items: center; padding: 36px 20px 30px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--charcoal); transition: transform .35s var(--ease-out), box-shadow .35s, background .35s, border-color .35s; }
.cat-icon-wrap { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 18px; background: var(--stone); padding: 14px; transition: background .3s, transform .3s var(--ease-out); }
.cat-icon-wrap img { width: 100%; height: 100%; object-fit: contain; transition: filter .3s; }
.cat-card h3 { margin: 0 0 5px; font-size: 19px; font-weight: 500; transition: color .3s; }
.cat-card span { font-size: 13px; color: var(--muted); transition: color .3s; }
.cat-card:hover { transform: translateY(-8px); background: var(--charcoal); border-color: var(--charcoal); box-shadow: var(--shadow); }
.cat-card:hover .cat-icon-wrap { background: rgba(184,131,74,.2); transform: scale(1.08); }
.cat-card:hover .cat-icon-wrap img { filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(10deg); }
.cat-card:hover h3 { color: #fff; }
.cat-card:hover span { color: rgba(255,255,255,.5); }

/* ---------- Filtro propiedades ---------- */
.prop-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.filter-btn { padding: 10px 22px; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; font-family: var(--font-body); font-size: 13.5px; font-weight: 500; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filter-btn.is-active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }

/* ---------- Propiedades ---------- */
.prop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.prop-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: transform .35s var(--ease-out), box-shadow .35s; }
.prop-card.is-hidden { display: none; }
.prop-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.prop-media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--stone); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.prop-card:hover .prop-media img { transform: scale(1.08); }
.prop-media::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgba(13,15,20,.6)); pointer-events: none; }
.prop-tags { position: absolute; left: 16px; top: 16px; display: flex; gap: 8px; z-index: 1; }
.tag { padding: 5px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; }
.tag--dark { background: var(--charcoal); color: #fff; }
.tag--bronze { background: var(--bronze); color: #fff; }
.tag--light { background: rgba(255,255,255,.92); color: var(--charcoal); }
.prop-price { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.prop-overlay-action { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: rgba(13,15,20,.45); opacity: 0; transition: opacity .3s; }
.prop-card:hover .prop-overlay-action { opacity: 1; }
.prop-overlay-btn { display: flex; align-items: center; gap: 10px; padding: 13px 26px; background: #fff; border-radius: 999px; color: var(--charcoal); font-weight: 600; font-size: 14px; transform: translateY(8px); transition: transform .3s var(--ease-out); border: none; cursor: pointer; font-family: var(--font-body); }
.prop-card:hover .prop-overlay-btn { transform: none; }
.prop-body { padding: 22px 22px 16px; flex: 1; }
.prop-body h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; color: var(--charcoal); }
.prop-addr { display: flex; gap: 8px; margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.prop-addr i { margin-top: 3px; color: var(--bronze); font-size: 11px; }
.prop-meta { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.prop-meta li { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 6px; font-size: 13.5px; font-weight: 500; color: var(--charcoal); }
.prop-meta li + li { border-left: 1px solid var(--line); }
.prop-meta i { color: var(--bronze); }

/* ---------- Modal ---------- */
.prop-modal-backdrop { position: fixed; inset: 0; z-index: 2000; background: rgba(13,15,20,.85); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.prop-modal-backdrop.is-open { opacity: 1; visibility: visible; }
.prop-modal { position: relative; width: 100%; max-width: 940px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: var(--radius-xl); box-shadow: 0 60px 120px rgba(0,0,0,.5); transform: scale(.94) translateY(20px); transition: transform .35s var(--ease-out); display: grid; grid-template-columns: 1fr 1fr; }
.prop-modal-backdrop.is-open .prop-modal { transform: none; }
.modal-img { position: relative; min-height: 420px; }
.modal-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl) 0 0 var(--radius-xl); }
.modal-body { padding: 48px 42px; display: flex; flex-direction: column; }
.modal-close { position: absolute; right: 16px; top: 16px; z-index: 3; width: 38px; height: 38px; background: rgba(13,15,20,.7); color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.modal-close:hover { background: var(--charcoal); transform: scale(1.1); }
.modal-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.modal-address { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; padding: 20px; background: var(--stone); border-radius: var(--radius); }
.modal-spec-label { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-dk); margin-bottom: 3px; display: block; }
.modal-spec-val { font-size: 17px; font-weight: 500; color: var(--charcoal); }
.modal-desc { font-size: 15px; line-height: 1.75; color: var(--text); margin-bottom: 28px; flex: 1; }

/* ---------- About Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 88px; }
.split-media { position: relative; padding: 0 0 32px 32px; }
.split-media img { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.split-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 58%; height: 58%; border-radius: var(--radius-xl); background: var(--bronze-bg); }
.split-chip { position: absolute; right: -20px; top: 40px; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: var(--charcoal); color: #fff; border-radius: 16px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.3; }
.split-chip i { color: var(--bronze-lt); font-size: 24px; }
.split-chip strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.split-chip span { font-size: 12.5px; color: rgba(255,255,255,.55); }
.split-text .lead { font-size: 18px; color: var(--ink); line-height: 1.75; margin-bottom: 28px; }
.check-list { margin: 0 0 36px; display: grid; gap: 16px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; color: var(--ink); }
.check-list i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--bronze-bg); color: var(--bronze-dk); font-size: 10px; }

/* ---------- Servicios ---------- */
.section--dark::before { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(184,131,74,.12); box-shadow: 0 0 0 80px rgba(184,131,74,.03), 0 0 0 160px rgba(184,131,74,.02); }
.svc-grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.svc-card { padding: 36px 28px 32px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-lg); transition: transform .3s var(--ease-out), background .3s, border-color .3s; }
.svc-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.07); border-color: rgba(184,131,74,.45); }
.svc-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px; background: rgba(184,131,74,.14); color: var(--bronze-lt); font-size: 22px; }
.svc-card h3 { font-size: 19px; margin-bottom: 12px; font-weight: 500; }
.svc-card p { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.58); }

/* ---------- CTA ---------- */
.cta-card { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: var(--radius-xl); background: var(--charcoal); box-shadow: var(--shadow-lg); }
.cta-media { position: relative; min-height: 380px; }
.cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 45%, var(--charcoal) 100%); }
.cta-body { padding: 68px 56px 68px 24px; color: rgba(255,255,255,.72); }
.cta-body h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.cta-body p { font-size: 16.5px; margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- TESTIMONIALE CAROUSEL (4 reviews, cu săgeți — din original) ---------- */
.testi-wrap { position: relative; }
.testi-viewport { overflow: hidden; }
.testi-track {
    display: flex;
    transition: transform .6s var(--ease-out);
}
.testi-slide {
    flex: 0 0 calc(33.333% - 19px);
    margin-right: 28px;
}
.testi-card { display: flex; flex-direction: column; padding: 36px 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); height: 100%; transition: transform .3s var(--ease-out), box-shadow .3s; }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-stars { margin-bottom: 16px; color: var(--bronze); font-size: 14px; letter-spacing: 2px; }
.testi-card blockquote { flex: 1; margin: 0 0 24px; font-size: 16px; line-height: 1.82; color: var(--ink); font-family: var(--font-display); font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.testi-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bronze-bg); }
.testi-author strong { display: block; font-family: var(--font-display); font-size: 17px; color: var(--charcoal); line-height: 1.2; }
.testi-author span { font-size: 12.5px; color: var(--muted); }

/* Arrows testimonios */
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; }
.testi-arrow { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); color: var(--charcoal); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.testi-arrow:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; transform: scale(1.06); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: background .3s, width .3s; cursor: pointer; }
.testi-dot.is-active { background: var(--bronze); width: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.6); font-size: 15px; }
.footer-main { padding: 88px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1fr; gap: 52px; }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { max-width: 300px; margin-bottom: 24px; line-height: 1.75; font-size: 14.5px; }
.site-footer h4 { margin-bottom: 22px; font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.footer-links { display: grid; gap: 13px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.6); font-size: 14.5px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--bronze-lt); }
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-right: 10px; color: var(--bronze); }
.footer-contact { display: grid; gap: 16px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 14px; line-height: 1.6; font-size: 14.5px; }
.footer-contact i { flex: none; width: 18px; margin-top: 4px; color: var(--bronze); text-align: center; }
.footer-eu { padding: 14px; background: rgba(255,255,255,.07); border-radius: 12px; border: 1px solid rgba(255,255,255,.1); max-width: 280px; }
.footer-eu img { width: 100%; filter: brightness(.85); }
.social { display: flex; gap: 10px; }
.social a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: rgba(255,255,255,.7); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.social a:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; padding: 22px 0; font-size: 13.5px; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--bronze-lt); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Float buttons ---------- */
.float-stack { position: fixed; right: 22px; bottom: 22px; z-index: 800; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.float-btn { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: none; border-radius: 50%; cursor: pointer; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s var(--ease-out), opacity .25s, visibility .25s, background .25s; }
.float-btn:hover { transform: translateY(-3px) scale(1.06); color: #fff; }
.float-btn--wa { background: #25D366; font-size: 26px; }
.float-btn--wa:hover { background: #1ebe5a; }
.float-btn--top { background: var(--charcoal); font-size: 15px; opacity: 0; visibility: hidden; transform: translateY(10px); }
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Animaciones reveal ---------- */
.js .wow-fade { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .wow-fade.is-visible { opacity: 1; transform: none; }
.js .wow-left { opacity: 0; transform: translateX(-40px); transition: opacity .9s ease, transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .wow-left.is-visible { opacity: 1; transform: none; }
.js .wow-right { opacity: 0; transform: translateX(40px); transition: opacity .9s ease, transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .wow-right.is-visible { opacity: 1; transform: none; }
.js .wow-scale { opacity: 0; transform: scale(.92); transition: opacity .9s ease, transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .wow-scale.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js .wow-fade, .js .wow-left, .js .wow-right, .js .wow-scale { opacity: 1; transform: none; }
}

/* ---------- Page hero (pagini interioare) ---------- */
.page-hero { position: relative; padding: 88px 0 96px; background: var(--charcoal); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 75% 30%, rgba(184,131,74,.12), transparent 65%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.6rem); margin-bottom: 14px; }
.page-hero p { max-width: 540px; margin: 0; font-size: 17.5px; color: rgba(255,255,255,.6); }
.breadcrumb-c { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 13.5px; }
.breadcrumb-c a { color: rgba(255,255,255,.7); }
.breadcrumb-c a:hover { color: var(--bronze-lt); }
.breadcrumb-c i { font-size: 10px; color: var(--bronze); }
.breadcrumb-c span { color: var(--bronze-lt); font-weight: 600; }

/* ---------- About, Contact pages ---------- */
.lead { font-size: 18px; color: var(--ink); line-height: 1.8; }
.about-values { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.value-card { display: flex; gap: 22px; padding: 34px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--bronze-bg); }
.value-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; background: var(--charcoal); color: var(--bronze-lt); font-size: 22px; }
.value-card h3 { margin-bottom: 8px; font-size: 20px; font-weight: 500; }
.value-card p { margin: 0; font-size: 15px; }
.tagline-band { padding: 60px 0; text-align: center; background: var(--charcoal); }
.tagline-band p { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-style: italic; color: #fff; }
.tagline-band p span { color: var(--bronze-lt); }
.chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; color: var(--ink); }
.chip i { color: var(--bronze-dk); }
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 56px; }
.info-card { display: flex; align-items: center; gap: 20px; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--bronze-bg); }
.info-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--charcoal); color: var(--bronze-lt); font-size: 20px; }
.info-card small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-dk); }
.info-card a, .info-card span { font-weight: 600; font-size: 15.5px; color: var(--charcoal); display: block; word-break: break-word; }
.info-card a:hover { color: var(--bronze-dk); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.map-box { position: relative; min-height: 460px; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--stone); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.form-box { padding: 42px 40px 38px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-box h2 { font-size: 26px; margin-bottom: 6px; font-weight: 500; }
.form-box > p { margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1/-1; }
.field label { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.field input, .field textarea { width: 100%; padding: 13px 16px; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--stone); border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa4af; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--bronze); box-shadow: 0 0 0 4px rgba(184,131,74,.15); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #b3261e; background: #fff8f7; }
.field .error-msg { display: none; font-size: 12px; color: #b3261e; }
.field input.is-invalid ~ .error-msg, .field textarea.is-invalid ~ .error-msg { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.alert-c { display: none; margin-bottom: 22px; padding: 14px 18px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.alert-c.is-shown { display: flex; align-items: center; gap: 12px; }
.alert-c--ok { background: #eaf6ee; color: #1d5b34; border: 1px solid #bfe3cb; }
.alert-c--err { background: #fdeceb; color: #8c1d18; border: 1px solid #f3c0bc; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .svc-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
    .split { gap: 60px; }
    .testi-slide { flex-basis: calc(50% - 14px); }
}
@media (max-width: 991.98px) {
    :root { --header-h: 72px; }
    .section { padding: 80px 0; }
    .topbar { display: none; }
    .nav-toggle { display: block; margin-left: auto; }
    .main-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 20px 22px; background: var(--charcoal-2); border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 48px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; }
    .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .main-nav a { padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
    .main-nav a::after { display: none; }
    .main-nav a.active { color: var(--bronze-lt); }
    .nav-cta { display: inline-flex; margin: 18px 0 0; border-bottom: 0 !important; padding: 14px 28px; justify-content: center; }
    .hero-content { padding: 100px 0 140px; }
    .hero-carousel-nav { display: none; }
    .hero-search-inner { flex-direction: column; min-height: auto; }
    .search-tab { padding: 16px 20px; border-bottom: 1px solid var(--line); }
    .search-field { border-left: none; border-top: 1px solid var(--line); padding: 16px 20px; }
    .search-btn-wrap { padding: 14px 20px; border-left: none; border-top: 1px solid var(--line); }
    .cat-grid { grid-template-columns: repeat(2,1fr); }
    .prop-grid { grid-template-columns: repeat(2,1fr); }
    .split { grid-template-columns: 1fr; }
    .split-media { max-width: 540px; margin: 0 auto; width: 100%; }
    .split-chip { right: 0; }
    .cta-card { grid-template-columns: 1fr; }
    .cta-media { min-height: 280px; }
    .cta-media::after { background: linear-gradient(180deg, transparent 55%, var(--charcoal) 100%); }
    .cta-body { padding: 8px 36px 52px; }
    .testi-slide { flex-basis: 100%; }
    .about-values { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .prop-modal { grid-template-columns: 1fr; max-width: 560px; }
    .modal-img { display: none; }
}
@media (max-width: 767.98px) {
    .prop-grid { grid-template-columns: 1fr; }
    .svc-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-main { padding: 64px 0 44px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-box { padding: 32px 22px; }
    .section-head { margin-bottom: 44px; }
    .hero-stats { flex-wrap: wrap; gap: 24px 0; }
    .hero-stat { padding: 0 26px 0 0; margin-right: 26px; }
    .portals-row { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 575.98px) {
    .section { padding: 68px 0; }
    .portals-row { grid-template-columns: repeat(2,1fr); }
    .cat-grid { gap: 14px; }
    .hero-actions .btn-c { width: 100%; }
    .cta-actions .btn-c { width: 100%; }
    .float-stack { right: 14px; bottom: 14px; }
}
