:root {
  --bg: #0b0f14;
  --card: rgba(255,255,255,0.06);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --line: rgba(255,255,255,0.14);
  --brand: #ae9f85;
  --brand2: #d7b25e;
  --accent: #e63946;
  --shadow: 0 18px 45px rgba(0,0,0,.42);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(215,178,94,.18), transparent 55%),
    radial-gradient(900px 700px at 80% 0%, rgba(230,57,70,.14), transparent 55%),
    radial-gradient(900px 700px at 70% 85%, rgba(32,201,151,.10), transparent 55%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(92vw, var(--max));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 20, .62);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}
.brand img {
  width: 44px; height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.brand .title {
  line-height: 1.1;
}
.brand .title strong {
  display: block;
  font-size: 14px;
  letter-spacing: .4px;
}
.brand .title span {
  font-size: 12px;
  color: var(--muted);
}

.menu {
  display: flex;
  align-items: center;
  gap: 14px;
}
.menu a {
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
}
.menu a:hover {
  background: rgba(255,255,255,.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  font-weight: 600;
  font-size: 14px;
}
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.26); }
.btn.primary {
  background: linear-gradient(135deg, rgba(215,178,94,.95), rgba(230,57,70,.78));
  border-color: rgba(255,255,255,.20);
  color: #141414;
}
.btn.primary:hover { background: linear-gradient(135deg, rgba(215,178,94,1), rgba(230,57,70,.92)); }

.hamburger {
  display: none;
  width: 46px; height: 42px;
}

.hero {
  position: relative;
  padding: 34px 0 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
}

.hero-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-media {
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(11,15,20,.15), rgba(11,15,20,.78)),
    url("assets/img/portada.png");
  background-size: cover;
  background-position: center;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.85);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.22);
  width: fit-content;
}

.hero-media h1 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: .6px;
  text-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.hero-media p {
  margin: 0 0 16px;
  max-width: 56ch;
  font-size: 15px;
  color: rgba(255,255,255,.86);
  text-shadow: 0 10px 30px rgba(0,0,0,.5);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.side-card {
  padding: 18px 18px 16px;
}

.side-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}
.badge {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.86);
  font-size: 12px;
}
.info {
  display: grid;
  gap: 8px;
}
.info div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255,255,255,.86);
  font-size: 13px;
}
.info small {
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

section {
  padding: 34px 0;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-title h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: .4px;
}
.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  overflow: hidden;
}
.card .pad {
  padding: 16px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  margin-bottom: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
.gitem {
  grid-column: span 4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.12);
  position: relative;
  cursor: pointer;
  min-height: 180px;
}
.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .25s ease;
}
.gitem:hover img {
  transform: scale(1.08);
}
.gitem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55));
  opacity: .9;
}
.gitem .label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-size: 12px;
  color: rgba(255,255,255,.9);
  text-shadow: 0 10px 25px rgba(0,0,0,.6);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 1000;
}
.lightbox.open { display: flex; }
.lightbox .frame {
  width: min(980px, 96vw);
  background: rgba(12, 14, 18, .82);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  position: relative;
}
.lightbox img {
  width: 100%;
  height: auto;
  display: block;
}
.lb-bar {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 2;
}
.lb-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  cursor: pointer;
}
.lb-btn:hover {
  background: rgba(255,255,255,.10);
}

.video {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0,0,0,.25);
}
.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form {
  display: grid;
  gap: 10px;
}
.field {
  display: grid;
  gap: 6px;
}
label {
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
input, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.92);
  outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { border-color: rgba(215,178,94,.75); box-shadow: 0 0 0 4px rgba(215,178,94,.12); }

.map {
  width: 100%;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0,0,0,.25);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.social {
  display: grid;
  gap: 12px;
}
.social .row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.embed {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  overflow: hidden;
}

footer {
  padding: 26px 0 60px;
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,.75);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34,197,94,.92), rgba(16,185,129,.92));
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  display: grid;
  place-items: center;
  z-index: 999;
  border: 1px solid rgba(255,255,255,.18);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #0b0f14; }

.fade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .gitem { grid-column: span 6; }
}
@media (max-width: 620px) {
  .menu { display: none; }
  .hamburger { display: inline-flex; }
  .menu.mobile {
    display: grid;
    width: 100%;
    padding: 0 0 12px;
    gap: 6px;
  }
  .menu.mobile a {
    padding: 12px 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
  }
  .gitem { grid-column: span 12; }
}
