/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #FDFBF5;
  --stone: #F2EBDC;
  --stone-2: #E8DFCB;
  --dark: #2D2920;
  --dark-soft: #3A3528;
  --gold: #B8924A;
  --gold-light: #D4B071;
  --earth: #594c3a;
  --muted: #75674D;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius-card: 16px;
  --radius-pill: 50px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 24px 60px rgba(45,41,32,.08);
}
body { font-family: var(--font-sans); background: var(--cream); color: var(--dark); font-weight: 300; line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 300; line-height: 1.1; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }
.eyebrow { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 4px; font-size: 0.75rem; font-weight: 500; display: flex; align-items: center; gap: 1rem; color: var(--muted); margin-bottom: 1.5rem;}
.eyebrow::before { content: ""; display: block; width: 40px; height: 1px; background-color: var(--gold); }
.eyebrow.light { color: var(--stone); }

/* Components */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 2rem; border-radius: var(--radius-pill); font-family: var(--font-sans); font-size: 0.9rem; transition: var(--transition); gap: 0.5rem; text-align: center; }
.btn-primary { background: var(--gold); color: var(--dark); font-weight: 500; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(184, 146, 74, 0.4); }
.btn-ghost { border: 1px solid var(--dark); color: var(--dark); }
.btn-ghost:hover { background: var(--dark) !important; color: var(--cream) !important; border-color: var(--dark) !important; }
.btn-ghost-light { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--dark); }
.btn-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); transition: var(--transition); }
.btn-icon:hover { background: var(--gold); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 0.9rem; transition: var(--transition); color: inherit; }
.link-arrow svg { transition: transform 0.3s ease; }
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover svg { transform: translateX(4px); }

.glass-card { background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-card); padding: 2rem; box-shadow: var(--shadow-soft); }
.glass-card-dark { background: rgba(45, 41, 32, 0.75); backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--radius-card); padding: 2.5rem; color: var(--cream); transition: var(--transition); }
.glass-card-dark:hover { background: rgba(45, 41, 32, 0.9); }

/* Grid & Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 0; }
.bg-stone { background: var(--stone); }
.bg-stone-2 { background: var(--stone-2); }
.bg-dark { background: var(--dark); color: var(--cream); position: relative; overflow: hidden;}
.bg-cream { background: var(--cream); }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; padding: 1.5rem 0; transition: var(--transition); border-bottom: 1px solid transparent; }
.navbar.scrolled { background: rgba(253, 251, 245, 0.9); backdrop-filter: blur(15px); padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 300; }
.logo strong { font-weight: 300; color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a:not(.btn) { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; transition: var(--transition); }
.nav-links a:not(.btn):hover { color: var(--gold); }
.navbar.dark-mode:not(.scrolled) { color: #fff; }
.navbar.dark-mode:not(.scrolled) .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.navbar.dark-mode:not(.scrolled) .btn-ghost:hover { background: #fff; color: var(--dark); }

/* Mobile Menu */
.hamburger { display: none; width: 30px; height: 20px; position: relative; cursor: pointer; }
.hamburger span { position: absolute; width: 100%; height: 1px; background: currentColor; transition: var(--transition); }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* Hero */
.hero { height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(45,41,32,.7), rgba(45,41,32,.5), rgba(45,41,32,.7)); z-index: -1; }
.hero .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; color: #fff; position: relative; z-index: 1; }
.hero-title-mask { overflow: hidden; margin-bottom: 0.5rem; }
.hero-title-line { transform: translateY(100%); font-size: clamp(48px, 7vw, 96px); line-height: 1; }
.hero-title-line em { color: var(--gold-light); text-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.hero-subtitle { font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: 2.5rem; max-width: 500px; color: rgba(255,255,255,0.9); opacity: 0; transform: translateY(20px); }
.hero-actions { display: flex; gap: 1rem; opacity: 0; transform: translateY(20px); }

.hero-featured-card { padding: 1rem; animation: float 6s ease-in-out infinite; }
.hero-featured-card img { width: 100%; height: 250px; object-fit: cover; border-radius: calc(var(--radius-card) - 8px); margin-bottom: 1.5rem; }
.hero-featured-card h3 { font-size: 1.5rem; color: var(--cream); margin: 0.5rem 0;}
.hero-featured-card p { font-size: 0.9rem; color: rgba(253,251,245,0.8); display: flex; gap: 0.5rem;}
.hero-featured-card .price { font-family: var(--font-serif); font-size: 1.25rem; color: var(--gold); margin-top: 0.5rem; }
.hero-featured-card .btn-icon { position: absolute; bottom: 1.5rem; right: 1.5rem; background: var(--gold); color: #fff; }

.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 1rem; color: #fff; font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; z-index: 1; }
.scroll-line { width: 1px; height: 60px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: #fff; animation: scrollDown 2s infinite; }

/* Property Cards */
.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; }
.property-card { background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); transition: var(--transition-slow); position: relative; display: flex; flex-direction: column;}
.property-card:hover { transform: translateY(-8px); box-shadow: 0 32px 80px rgba(45,41,32,.12); }
.property-card-img-wrapper { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.property-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.property-card:hover img { transform: scale(1.08); }
.property-badges { position: absolute; top: 1rem; left: 1rem; display: flex; gap: 0.5rem; z-index: 2; }
.badge { background: rgba(255,255,255,0.8); backdrop-filter: blur(8px); padding: 0.4rem 0.8rem; border-radius: var(--radius-pill); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; color: var(--dark);}
.property-fav { position: absolute; top: 1rem; right: 1rem; z-index: 2; color: var(--dark); }
.property-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1;}
.property-type { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.property-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.property-location { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--earth); margin-bottom: 1.5rem; }
.property-specs { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); padding: 1rem 0; margin-bottom: 1.5rem; margin-top: auto;}
.property-specs span { display: flex; align-items: center; gap: 0.4rem; }
.property-footer { display: flex; justify-content: space-between; align-items: center; }
.property-price { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); }
.property-link { font-size: 0.85rem; font-weight: 500; display: inline-flex; align-items: center; gap: 0.5rem; transition: var(--transition); }
.property-link:hover { gap: 0.75rem; color: var(--gold); }

/* Filters Pill */
.filters-wrapper { display: flex; gap: 1rem; margin-bottom: 3rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none; }
.filters-wrapper::-webkit-scrollbar { display: none; }
.filter-pill { padding: 0.6rem 1.5rem; border: 1px solid rgba(45,41,32,0.1); border-radius: var(--radius-pill); font-size: 0.85rem; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.filter-pill:hover, .filter-pill.active { background: var(--dark); color: var(--cream); border-color: var(--dark); }

/* Forms */
.form-group { margin-bottom: 2rem; position: relative; }
.form-control { width: 100%; border: none; border-bottom: 1px solid rgba(45,41,32,0.2); background: transparent; padding: 0.75rem 0; font-family: inherit; font-size: 1rem; color: var(--dark); transition: var(--transition); }
.form-control:focus { outline: none; border-bottom-color: var(--gold); }
.form-control::placeholder { color: var(--muted); }
.form-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 0.5rem; }

/* Blur Blobs */
.blur-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.4; z-index: 0; pointer-events: none; animation: float 10s infinite; }
.blob-gold { background: var(--gold); width: 300px; height: 300px; }
.blob-stone { background: var(--stone-2); width: 400px; height: 400px; }

/* Utilities & Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: var(--transition-slow); }
.reveal.active { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.text-center { text-align: center; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* Footer */
.footer { background: var(--dark); color: var(--cream); padding: 6rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer h4 { font-family: var(--font-sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; color: var(--gold); }
.footer ul li { margin-bottom: 0.75rem; }
.footer ul a { color: rgba(253,251,245,0.7); font-size: 0.9rem; transition: var(--transition); }
.footer ul a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: rgba(253,251,245,0.5); }
.social-links { display: flex; gap: 1rem; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-icon:hover { background: var(--gold); color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-featured-card { display: none; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--cream); flex-direction: column; justify-content: center; align-items: center; font-size: 1.5rem; transition: var(--transition); z-index: 99; color: var(--dark); }
  .nav-links.active { right: 0; }
  .hamburger { display: block; z-index: 100; color: inherit; }
  .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filters-bar { position: relative; top: 0; padding: 1rem 0; z-index: 10; }
  .filter-group { min-width: calc(50% - 0.5rem); }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
  .property-grid { grid-template-columns: 1fr; }
  .hero-title-line { font-size: 3rem; }
  .btn { width: 100%; }
  .filter-group { min-width: 100%; }
  .filters-actions { flex-direction: column; }
}

/* Page specific styles */

/* Home specific */
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; position: relative;}
.manifesto-stats { display: flex; gap: 3rem; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(45,41,32,0.1); }
.stat-item h3 { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--gold); }
.stat-item p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); }
.manifesto-img { position: relative; aspect-ratio: 4/5; }
.manifesto-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); }
.manifesto-promesa { position: absolute; bottom: -2rem; left: -2rem; right: 2rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.service-number { font-family: var(--font-serif); font-size: 3rem; color: var(--gold); font-style: italic; margin-bottom: 1.5rem; opacity: 0.5; }
.service-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.service-card p { color: rgba(253,251,245,0.7); margin-bottom: 1.5rem; font-size: 0.95rem; }

.testimonial { text-align: center; max-width: 800px; margin: 0 auto; position: relative;}
.testimonial::before { content: "”"; font-family: var(--font-serif); font-size: 12rem; color: var(--gold); opacity: 0.1; position: absolute; top: -4rem; left: 50%; transform: translateX(-50%); z-index: 0; line-height: 1;}
.test-quote { font-size: clamp(1.5rem, 3vw, 2.5rem); font-family: var(--font-serif); font-style: italic; margin: 2rem 0; line-height: 1.4; position: relative; z-index: 1;}
.test-author { font-size: 0.9rem; position: relative; z-index: 1;}
.test-author strong { font-weight: 500; color: var(--dark); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.contact-details { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.5rem; }
.contact-item .btn-icon { background: #fff; box-shadow: var(--shadow-soft); flex-shrink: 0; color: var(--gold); }
.contact-item-text h4 { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500; margin-bottom: 0.25rem; }
.contact-item-text p { color: var(--earth); font-size: 0.9rem; }

/* Propiedades Listado specific */
.page-header { background: var(--dark); color: #fff; padding: 10rem 0 4rem; position: relative; overflow: hidden; }
.page-header h1 { font-size: 3rem; margin-bottom: 1rem; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 2px;}
.filters-bar { background: var(--cream); padding: 1.5rem 0; position: sticky; top: 76px; z-index: 90; border-bottom: 1px solid rgba(45,41,32,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.filters-form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; min-width: 150px; }
.filter-group label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.filter-group select, .filter-group input { padding: 0.75rem; border: 1px solid rgba(45,41,32,0.2); border-radius: 8px; background: transparent; font-family: inherit; font-size: 0.9rem; color: var(--dark); }
.filters-actions { display: flex; gap: 1rem; }
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 4rem; }
.page-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(45,41,32,0.1); font-size: 0.9rem; transition: var(--transition); }
.page-btn.active, .page-btn:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

/* Ficha de Propiedad specific */
.prop-hero { display: grid; grid-template-columns: 60% 40%; gap: 1rem; height: 70vh; margin: 6rem auto 2rem; max-width: 1400px; padding: 0 1rem; position: relative;}
.prop-hero-main { position: relative; border-radius: var(--radius-card); overflow: hidden; }
.prop-hero-main img { width: 100%; height: 100%; object-fit: cover; }
.prop-hero-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; }
.prop-hero-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); }
.prop-actions { position: absolute; top: 1rem; right: 1rem; z-index: 10; display: flex; gap: 1rem; }

.prop-content-grid { display: grid; grid-template-columns: 2.5fr 1fr; gap: 4rem; align-items: start; }
.prop-header { margin-bottom: 3rem; }
.prop-title { font-size: 2.5rem; margin: 1rem 0; }
.prop-location { font-size: 1.1rem; color: var(--earth); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; }
.prop-main-specs { display: flex; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(45,41,32,0.1); }
.spec-item { display: flex; align-items: center; gap: 0.75rem; font-size: 1.1rem; }
.spec-item svg { width: 24px; height: 24px; color: var(--gold); }

.price-card { position: sticky; top: 120px; }
.price-card-price { font-family: var(--font-serif); font-size: 3rem; color: var(--gold); margin-bottom: 0.25rem; line-height: 1; }
.price-card-meta { font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem; display: block; }
.price-card-actions { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.price-card hr { border: none; border-top: 1px solid rgba(45,41,32,0.1); margin: 2rem 0; }

.prop-section { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid rgba(45,41,32,0.1); }
.prop-section h2 { font-size: 2rem; margin-bottom: 2rem; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.feature-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(45,41,32,0.05); padding-bottom: 0.5rem; color: var(--earth);}
.feature-list li::before { content: "✓"; color: var(--gold); font-weight: bold; }

.map-container { height: 400px; background: #e5e3df; border-radius: var(--radius-card); overflow: hidden; margin-bottom: 2rem; }
.map-container iframe { width: 100%; height: 100%; border: none; }
.poi-list { list-style: none; }
.poi-list li { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.95rem; color: var(--earth); }

.agent-card { display: flex; gap: 2rem; align-items: center; background: var(--stone); border-radius: var(--radius-card); padding: 2rem; }
.agent-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.agent-info h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.agent-info p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.9rem; }
.agent-actions { display: flex; gap: 1rem; }

/* Timeline Services */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 1px; background: var(--gold); opacity: 0.3; }
.timeline-item { position: relative; padding-left: 5rem; margin-bottom: 3rem; }
.timeline-item::before { content: ""; position: absolute; left: 16px; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 4px solid var(--cream); box-sizing: content-box; }
.timeline-item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(45,41,32,0.1); padding: 1.5rem 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-serif); font-size: 1.25rem; }
.faq-icon { transition: var(--transition); color: var(--gold); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--earth); }
.faq-item.active .faq-answer { max-height: 500px; margin-top: 1rem; }

/* Blocks */
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 6rem; }
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }
.content-block img { border-radius: var(--radius-card); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.team-member { text-align: center; }
.team-member img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; margin-bottom: 1rem; }
.team-member h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.team-member p { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* Responsive specifics */
@media (max-width: 980px) {
  .manifesto-grid, .contact-grid, .prop-content-grid, .content-block { grid-template-columns: 1fr; gap: 3rem; }
  .content-block.reverse { direction: ltr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .prop-hero { grid-template-columns: 1fr; height: auto; margin-top: 80px; }
  .prop-hero-grid { display: none; }
  .prop-hero-main { height: 400px; }
  .price-card { position: relative; top: 0; }
}
@media (max-width: 576px) {
  .services-grid, .features-grid, .agent-card, .team-grid { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
  .agent-actions { justify-content: center; flex-wrap: wrap; }
  .manifesto-stats { flex-direction: column; gap: 1.5rem; text-align: center; }
  .prop-hero-main { height: 300px; }
}

/* Gallery Modal */
.gallery-modal { display: none; position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(15, 13, 10, 0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); align-items: center; justify-content: center; }
.gallery-modal.active { display: flex; }
.gallery-close { position: absolute; top: 2rem; right: 2rem; color: #fff; font-size: 3rem; font-weight: 300; cursor: pointer; z-index: 1001; transition: var(--transition); line-height: 1; }
.gallery-close:hover { color: var(--gold); transform: scale(1.1); }
.gallery-content { position: relative; max-width: 90%; max-height: 90vh; text-align: center; }
.gallery-content img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); user-select: none; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: #fff; border: none; font-size: 1.5rem; cursor: pointer; border-radius: 50%; transition: var(--transition); z-index: 1001; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; backdrop-filter: blur(4px); }
.gallery-nav:hover { background: var(--gold); }
.gallery-nav.prev { left: 2rem; }
.gallery-nav.next { right: 2rem; }
.gallery-counter { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.9rem; letter-spacing: 2px; }

@media (max-width: 768px) {
  .gallery-nav { width: 40px; height: 40px; font-size: 1rem; }
  .gallery-nav.prev { left: 0.5rem; }
  .gallery-nav.next { right: 0.5rem; }
  .gallery-close { top: 1rem; right: 1rem; font-size: 2.5rem; }
}
