:root {
  --ink: #111827;
  --ink-2: #1f2937;
  --muted: #5b6474;
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --accent: #f5c400;
  --accent-ink: #1a1500;
  --line: #e5e7eb;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Outfit", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h5 { line-height: 1.15; margin: 0 0 .6rem; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
p { margin: 0 0 1rem; }
.container { width: min(1140px, 92vw); margin: 0 auto; }
.muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: #b38f00; margin-bottom: .4rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; border: 0; border-radius: 999px; padding: .75rem 1.3rem; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem .9rem; font-size: .9rem; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { box-shadow: 0 8px 20px rgba(245, 196, 0, .35); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.45); }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 40; background: rgba(17, 24, 39, .88); backdrop-filter: blur(10px); }
.topbar { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-size: 1.05rem; }
.brand-badge { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.menu { display: flex; align-items: center; gap: 1.1rem; }
.menu > a:not(.btn) { color: #e5e7eb; text-decoration: none; font-weight: 500; }
.menu > a:not(.btn):hover { color: var(--accent); }
.menu-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 10px; font-size: 1.4rem; padding: .2rem .6rem; cursor: pointer; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; overflow: hidden; }
.lang-switch button { display: inline-flex; align-items: center; gap: .4rem; background: transparent; color: #d1d5db; border: 0; padding: .35rem .7rem; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.lang-switch button img { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); opacity: .7; transition: opacity .15s; }
.lang-switch button:hover img, .lang-switch button.active img { opacity: 1; }
.lang-switch button:hover { color: #fff; }
.lang-switch button.active { background: #fff; color: var(--ink); }
.lang-switch button.active img { box-shadow: 0 0 0 1px rgba(0,0,0,.15); }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,14,25,.88) 0%, rgba(10,14,25,.55) 55%, rgba(10,14,25,.25) 100%); }
.hero-content { position: relative; padding: 120px 0 70px; max-width: 720px; margin-left: max(4vw, calc((100vw - 1140px) / 2)); }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
.hero .lead { font-size: 1.15rem; color: #e5e7eb; max-width: 600px; }
.badge-pill { display: inline-block; background: rgba(245,196,0,.15); border: 1px solid rgba(245,196,0,.5); color: var(--accent); padding: .35rem .9rem; border-radius: 999px; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* Highlights */
.highlights { background: var(--ink); color: #fff; padding: 1.6rem 0; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.highlight { display: flex; align-items: center; gap: .8rem; font-weight: 500; line-height: 1.25; }
.highlight i { font-size: 1.7rem; color: var(--accent); }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }

/* Prices */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; text-align: center; box-shadow: var(--shadow); }
.price-card > i { font-size: 2rem; color: #b38f00; }
.price-card h3 { margin-top: .6rem; font-size: 1.2rem; }
.price { font-size: 2.6rem; font-weight: 800; margin: .3rem 0 .6rem; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.03); }
.price-card.featured .muted { color: #cbd5e1; }
.price-card.featured > i { color: var(--accent); }
.ribbon { position: absolute; top: 14px; right: 14px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; text-transform: uppercase; }
.note { margin: 2rem auto 0; max-width: 820px; background: #fffbea; border: 1px solid #f5e08a; border-radius: 14px; padding: 1rem 1.2rem; display: flex; gap: .7rem; }
.note i { color: #b38f00; }

/* Two cols / cards */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.info-card { background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); height: 100%; }
.info-card > i { font-size: 2rem; color: #b38f00; display: block; margin-bottom: .6rem; }
.info-card.dark { background: var(--ink); color: #fff; }
.info-card.dark > i, .info-card.dark .kicker { color: var(--accent); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--accent); }
#abonados .two-col { align-items: stretch; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 1rem; }
.g-item { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #ddd; }
.g-item.big { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 4vw; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 18px; right: 18px; background: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; }

/* Entorno */
.gremi { display: flex; align-items: center; gap: 1.2rem; background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.gremi img { border-radius: 12px; flex-shrink: 0; }
.gremi p { margin: 0; font-weight: 600; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.contact-list li { display: flex; gap: .9rem; margin-bottom: 1rem; }
.contact-list i { font-size: 1.3rem; color: #b38f00; margin-top: .15rem; }
.contact-list a { color: var(--ink); }
.map-box { min-height: 420px; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); box-shadow: var(--shadow); }
.map-box iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-placeholder { height: 100%; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; gap: .6rem; color: var(--muted); }
.map-placeholder i { font-size: 2.6rem; color: #b38f00; }

/* Footer */
.footer { background: var(--ink); color: #e5e7eb; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer .muted { color: #9ca3af; margin-top: .8rem; }
.footer h5 { font-size: 1rem; color: #fff; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .4rem; color: #9ca3af; }
.footer-list a { color: #9ca3af; text-decoration: none; }
.footer-list a:hover { color: var(--accent); }
.copy { text-align: center; color: #6b7280; font-size: .9rem; margin: 2.5rem 0 0; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50; max-width: 760px; margin: 0 auto; background: var(--ink-2); color: #e5e7eb; border-radius: 16px; padding: 1rem 1.2rem; display: flex; align-items: center; gap: 1rem; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .92rem; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }

/* Legal pages */
.legal-page { padding: 120px 0 70px; max-width: 820px; }
.legal-page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal-page .revision { color: var(--muted); font-size: .9rem; margin-top: 2rem; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.legal-page th, .legal-page td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.legal-page th { background: var(--bg-alt); }
[data-lang-block] { display: none; }
[data-lang-block].active { display: block; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .menu-toggle { display: inline-block; }
  .menu { position: absolute; top: 70px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 1.2rem 4vw 1.5rem; gap: .9rem; display: none; }
  .menu.open { display: flex; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-item.big { grid-column: auto; grid-row: auto; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .hero-content { padding-top: 100px; }
}
