/* ===== VARIABLES ===== */
:root {
  --violet: #7c3aed;
  --violet-light: #a78bfa;
  --violet-dark: #5b21b6;
  --violet-bg: #f5f3ff;
  --violet-border: #ddd6fe;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --shadow: 0 4px 24px rgba(124, 58, 237, 0.08);
  --shadow-hover: 0 8px 32px rgba(124, 58, 237, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--violet-border);
  box-shadow: 0 2px 12px rgba(124,58,237,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; }
.logo-name { display: block; font-weight: 700; font-size: 1.1rem; color: var(--violet-dark); line-height: 1.2; }
.logo-sub { display: block; font-size: 0.72rem; color: var(--violet-light); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--gray-600);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  background: var(--violet-bg); color: var(--violet);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--violet); border-radius: 2px; transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: url('hero.png') center center / cover no-repeat;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 68px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,27,75,0.82) 0%, rgba(76,29,149,0.75) 40%, rgba(124,58,237,0.65) 100%);
}
.hero-overlay { display: none; }
.hero-content {
  position: relative; z-index: 1;
  text-align: center; color: white;
  padding: 80px 24px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px;
}
.search-bar {
  display: flex; gap: 8px; max-width: 700px; margin: 0 auto 48px;
  background: white; border-radius: 50px; padding: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  flex-wrap: wrap;
}
.search-select, .search-input {
  border: none; outline: none; font-family: inherit;
  font-size: 0.95rem; color: var(--gray-800);
  background: transparent; padding: 10px 16px;
}
.search-select { border-right: 1px solid var(--gray-200); min-width: 160px; }
.search-input { flex: 1; min-width: 200px; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 700; }
.stat span { font-size: 0.9rem; opacity: 0.8; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--violet);
  color: white; font-weight: 600;
  padding: 12px 28px; border-radius: 50px;
  font-size: 0.95rem; transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--violet-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(124,58,237,0.4); }
.btn-full { width: 100%; border-radius: var(--radius-sm); }
.btn-outline {
  border: 2px solid var(--violet); color: var(--violet);
  font-weight: 600; padding: 10px 24px; border-radius: 50px;
  font-size: 0.9rem; transition: all var(--transition);
}
.btn-outline:hover { background: var(--violet); color: white; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; }

/* ===== FILTERS ===== */
.filters {
  display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap;
}
.filter-select {
  padding: 10px 16px; border: 1.5px solid var(--violet-border);
  border-radius: var(--radius-sm); font-family: inherit;
  font-size: 0.9rem; color: var(--gray-800);
  background: white; cursor: pointer; transition: border-color var(--transition);
  outline: none;
}
.filter-select:focus { border-color: var(--violet); }

/* ===== PROPERTY CARDS ===== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.property-card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: all var(--transition); cursor: pointer;
  border: 1px solid var(--gray-200);
}
.property-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
  border-color: var(--violet-border);
}
.card-image {
  position: relative; height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--violet-bg), var(--violet-border));
}
.card-image .img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.card-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-venta { background: var(--violet); color: white; }
.badge-alquiler { background: #059669; color: white; }
.badge-destacada { background: #f59e0b; color: white; }
.card-body { padding: 20px; }
.card-price {
  font-size: 1.4rem; font-weight: 700; color: var(--violet);
  margin-bottom: 6px;
}
.card-price span { font-size: 0.85rem; font-weight: 400; color: var(--gray-400); }
.card-title { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--gray-800); }
.card-location { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 14px; }
.card-location::before { content: '📍 '; }
.card-features {
  display: flex; gap: 16px; padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.82rem; color: var(--gray-600);
}
.card-feature { display: flex; align-items: center; gap: 4px; }

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center; padding: 48px; color: var(--gray-400);
  font-size: 1rem; grid-column: 1/-1;
}
.hidden { display: none !important; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.about-text h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; color: var(--violet-dark); }
.about-text p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.8; }
.about-features { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.feature { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.feature-icon { color: var(--violet); font-weight: 700; font-size: 1.1rem; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-card {
  background: white; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  border: 1px solid var(--violet-border);
  transition: all var(--transition);
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.service-icon { font-size: 2rem; margin-bottom: 12px; }
.service-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--violet-dark); }
.service-card p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { display: block; font-weight: 600; margin-bottom: 4px; color: var(--gray-800); }
.contact-item p { color: var(--gray-600); font-size: 0.9rem; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.social-btn {
  padding: 10px 18px; border-radius: 50px;
  background: var(--violet-bg); color: var(--violet);
  font-size: 0.875rem; font-weight: 500;
  border: 1.5px solid var(--violet-border);
  transition: all var(--transition);
}
.social-btn:hover { background: var(--violet); color: white; }

/* ===== FORM ===== */
.contact-form {
  background: white; border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
  border: 1px solid var(--violet-border);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.875rem; font-weight: 500;
  margin-bottom: 6px; color: var(--gray-800);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; color: var(--gray-800);
  transition: border-color var(--transition); outline: none;
  background: var(--gray-50);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--violet); background: white;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.08);
}
.form-group textarea { resize: vertical; }
.form-success {
  margin-top: 16px; padding: 14px; border-radius: var(--radius-sm);
  background: #ecfdf5; color: #065f46; font-size: 0.9rem; text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: #1e1b4b; color: white; padding: 40px 0;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.footer .logo-name { color: var(--violet-light); }
.footer .logo-sub { color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--violet-light); }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal {
  background: white; border-radius: var(--radius);
  max-width: 700px; width: 100%; max-height: 90vh;
  overflow-y: auto; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-100); color: var(--gray-600);
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--violet); color: white; }
.modal-img {
  height: 280px; background: linear-gradient(135deg, var(--violet-bg), var(--violet-border));
  display: flex; align-items: center; justify-content: center; font-size: 6rem;
}
.modal-body { padding: 28px; }
.modal-badge {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  margin-bottom: 12px;
}
.modal-price { font-size: 2rem; font-weight: 700; color: var(--violet); margin-bottom: 8px; }
.modal-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.modal-location { color: var(--gray-600); margin-bottom: 20px; }
.modal-features {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 16px 0; border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100); margin-bottom: 20px;
}
.modal-feature { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--gray-600); }
.modal-desc { color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; font-size: 0.95rem; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: white; padding: 16px; border-bottom: 1px solid var(--violet-border); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .search-bar { border-radius: var(--radius); }
  .search-select { border-right: none; border-bottom: 1px solid var(--gray-200); width: 100%; }
  .hero-stats { gap: 24px; }
  .about-cards { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .modal-actions { flex-direction: column; }
  .properties-grid { grid-template-columns: 1fr; }
}

/* ===== ADMIN TRIGGER ===== */
.admin-trigger {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.2); font-size: 1rem;
  padding: 4px 8px; border-radius: 6px;
  transition: color var(--transition);
  margin-top: 4px;
}
.admin-trigger:hover { color: rgba(255,255,255,0.6); }

/* ===== ADMIN LOGIN ===== */
.admin-login-modal { max-width: 400px; }
.admin-login-body { padding: 40px 36px; text-align: center; }
.admin-login-icon { font-size: 3rem; margin-bottom: 16px; }
.admin-login-body h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-800); }
.admin-login-body p { color: var(--gray-600); margin-bottom: 24px; font-size: 0.9rem; }
.admin-login-body .form-group { text-align: left; }
.admin-login-error {
  background: #fef2f2; color: #dc2626; border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 0.875rem; margin-bottom: 12px;
}

/* ===== ADMIN PANEL ===== */
.admin-panel {
  position: fixed; inset: 0; z-index: 300;
  background: var(--gray-50); overflow-y: auto;
  display: flex; flex-direction: column;
}
.admin-header {
  background: white; border-bottom: 1px solid var(--violet-border);
  padding: 16px 32px; display: flex;
  align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  box-shadow: 0 2px 12px rgba(124,58,237,0.06);
  position: sticky; top: 0; z-index: 10;
}
.admin-header-left { display: flex; align-items: center; gap: 12px; }
.admin-logo { font-size: 2rem; }
.admin-title { display: block; font-weight: 700; font-size: 1.1rem; color: var(--violet-dark); }
.admin-subtitle { display: block; font-size: 0.75rem; color: var(--gray-400); }
.admin-header-right { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-body { padding: 32px; max-width: 1200px; margin: 0 auto; width: 100%; }

/* ===== ADMIN STATS ===== */
.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; margin-bottom: 28px;
}
.admin-stat-card {
  background: white; border-radius: var(--radius);
  padding: 20px 24px; border: 1px solid var(--violet-border);
  box-shadow: var(--shadow);
}
.admin-stat-card .stat-num { font-size: 2rem; font-weight: 700; color: var(--violet); display: block; }
.admin-stat-card .stat-label { font-size: 0.8rem; color: var(--gray-600); margin-top: 2px; }

/* ===== ADMIN FILTERS ===== */
.admin-filters {
  display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center;
}

/* ===== ADMIN TABLE ===== */
.admin-table-wrap {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--violet-border); overflow: hidden;
  box-shadow: var(--shadow); overflow-x: auto;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table thead { background: var(--violet-bg); }
.admin-table th {
  padding: 14px 16px; text-align: left;
  font-weight: 600; color: var(--violet-dark);
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em;
  white-space: nowrap;
}
.admin-table td { padding: 14px 16px; border-top: 1px solid var(--gray-100); vertical-align: middle; }
.admin-table tr:hover td { background: var(--violet-bg); }
.admin-table .prop-info { display: flex; align-items: center; gap: 10px; }
.admin-table .prop-emoji { font-size: 1.5rem; flex-shrink: 0; }
.admin-table .prop-name { font-weight: 500; color: var(--gray-800); }
.admin-table .prop-loc { font-size: 0.8rem; color: var(--gray-400); }

/* ===== STATUS BADGES ===== */
.status-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
}
.status-activa { background: #ecfdf5; color: #065f46; }
.status-reservada { background: #fff7ed; color: #c2410c; }
.tipo-badge {
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
}
.tipo-venta { background: var(--violet-bg); color: var(--violet); }
.tipo-alquiler { background: #ecfdf5; color: #065f46; }

/* ===== ADMIN ACTIONS ===== */
.admin-actions { display: flex; gap: 6px; flex-wrap: nowrap; }
.action-btn {
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 500; transition: all var(--transition);
  white-space: nowrap; border: 1.5px solid transparent;
}
.action-edit { background: var(--violet-bg); color: var(--violet); border-color: var(--violet-border); }
.action-edit:hover { background: var(--violet); color: white; }
.action-reserve { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.action-reserve:hover { background: #c2410c; color: white; }
.action-unreserve { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.action-unreserve:hover { background: #065f46; color: white; }
.action-delete { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.action-delete:hover { background: #dc2626; color: white; }

/* ===== PROP FORM MODAL ===== */
.prop-form-modal { max-width: 680px; }
#propFormOverlay { z-index: 400; }
.prop-form-modal .modal-body h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; color: var(--violet-dark); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; }
.checkbox-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; cursor: pointer; color: var(--gray-700);
}
.checkbox-label input[type=checkbox] {
  width: 16px; height: 16px; accent-color: var(--violet); cursor: pointer;
}

/* ===== RESERVED OVERLAY ON CARDS ===== */
.card-reserved-banner {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(194, 65, 12, 0.9); color: white;
  text-align: center; padding: 6px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .admin-body { padding: 16px; }
  .admin-header { padding: 12px 16px; }
  .admin-actions { flex-wrap: wrap; }
}

/* ===== IMAGE UPLOAD (ADMIN) ===== */
.img-upload-area {
  border: 2px dashed var(--violet-border); border-radius: var(--radius);
  padding: 28px; text-align: center; cursor: pointer;
  background: var(--violet-bg); transition: all var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.img-upload-area:hover { border-color: var(--violet); background: #ede9fe; }
.img-upload-area.drag-over { border-color: var(--violet); background: #ede9fe; transform: scale(1.01); }
.img-upload-icon { font-size: 2rem; }
.img-upload-area span { font-size: 0.9rem; color: var(--gray-600); }
.img-upload-hint { font-size: 0.78rem !important; color: var(--gray-400) !important; }

.img-preview-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px; margin-top: 12px;
}
.img-preview-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 1; border: 2px solid var(--violet-border);
}
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-preview-item .img-remove {
  position: absolute; top: 4px; right: 4px;
  background: rgba(0,0,0,0.6); color: white;
  border: none; border-radius: 50%; width: 22px; height: 22px;
  font-size: 0.7rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background var(--transition);
}
.img-preview-item .img-remove:hover { background: #dc2626; }
.img-preview-item.img-main { border-color: var(--violet); border-width: 2px; }
.img-main-badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--violet); color: white;
  font-size: 0.65rem; text-align: center; padding: 2px;
  font-weight: 600;
}

/* ===== CARD IMAGE (with photo) ===== */
.card-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ===== MODAL GALLERY ===== */
.modal-gallery {
  position: relative; background: #0f0f0f; overflow: hidden;
}
.gallery-main {
  height: 320px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.3s ease;
}
.gallery-main .gallery-placeholder {
  font-size: 6rem; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--violet-bg), var(--violet-border));
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.9); border: none; border-radius: 50%;
  width: 40px; height: 40px; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3); transition: all var(--transition);
  z-index: 2;
}
.gallery-nav:hover { background: white; transform: translateY(-50%) scale(1.1); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-counter {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.6); color: white;
  padding: 3px 10px; border-radius: 20px; font-size: 0.78rem;
}
.gallery-thumbs {
  display: flex; gap: 6px; padding: 10px 12px;
  overflow-x: auto; background: #1a1a1a;
}
.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 2px; }
.gallery-thumb {
  flex-shrink: 0; width: 56px; height: 42px; border-radius: 4px;
  overflow: hidden; cursor: pointer; border: 2px solid transparent;
  transition: border-color var(--transition); opacity: 0.6;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--violet); opacity: 1; }

/* ===== CONTACTO SIN FORMULARIO ===== */
.contact-info-centered {
  max-width: 560px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 24px;
}
.contact-info-centered .social-links { margin-top: 8px; }

/* SEO link oculto en cards */
.card-seo-link {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0; pointer-events: none;
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25d366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
