/* ============================================
   ROJO CONSTRUCTORA & ASOCIADOS
   Cinematic Luxury — Dark Premium
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: #c9302c; color: #fff; }

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --line: rgba(212, 168, 101, 0.14);
  --line-soft: rgba(255,255,255,0.08);
  --gold: #d4a865;
  --gold-2: #b8924d;
  --red: #c9302c;
  --red-bright: #e63946;
  --ivory: #f0e6d2;
  --ivory-2: #e8dec7;
  --text: #f0e6d2;
  --text-muted: rgba(240, 230, 210, 0.65);
  --text-dim: rgba(240, 230, 210, 0.4);
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(212,168,101,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,168,101,0.4); }

/* ============================================
   TYPOGRAPHY
   ============================================ */

.display, h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ivory);
}
h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 4.5vw, 64px); font-weight: 400; }
h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 400; }
h4 { font-size: clamp(18px, 2vw, 24px); font-weight: 500; }
em, .italic { font-style: italic; color: var(--gold); }

.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.kicker.no-line::before { display: none; }

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

p { color: var(--text-muted); font-size: 16px; line-height: 1.7; }
.lead { font-size: 18px; line-height: 1.8; }

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-sm { max-width: 1100px; }
.container-narrow { max-width: 800px; }

section { padding: 120px 0; position: relative; }
section.tight { padding: 80px 0; }

.grid { display: grid; gap: 40px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  section { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease), background .4s var(--ease);
}
.navbar.scrolled { padding: 14px 0; background: rgba(10,10,10,0.92); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--ivory);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .amp { color: var(--red); font-style: italic; font-weight: 300; }
.brand .dot { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(240,230,210,0.6);
  transition: color .3s var(--ease);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0;
  transition: all .3s var(--ease);
}
.nav-cta:hover { background: var(--red-bright); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span { display: block; height: 1px; background: var(--ivory); transition: .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    padding: 40px;
    gap: 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-150%);
    transition: transform .4s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all .35s var(--ease);
  cursor: pointer;
  border: 0;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,48,44,0.35); }

.btn-gold { background: var(--gold); color: #0a0a0a; }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(212,168,101,0.4);
}
.btn-ghost:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

.btn-line {
  background: transparent;
  color: var(--ivory);
  border-bottom: 1px solid var(--gold);
  padding: 12px 0;
  letter-spacing: 4px;
}
.btn-line:hover { color: var(--gold); transform: translateX(6px); }

.btn .arrow { font-size: 14px; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.95) 100%),
    radial-gradient(ellipse at top right, rgba(212,168,101,0.18), transparent 60%);
  z-index: 1;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 920px; }
.hero h1 {
  margin: 28px 0 32px;
}
.hero p {
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 44px;
  color: rgba(240,230,210,0.78);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  position: absolute;
  bottom: 60px;
  right: 40px;
  z-index: 2;
  text-align: right;
  border-right: 1px solid var(--gold);
  padding-right: 24px;
}
.hero-meta .num {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
}
.hero-meta .lbl {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}
@media (max-width: 900px) {
  .hero { min-height: 90vh; }
  .hero-meta { display: none; }
  .hero p { font-size: 16px; }
}

/* Hero variant: page hero (smaller) */
.hero-page {
  min-height: 60vh;
  padding-top: 160px;
}
.hero-page h1 { font-size: clamp(48px, 6vw, 80px); }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
.section-header .left .kicker { margin-bottom: 24px; }
.section-header h2 { max-width: 600px; }
.section-header .right p { max-width: 460px; }
@media (max-width: 900px) {
  .section-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
}

/* ============================================
   PROPERTY / PROJECT CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.prop-card {
  position: relative;
  background: var(--bg-2);
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.prop-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,0.5); border-color: rgba(212,168,101,0.25); }
.prop-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.prop-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.prop-card:hover .prop-card-img img { transform: scale(1.06); }

.prop-card-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,168,101,0.3);
}
.prop-card-tag.red { color: #fff; background: var(--red); border-color: var(--red); }

.prop-card-body { padding: 24px 24px 28px; }
.prop-card-loc {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.prop-card h3 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--ivory);
}
.prop-card-meta {
  display: flex;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--text-muted);
}
.prop-card-meta div { display: flex; align-items: center; gap: 6px; }
.prop-card-meta b { color: var(--ivory); font-weight: 500; font-family: var(--serif); font-size: 16px; }

.prop-card-price {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: var(--serif);
}

/* ============================================
   FEATURED PROPERTY (large card)
   ============================================ */
.featured-prop {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  margin-bottom: 60px;
}
.featured-prop-img {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.featured-prop-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-prop-content {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-prop-content .kicker { margin-bottom: 20px; }
.featured-prop-content h2 { margin-bottom: 24px; }
.featured-prop-content p { margin-bottom: 32px; }
.featured-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.featured-meta div { text-align: left; }
.featured-meta b { font-family: var(--serif); font-size: 32px; color: var(--gold); display: block; line-height: 1; }
.featured-meta span { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; display: block; }
@media (max-width: 900px) {
  .featured-prop { grid-template-columns: 1fr; }
  .featured-prop-img { min-height: 320px; }
  .featured-prop-content { padding: 40px 28px; }
}

/* ============================================
   STATS / METRICS
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 50px 32px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 12px;
}
.stat .num em { font-style: italic; color: var(--red); }
.stat .lbl {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 36px 16px; }
  .stat .num { font-size: 44px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ============================================
   ABOUT / MANIFESTO
   ============================================ */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.manifesto-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.manifesto-img img { width: 100%; height: 100%; object-fit: cover; }
.manifesto-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.4));
}
.manifesto-text .kicker { margin-bottom: 28px; }
.manifesto-text h2 { margin-bottom: 28px; }
.manifesto-text p { margin-bottom: 20px; font-size: 17px; }
.manifesto-text .signature {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--gold);
}
.manifesto-text .signature small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  font-style: normal;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .manifesto { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   BEFORE / AFTER
   ============================================ */
.before-after {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  border: 1px solid var(--line-soft);
}
.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle::before, .ba-handle::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.ba-handle::after {
  background: transparent;
  border: 2px solid var(--bg);
  width: 18px; height: 18px;
}
.ba-label {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(6px);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
}
.ba-label.left { left: 20px; }
.ba-label.right { right: 20px; }
.ba-caption {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.ba-caption strong { color: var(--gold); font-weight: 500; font-family: var(--serif); font-size: 14px; letter-spacing: 1px; text-transform: none; }
.ba-caption span::before { content: '· '; color: var(--gold); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}
.testimonial .quote-mark {
  font-family: var(--serif);
  font-size: 100px;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 20px;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ivory);
  font-style: italic;
  margin-bottom: 36px;
}
.testimonial cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}
.testimonial cite small {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-weight: 400;
}

.testi-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}
.testi-nav button {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  color: var(--gold);
  transition: all .3s var(--ease);
  font-size: 14px;
}
.testi-nav button:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-banner {
  position: relative;
  padding: 120px 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.85), rgba(10,10,10,0.95)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1800') center/cover;
}
.cta-banner h2 {
  font-size: clamp(40px, 6vw, 80px);
  max-width: 900px;
  margin: 30px auto 30px;
}
.cta-banner p {
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { font-size: 14px; max-width: 320px; }
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-family: var(--sans);
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--text-muted); transition: color .3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================
   FILTERS BAR
   ============================================ */
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  margin-bottom: 40px;
}
.filter-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.filter-group select, .filter-group input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: 1px;
  transition: border .3s;
}
.filter-group select:focus, .filter-group input:focus { outline: 0; border-color: var(--gold); }

.results-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.results-count b { color: var(--gold); font-family: var(--serif); font-size: 18px; font-weight: 400; }

/* ============================================
   MODAL
   ============================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
  overflow-y: auto;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--line);
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(40px);
  transition: transform .4s var(--ease);
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(10,10,10,0.9);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 20px;
  z-index: 5;
  transition: .3s;
}
.modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }

.modal-gallery {
  height: 480px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: rgba(10,10,10,0.7);
  padding: 8px;
  backdrop-filter: blur(8px);
}
.gallery-thumbs img {
  width: 60px; height: 40px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity .3s;
}
.gallery-thumbs img.active, .gallery-thumbs img:hover { opacity: 1; }

.modal-body { padding: 50px; }
.modal-body h2 { margin-bottom: 16px; }
.modal-body .modal-loc {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}
.modal-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin: 32px 0;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
}
.modal-features div b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 4px;
}
.modal-features div span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }

.modal-desc { margin: 30px 0; font-size: 16px; line-height: 1.8; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 30px; }
.modal-tags span { padding: 6px 14px; background: rgba(212,168,101,0.08); border: 1px solid rgba(212,168,101,0.2); font-size: 11px; color: var(--gold); letter-spacing: 1px; }

.modal-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .modal-gallery { height: 280px; }
  .modal-body { padding: 28px 20px; }
}

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  color: var(--ivory);
  font-size: 14px;
  font-family: var(--sans);
  transition: border .3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: 0; border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }

.form-success {
  padding: 20px;
  background: rgba(93, 107, 62, 0.15);
  border: 1px solid rgba(93, 107, 62, 0.4);
  color: #b8d094;
  margin-bottom: 24px;
  display: none;
}
.form-success.show { display: block; }

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform .3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: pulse 2s infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.fade-up.in { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.fade-in.in { opacity: 1; }

.stagger > * { transition-delay: 0s; }
.stagger.in > *:nth-child(1) { transition-delay: 0s; }
.stagger.in > *:nth-child(2) { transition-delay: .1s; }
.stagger.in > *:nth-child(3) { transition-delay: .2s; }
.stagger.in > *:nth-child(4) { transition-delay: .3s; }
.stagger.in > *:nth-child(5) { transition-delay: .4s; }
.stagger.in > *:nth-child(6) { transition-delay: .5s; }

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader .brand { font-size: 28px; }
.loader-bar {
  width: 200px;
  height: 1px;
  background: var(--line-soft);
  position: relative;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: load 1.4s ease infinite;
}
@keyframes load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.process-step {
  padding: 50px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.process-step:last-child { border-right: 0; }
.process-step .step-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 30px;
}
.process-step h4 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--ivory);
}
.process-step p { font-size: 14px; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: 0; }
}

/* ============================================
   SERVICES CARDS
   ============================================ */
.service-card {
  padding: 50px 36px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  position: relative;
  transition: all .4s var(--ease);
  height: 100%;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}
.service-card .service-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 30px;
}
.service-card h3 { font-size: 28px; margin-bottom: 18px; }
.service-card p { font-size: 14px; margin-bottom: 24px; }
.service-card ul { list-style: none; }
.service-card ul li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card ul li::before { content: '—'; color: var(--gold); }
.service-card ul li:last-child { border-bottom: 0; }

/* ============================================
   CONTACT GRID
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info { padding-right: 40px; }
.contact-info h2 { margin-bottom: 30px; }
.contact-detail {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-detail .icon-wrap {
  width: 50px; height: 50px;
  background: rgba(212,168,101,0.08);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
}
.contact-detail .lbl {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-detail .val {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ivory);
}
.contact-form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  padding: 50px;
}
.contact-form-wrap h3 { margin-bottom: 30px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-info { padding-right: 0; }
  .contact-form-wrap { padding: 32px 24px; }
}

.qr-block {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.qr-block img { width: 120px; height: 120px; background: #fff; padding: 8px; }
.qr-block-text h5 { font-family: var(--serif); font-size: 22px; color: var(--ivory); margin-bottom: 6px; font-weight: 400; }
.qr-block-text p { font-size: 13px; }

.map-wrap {
  margin-top: 60px;
  border: 1px solid var(--line);
  height: 420px;
  overflow: hidden;
  position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.5) contrast(1.1) brightness(0.85); }

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-body { background: var(--bg); }
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(ellipse at center, rgba(212,168,101,0.08), transparent 60%),
    var(--bg);
}
.admin-login-card {
  width: 100%;
  max-width: 420px;
  padding: 50px 40px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.admin-login-card .brand { margin-bottom: 30px; justify-content: center; }
.admin-login-card h2 { text-align: center; margin-bottom: 8px; font-size: 28px; }
.admin-login-card p { text-align: center; margin-bottom: 30px; font-size: 13px; }

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-sidebar .brand { margin-bottom: 40px; }
.admin-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all .3s;
  border-left: 2px solid transparent;
  cursor: pointer;
}
.admin-nav a:hover, .admin-nav a.active {
  color: var(--gold);
  background: rgba(212,168,101,0.06);
  border-left-color: var(--gold);
}
.admin-nav a .badge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0;
}

.admin-sidebar-footer {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
}
.admin-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: .3s;
}
.admin-logout:hover { background: var(--red); color: #fff; border-color: var(--red); }

.admin-main { padding: 40px; }
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.admin-header h1 { font-size: 36px; }

.admin-section { display: none; }
.admin-section.active { display: block; }

.admin-table-wrap {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th, .admin-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid var(--line-soft);
}
.admin-table th {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  background: rgba(212,168,101,0.04);
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-table .row-actions { display: flex; gap: 8px; }
.admin-table .row-actions button {
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: .3s;
}
.admin-table .row-actions button:hover { color: var(--gold); border-color: var(--gold); }
.admin-table .row-actions button.delete:hover { color: #fff; border-color: var(--red); background: var(--red); }

.admin-thumb { width: 60px; height: 40px; object-fit: cover; border: 1px solid var(--line-soft); }

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.admin-form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .admin-form-grid { grid-template-columns: 1fr; } }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.admin-stat {
  padding: 28px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
}
.admin-stat .lbl { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.admin-stat .val { font-family: var(--serif); font-size: 44px; color: var(--gold); line-height: 1; }
.admin-stat .delta { font-size: 11px; color: var(--text-muted); margin-top: 8px; }

.image-input-row {
  display: flex; gap: 8px; margin-bottom: 8px;
}
.image-input-row input { flex: 1; }
.image-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.image-preview-list img {
  width: 80px; height: 60px;
  object-fit: cover;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: opacity .3s;
}
.image-preview-list img:hover { opacity: 0.5; }

.btn-add-img {
  padding: 8px 14px;
  border: 1px dashed var(--line);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
}
.btn-add-img:hover { background: rgba(212,168,101,0.06); }

.ba-help {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============= MULTI IMAGE UPLOADER ============= */
.multi-uploader { margin-top: 8px; }
.dropzone {
  border: 2px dashed var(--line);
  padding: 40px 24px;
  text-align: center;
  transition: all .3s var(--ease);
  cursor: pointer;
  background: var(--bg-2);
}
.dropzone.dragover, .dropzone:hover {
  border-color: var(--gold);
  background: rgba(212,168,101,0.05);
}
.dropzone-title { font-family: var(--serif); font-size: 22px; color: var(--ivory); margin-bottom: 8px; }
.dropzone-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.dropzone-hint { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }
.link-btn {
  background: none; border: 0; color: var(--gold);
  text-decoration: underline; cursor: pointer;
  font: inherit; padding: 0;
}
.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.image-preview-tile {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.image-preview-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-preview-tile.uploading {
  border-color: var(--gold);
  border-style: dashed;
}
.uploading-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg-2);
}
.spinner {
  width: 30px; height: 30px;
  border: 2px solid rgba(212,168,101,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.tile-remove {
  position: absolute; top: 6px; right: 6px;
  width: 26px; height: 26px;
  background: rgba(10,10,10,0.85);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.tile-remove:hover { background: var(--red); color: #fff; border-color: var(--red); }
.tile-badge {
  position: absolute; bottom: 6px; left: 6px;
  padding: 3px 8px;
  background: var(--gold);
  color: var(--bg);
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ============= SINGLE UPLOADER (before / after) ============= */
.single-uploader {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 10px;
}
.single-preview {
  width: 260px;
  aspect-ratio: 16/9;
  background: var(--bg) center/cover no-repeat;
  border: 1px solid var(--line-soft);
}
.single-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (max-width: 600px) {
  .single-uploader { grid-template-columns: 1fr; }
  .single-preview { width: 100%; }
}

/* ============= MODE BADGE ============= */
.mode-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line);
  margin-top: 8px;
  font-weight: 600;
}

.message-card {
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  margin-bottom: 16px;
  position: relative;
  transition: border .3s;
}
.message-card.unread { border-color: var(--red); }
.message-card.unread::before {
  content: 'NUEVO';
  position: absolute;
  top: 16px; right: 16px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  padding: 3px 8px;
  letter-spacing: 1px;
}
.message-card h4 { font-size: 18px; margin-bottom: 4px; }
.message-card .meta { font-size: 11px; color: var(--text-muted); margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.message-card .body { font-size: 14px; color: var(--ivory); margin-bottom: 16px; }
.message-card .actions { display: flex; gap: 10px; }

@media (max-width: 800px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-sidebar-footer { position: static; margin-top: 30px; }
  .admin-main { padding: 24px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

/* Hide elements */
.hidden { display: none !important; }
