/* Centros de Mesa — hoja CSS independiente */

:root{ --bg:#000; --gold:#d4af37; --gold-2:#e5c96c; --muted:#f3e0b0 }

*{
	box-sizing:border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body{ 
	margin:0; 
	font-family:'Poppins',sans-serif; 
	background:var(--bg); 
	color:var(--gold);
	overflow-x: hidden;
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* NAV */
.nav{ 
	background:#070707; 
	position:sticky; 
	top:0; 
	z-index:900; 
	border-bottom:1px solid rgba(212,175,55,0.06);
	transition: box-shadow 0.3s ease;
}

.nav-inner{ 
	max-width:1100px; 
	margin:0 auto; 
	display:flex; 
	align-items:center; 
	justify-content:space-between; 
	padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 2rem);
	flex-wrap: wrap;
	gap: clamp(0.75rem, 2vw, 1.5rem);
}

.brand{ 
	color:var(--gold); 
	font-weight:700; 
	text-decoration:none;
	font-size: clamp(1rem, 3vw, 1.3rem);
	white-space: nowrap;
}

.nav-toggle{ 
	display:none; 
	background:transparent; 
	border:0; 
	color:var(--gold); 
	font-size: clamp(1.2rem, 3vw, 1.6rem);
	cursor: pointer;
	padding: 0;
}

.nav-checkbox {
	display: none;
}

.nav-links{ 
	list-style:none; 
	display:flex; 
	gap: clamp(0.75rem, 2vw, 1.5rem); 
	margin:0; 
	padding:0;
	flex-wrap: wrap;
}

.nav-links a{ 
	color:var(--gold-2); 
	text-decoration:none;
	font-size: clamp(0.85rem, 1.5vw, 1rem);
	white-space: nowrap;
	transition: color 0.3s ease;
}

.nav-links a:hover {
	color: var(--gold);
}

.nav--hidden{ 
	transform:translateY(-110%); 
	transition:transform .25s ease;
}

.nav.nav--open{ 
	box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

/* Header y layout */
.hero{ 
	padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem);
	margin-top: 60px;
}

.hero-inner{ 
	max-width:1100px; 
	margin:0 auto;
}

.hero h1{ 
	color:#fff; 
	margin:0 0 8px;
	font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.lead{ 
	color:var(--muted);
	font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.container{ 
	max-width:1100px; 
	margin:24px auto; 
	padding: 0 clamp(1rem, 3vw, 2rem);
}

.container h2{ 
	color:var(--gold);
	font-size: clamp(1.3rem, 4vw, 1.8rem);
	margin-top: 0;
}

.container p, .container li{ 
	color:var(--muted); 
	line-height:1.6;
	font-size: clamp(0.9rem, 1.8vw, 1.05rem);
}

.page-grid{ 
	display:grid; 
	grid-template-columns:1fr 360px; 
	gap: clamp(1rem, 3vw, 2rem);
	align-items: start;
}

.aside-img{ 
	width:100%; 
	height:260px; 
	object-fit:cover; 
	border-radius:8px; 
	box-shadow:0 8px 20px rgba(0,0,0,0.45);
}

.btn{ 
	display:inline-block; 
	padding: clamp(0.75rem, 1.5vw, 0.85rem) clamp(1.2rem, 3vw, 1.5rem); 
	background:var(--gold); 
	color:#000; 
	border-radius:8px; 
	text-decoration:none;
	font-weight: bold;
	transition: all 0.3s ease;
	font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.btn:hover {
	background: #f3d57c;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Caja con borde dorado para apartados */
.box{
	border:2px solid var(--gold);
	padding: clamp(1rem, 2vw, 1.5rem);
	border-radius:10px;
	background: rgba(255,255,255,0.02);
	transition: box-shadow .24s ease, transform .18s ease;
	margin-bottom: 1.5rem;
}

.box:hover {
	box-shadow: 0 12px 40px rgba(212,175,55,0.18);
	transform: translateY(-4px);
}

.box h2 {
	font-size: clamp(1.2rem, 3vw, 1.5rem);
	margin-top: 0;
}

/* RESPONSIVE */
@media (max-width:900px){
	.nav-toggle{ 
		display: inline-block;
	}

	.nav-checkbox { 
		display: none;
	}

	.nav-links{ 
		display: none; 
		flex-direction: column; 
		width: 100%; 
		padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem); 
		gap: clamp(0.5rem, 1.5vw, 0.75rem);
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #070707;
		box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	}

	.nav-checkbox:checked + .nav-toggle + .nav-links { 
		display: flex; 
		flex-direction: column; 
		width: 100%; 
	}

	.nav-inner { 
		flex-wrap: wrap;
	}

	.nav-links li { 
		padding: clamp(0.5rem, 1vw, 0.75rem) 0;
	}

	.page-grid{ 
		grid-template-columns: 1fr;
	}

	.aside-img{ 
		height: 220px;
	}

	.hero {
		margin-top: 50px;
	}
}

@media (max-width: 600px) {
	.hero {
		margin-top: 45px;
		padding: 1.5rem 1rem;
	}

	.hero h1 {
		font-size: 1.3rem;
	}

	.lead {
		font-size: 0.9rem;
	}

	.container {
		padding: 0 0.75rem;
	}

	.page-grid {
		gap: 1rem;
	}

	.aside-img {
		height: 180px;
	}

	.box {
		padding: 1rem;
	}
}

@media (max-width: 480px) {
	.nav-inner {
		padding: 0.75rem 0.5rem;
	}

	.brand {
		font-size: 1rem;
	}

	.hero h1 {
		font-size: 1.1rem;
	}

	.container h2 {
		font-size: 1.2rem;
	}

	.btn {
		padding: 0.6rem 1rem;
		font-size: 0.85rem;
		width: 100%;
		text-align: center;
	}
}

/* ===== MODAL PARA IMÁGENES ===== */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 20px;
  box-sizing: border-box;
  overflow: auto;
  justify-content: center;
  align-items: center;
}

.image-modal.active {
  display: flex;
}

.modal-image {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--gold);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2001;
}

.modal-close:hover {
  color: #f3d57c;
}

.modal-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 2001;
}

.modal-prev,
.modal-next {
  background-color: rgba(212, 175, 55, 0.8);
  color: #000;
  border: none;
  padding: 12px 18px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.modal-prev:hover,
.modal-next:hover {
  background-color: var(--gold);
  transform: scale(1.1);
}

.modal-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .modal-image {
    max-width: 95%;
    max-height: 70vh;
  }

  .modal-close {
    font-size: 30px;
    top: 10px;
    right: 15px;
  }

  .modal-prev,
  .modal-next {
    padding: 10px 14px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .modal-nav {
    bottom: 20px;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .modal-image {
    max-width: 98%;
    max-height: 60vh;
  }

  .modal-close {
    font-size: 24px;
    top: 5px;
    right: 10px;
  }

  .modal-prev,
  .modal-next {
    padding: 8px 12px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .modal-nav {
    bottom: 15px;
    gap: 10px;
  }
}

.box:hover{
	box-shadow: 0 12px 40px rgba(212,175,55,0.18);
	transform: translateY(-4px);
}
.container section{ margin-bottom:18px }

