/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #b8973a;
  --gold-light: #d4b35a;
  --dark: #132A3B;
  --dark2: #0d1f2d;
  --text: #333;
  --text-light: #666;
  --bg: #f7f5f2;
  --white: #fff;
  --border: #e0ddd8;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.centered { text-align: center; }
.eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.align-center { align-items: center; }

/* ===== TYPOGRAPHY ===== */
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--dark); font-weight: 700; margin-bottom: 1rem; line-height: 1.15; font-family: 'Playfair Display', Georgia, serif; }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.section-lead { color: var(--text-light); font-size: 1.05rem; max-width: 640px; margin: 0 auto 2.5rem; }
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); font-family: inherit; }
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-book { background: var(--gold); color: var(--white); padding: 10px 22px; border-radius: var(--radius); font-weight: 700; font-size: .9rem; font-family: inherit; border: none; cursor: pointer; transition: all var(--transition); white-space: nowrap; }
.btn-book:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(19,42,59,.97); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; padding: 0 32px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; background: var(--gold); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 900; color: var(--white); font-family: 'Playfair Display', serif; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: .95rem; font-weight: 900; color: var(--white); letter-spacing: .12em; }
.logo-sub { font-size: .5rem; letter-spacing: .2em; color: rgba(255,255,255,.5); text-transform: uppercase; margin-top: 2px; }

/* Nav */
.main-nav ul { display: flex; gap: 2px; }
.main-nav a { color: rgba(255,255,255,.82); font-size: .88rem; font-weight: 500; padding: 8px 12px; border-radius: 6px; transition: all var(--transition); }
.main-nav a:hover { color: var(--gold); background: rgba(184,151,58,.12); }

.header-right { display: flex; align-items: center; gap: 12px; }
.hdr-link { color: rgba(255,255,255,.65); display: flex; align-items: center; transition: color var(--transition); }
.hdr-link:hover { color: var(--gold); }
.burger { display: none; background: none; border: none; color: var(--white); cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }

/* ===== MOBILE NAV ===== */
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1999; display: none; }
.mobile-overlay.open { display: block; }
.mobile-nav { position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--dark); z-index: 2000; transform: translateX(100%); transition: transform .35s ease; padding-top: 70px; }
.mobile-nav.open { transform: translateX(0); }
.mobile-close { position: absolute; top: 18px; right: 18px; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a { color: rgba(255,255,255,.82); font-size: 1rem; padding: 16px 28px; border-bottom: 1px solid rgba(255,255,255,.08); display: block; transition: color var(--transition); }
.mobile-nav a:hover { color: var(--gold); }
.mobile-reserve { color: var(--gold) !important; font-weight: 700; }

/* ===== HERO ===== */
.hero { position: relative; height: calc(100vh - 96px); min-height: 520px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; background: var(--dark); }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 60%, rgba(0,0,0,.8) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 760px; padding: 24px; animation: fadeInUp .9s ease both; }
.hero-stars { font-size: 1.15rem; color: var(--gold); letter-spacing: .35em; margin-bottom: 14px; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.05; margin-bottom: 10px; text-shadow: 0 2px 20px rgba(0,0,0,.4); font-family: 'Playfair Display', serif; }
.hero-location { font-size: .88rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 32px; }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-badges span { background: rgba(255,255,255,.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); border-radius: 50px; padding: 7px 16px; font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* Slider nav */
.slide-nav { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 14px; }
.slide-arrow { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: var(--white); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.slide-arrow:hover { background: var(--gold); border-color: var(--gold); }
.slide-dots { display: flex; gap: 8px; }
.sdot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.38); cursor: pointer; border: none; transition: all var(--transition); }
.sdot.active { background: var(--gold); transform: scale(1.3); }

/* ===== BOOKING BAR ===== */
.booking-bar { background: var(--dark); padding: 24px 0; }
.booking-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.bf-group { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 140px; }
.bf-group label { color: rgba(255,255,255,.6); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bf-group input, .bf-group select { background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.14); color: var(--white); padding: 11px 13px; border-radius: var(--radius); font-size: .91rem; width: 100%; font-family: inherit; outline: none; transition: border-color var(--transition); }
.bf-group input:focus, .bf-group select:focus { border-color: var(--gold); }
.bf-group select option { background: var(--dark); color: var(--white); }
.bf-group input[type="date"] { cursor: pointer; }
.bf-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1); opacity: .6; cursor: pointer;
}
.btn-buscar { background: var(--gold); color: var(--white); border: none; padding: 12px 30px; border-radius: var(--radius); font-weight: 700; font-size: .93rem; cursor: pointer; transition: all var(--transition); font-family: inherit; white-space: nowrap; height: 46px; align-self: flex-end; letter-spacing: .04em; }
.btn-buscar:hover { background: var(--gold-light); transform: translateY(-1px); }
.booking-result { margin-top: 14px; padding: 13px 18px; border-radius: var(--radius); font-weight: 600; display: none; font-size: .9rem; }
.booking-result.success { background: rgba(40,167,69,.12); color: #5cb85c; border: 1px solid rgba(92,184,92,.3); display: block; }
.booking-result.error { background: rgba(220,53,69,.12); color: #d9534f; border: 1px solid rgba(217,83,79,.3); display: block; }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--white); }

/* ===== SOBRE EL HOTEL ===== */
.text-block p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.75; }
.text-block p strong { color: var(--dark); }
.hotel-highlights { display: flex; gap: 32px; margin-top: 2rem; flex-wrap: wrap; }
.highlight { display: flex; flex-direction: column; align-items: center; text-align: center; }
.highlight strong { font-size: 1.9rem; font-weight: 900; color: var(--gold); line-height: 1; font-family: 'Playfair Display', serif; }
.highlight span { font-size: .72rem; color: var(--text-light); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }

/* Photo collage */
.photo-block .photo-collage { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; border-radius: 14px; overflow: hidden; height: 420px; }
.ph-main { grid-row: 1 / 3; overflow: hidden; }
.ph-side { display: flex; flex-direction: column; gap: 8px; }
.ph-small { overflow: hidden; flex: 1; }
.ph-main img, .ph-small img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.ph-main:hover img, .ph-small:hover img { transform: scale(1.05); }
.ph-fallback { background: linear-gradient(135deg, var(--dark), #1a4a6e) !important; }

/* ===== ROOMS ===== */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.room-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; }
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-featured { border: 2px solid var(--gold); }
.room-badge-top { background: var(--gold); color: var(--white); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 7px 0; }

/* Room photo */
.room-photo { position: relative; height: 230px; overflow: hidden; background: var(--dark); }
.room-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; display: block; }
.room-card:hover .room-photo img { transform: scale(1.07); }
.room-photo-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.42); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.room-card:hover .room-photo-overlay { opacity: 1; }
.room-photo-overlay span { background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.7); color: var(--white); padding: 10px 22px; border-radius: 50px; font-size: .88rem; font-weight: 700; letter-spacing: .03em; backdrop-filter: blur(4px); }
/* Gradient fallbacks */
.rph-fallback { background: linear-gradient(135deg, #1a2a3a 0%, #2c5364 100%) !important; }
.rph-2 { background: linear-gradient(135deg, #134e5e, #71b280) !important; }
.rph-3 { background: linear-gradient(135deg, #2c3e50, #3498db) !important; }
.rph-4 { background: linear-gradient(135deg, #373b44, #8e54e9) !important; }
.rph-5 { background: linear-gradient(135deg, #0f2027, #b8973a, #0f2027) !important; }

.room-info { padding: 22px; }
.room-info h3 { font-size: 1.18rem; margin-bottom: 8px; color: var(--dark); font-family: 'Playfair Display', serif; }
.room-info p { color: var(--text-light); font-size: .88rem; margin-bottom: 14px; line-height: 1.55; }
.room-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.room-size { background: var(--bg); color: var(--text-light); font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; border: 1px solid var(--border); }
.room-price { font-size: .88rem; color: var(--text-light); }
.room-price strong { color: var(--gold); font-size: 1.1rem; font-weight: 800; }
.btn-room { background: var(--dark); color: var(--white); border: 2px solid var(--dark); padding: 10px 20px; border-radius: var(--radius); font-size: .88rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: all var(--transition); width: 100%; }
.btn-room:hover { background: var(--gold); border-color: var(--gold); }
.btn-room-gold { background: var(--gold); border-color: var(--gold); }
.btn-room-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ===== ROOM LIGHTBOX MODAL ===== */
.room-modal { position: fixed; inset: 0; background: rgba(0,0,0,.82); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.room-modal.open { opacity: 1; pointer-events: all; }
.modal-inner { background: var(--white); border-radius: 14px; max-width: 680px; width: 100%; max-height: 92vh; overflow-y: auto; position: relative; transform: scale(.95); transition: transform .3s; }
.room-modal.open .modal-inner { transform: scale(1); }
.modal-close-btn { position: absolute; top: 12px; right: 12px; z-index: 10; background: rgba(0,0,0,.55); color: white; border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.modal-close-btn:hover { background: rgba(0,0,0,.85); }

/* Modal photo gallery */
.modal-gallery { position: relative; height: 290px; background: #111; overflow: hidden; border-radius: 14px 14px 0 0; }
.modal-gallery-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.modal-gallery-img.active { opacity: 1; }
.gallery-prev, .gallery-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.45); color: white; border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background .2s; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-prev:hover, .gallery-next:hover { background: rgba(0,0,0,.85); }
.gallery-thumb-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.thumb-dot { width: 8px; height: 8px; background: rgba(255,255,255,.4); border-radius: 50%; cursor: pointer; border: none; transition: all .2s; }
.thumb-dot.active { background: var(--white); transform: scale(1.3); }
.gallery-count { position: absolute; bottom: 10px; right: 14px; background: rgba(0,0,0,.5); color: white; font-size: .78rem; padding: 3px 8px; border-radius: 4px; z-index: 2; }

/* Modal body */
.modal-body { padding: 26px 28px 28px; }
.modal-body h3 { font-size: 1.45rem; margin-bottom: 6px; color: var(--dark); font-family: 'Playfair Display', serif; }
.modal-room-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.modal-price { color: var(--gold); font-weight: 800; font-size: 1.05rem; }
.modal-size { background: var(--bg); border: 1px solid var(--border); border-radius: 50px; padding: 3px 10px; font-size: .78rem; color: var(--text-light); font-weight: 600; }
.modal-capacity { font-size: .82rem; color: var(--text-light); }
.modal-desc { color: var(--text-light); margin-bottom: 20px; line-height: 1.68; font-size: .92rem; }
.modal-amenities-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: 12px; }
.modal-amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 24px; }
.modal-amenities li { display: flex; align-items: center; gap: 8px; font-size: .87rem; color: var(--text); }
.modal-amenities .ami-icon { width: 28px; height: 28px; background: rgba(184,151,58,.12); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-amenities .ami-icon svg { stroke: var(--gold); width: 14px; height: 14px; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; justify-content: center; min-width: 140px; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 220px 220px; gap: 10px; }
.gi { border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; background: var(--dark); }
.gi-lg { grid-column: 1 / 3; }
.gi-wide { grid-column: 2 / 4; }
.gi img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s, filter .3s; display: block; }
.gi:hover img { transform: scale(1.06); filter: brightness(.88); }
.gi-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: white; padding: 32px 14px 12px; font-size: .84rem; font-weight: 600; letter-spacing: .04em; opacity: 0; transition: opacity .3s; }
.gi:hover .gi-label { opacity: 1; }
.gi-fallback { background: linear-gradient(135deg, #1a2a3a, #2c5364) !important; }

/* ===== SERVICES ===== */
.services-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; margin-top: 2rem; }
.svc { padding: 26px 22px; background: var(--bg); border-radius: 12px; border: 1px solid var(--border); transition: all var(--transition); }
.svc:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-icon { width: 50px; height: 50px; background: var(--dark); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.svc-icon svg { width: 22px; height: 22px; }
.svc h3 { font-size: 1rem; margin-bottom: 6px; }
.svc p { color: var(--text-light); font-size: .86rem; line-height: 1.55; }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.review-card { background: var(--white); border-radius: 12px; padding: 26px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.rev-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rev-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--white); font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rev-header > div:nth-child(2) { flex: 1; }
.rev-header strong { display: block; font-size: .93rem; color: var(--dark); }
.rev-header span { font-size: .77rem; color: var(--text-light); }
.rev-score { background: var(--dark); color: var(--gold); font-weight: 800; font-size: .88rem; padding: 6px 10px; border-radius: 6px; }
.rev-stars { color: var(--gold); font-size: .85rem; margin-bottom: 8px; }
.review-card p { color: var(--text-light); font-size: .89rem; font-style: italic; line-height: 1.65; }
.score-summary { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 14px; }
.score-big { font-size: 3.5rem; font-weight: 900; color: var(--gold); line-height: 1; font-family: 'Playfair Display', serif; }
.score-stars { color: var(--gold); font-size: 1.1rem; }
.score-label { font-size: .83rem; color: var(--text-light); margin-top: 2px; }

/* ===== LOCATION ===== */
.location-addr { font-style: normal; color: var(--text-light); line-height: 1.75; margin: 16px 0; font-size: .93rem; }
.dist-list { margin-top: 16px; display: flex; flex-direction: column; gap: 0; }
.map-block { width: 100%; }
.map-block iframe { width: 100%; height: 360px; border: none; border-radius: 12px; }
.dist-list li { display: flex; justify-content: space-between; align-items: center; color: var(--text-light); font-size: .89rem; padding: 10px 0; border-bottom: 1px solid var(--border); }
.dist-list li:last-child { border-bottom: none; }

/* ===== FOOTER ===== */
.footer { background: var(--dark2); color: rgba(255,255,255,.7); padding: 72px 0 0; margin-top: 80px; }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.1fr; gap: 56px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; flex-direction: column; gap: 0; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand > p { font-size: .85rem; line-height: 1.75; color: rgba(255,255,255,.5); margin-top: 4px; }
.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-row a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.social-row a:hover { border-color: var(--gold); background: rgba(184,151,58,.18); }
.footer-col h4 { color: rgba(255,255,255,.4); font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li, .footer-col ul a { font-size: .875rem; color: rgba(255,255,255,.65); transition: color var(--transition); line-height: 1.55; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-col ul li { color: rgba(255,255,255,.45); }
.footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: none; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--white); border: none; cursor: pointer; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all var(--transition); box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */

/* Tablet grande (hasta 900px) */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .rooms-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi-lg, .gi-wide { grid-column: auto; }
  .gi { height: 200px; }
  .photo-block .photo-collage { height: 260px; }
  .header-inner { padding: 0 20px; gap: 12px; }
  .main-nav ul { gap: 0; }
  .main-nav a { padding: 8px 7px; font-size: .8rem; }
}

/* Tablet / móvil grande: burger desde aquí */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .hdr-link { display: none; }
  .header-inner { height: 62px; padding: 0 18px; }
  /* Hero más corto para que el formulario de reserva sea visible sin scroll */
  .hero { height: 58vh; min-height: 340px; }
  .hero-content { padding: 16px; }
  .hero-content h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
  .hero-location { margin-bottom: 20px; }
  .hero-badges { gap: 6px; }
  .hero-badges span { font-size: .78rem; padding: 6px 12px; }
  /* Booking bar apilado */
  .booking-form { flex-direction: column; gap: 8px; }
  .bf-group { min-width: 100%; flex: none; }
  .btn-buscar { width: 100%; margin-top: 4px; }
  /* Secciones */
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  /* Foto del hotel debajo del texto */
  .photo-block { order: 1; }
  .text-block { order: 0; }
  .photo-block .photo-collage { height: 240px; }
  /* Galeria en 1 columna */
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gi-lg, .gi-wide { grid-column: auto; }
  .gi { height: 190px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-lead { font-size: .95rem; }
  .hotel-highlights { gap: 20px; }
}

@media (max-width: 480px) {
  .logo-sub { display: none; }
  .header-inner { height: 58px; padding: 0 14px; }
  .hero { height: 52vh; min-height: 300px; }
  .hero-content h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .hero-badges span { font-size: .72rem; padding: 5px 10px; }
  .slide-nav { bottom: 18px; }
  .room-modal { padding: 0; align-items: flex-end; }
  .modal-inner { max-height: 93vh; border-radius: 14px 14px 0 0; width: 100%; max-width: 100%; }
  .modal-gallery { height: 200px; border-radius: 14px 14px 0 0; }
  .modal-body { padding: 16px 14px 24px; }
  .modal-body h3 { font-size: 1.15rem; }
  .modal-amenities { grid-template-columns: 1fr; gap: 7px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { min-width: 0; font-size: .88rem; padding: 11px 16px; }
  .modal-room-meta { gap: 7px; }
  .gi { height: 170px; }
  .rev-header { gap: 8px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-legal { flex-wrap: wrap; gap: 12px; justify-content: center; }
  .map-block iframe { height: 220px; }
}
.gi { height: 170px; }
  /* Opiniones */
  .rev-header { gap: 8px; }
  /* Footer una columna */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-legal { flex-wrap: wrap; gap: 12px; justify-content: center; }
  /* Mapa */
  .map-block iframe { height: 220px; }
