:root{
  --grad-1: #d7c3a8;
  --grad-2: #566f34;
  --bg:     #000000;
  --text:   #ffffff;
  --text-dark: #000000;
  --neon:   #e6ffb8;
  --shadow-soft: #f6ffe6;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar{
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2));
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

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

.logo-wrap{
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo{
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--text-dark);
  flex-shrink: 0;
}
.brand-title{
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.brand-tag{
  font-size: 11px;
  opacity: 0.85;
  white-space: nowrap;
}

.nav-links{
  display: flex;
  gap: 14px;
  flex: 1;
  justify-content: center;
}
.nav-links a{
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
  white-space: nowrap;
}
.nav-links a:hover{
  opacity: 1;
  text-shadow: 0 0 12px rgba(230,255,184,0.65);
}

.nav-actions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ================================================================
   BOTONES
   ================================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.12s ease, filter 0.12s ease;
  user-select: none;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.02); }

.btn-primary{
  color: var(--text-dark);
  background: linear-gradient(90deg, var(--grad-1));
  box-shadow: 0 10px 26px rgba(246,255,230,0.12);
}

.btn-ghost{
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-block{ width: 100%; }

/* ================================================================
   HERO
   ================================================================ */
.hero{
  padding: 28px 0 10px;
}

.hero-card{
  background: radial-gradient(1200px 300px at 10% 0%, rgba(230,255,184,0.12), transparent 70%),
              linear-gradient(135deg, rgba(215,195,168,0.16), rgba(86,111,52,0.12));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 22px;
}

.hero-card h1{
  margin: 0 0 10px;
  font-size: clamp(22px, 5vw, 40px);
  line-height: 1.2;
}
.hero-card p{
  margin: 0 0 16px;
  max-width: 70ch;
  opacity: 0.9;
  font-size: clamp(.88rem, 2.5vw, 1rem);
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ================================================================
   GRID Y TARJETAS
   ================================================================ */
.grid-two{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 0;
}

.card{
  background: linear-gradient(180deg, rgba(215,195,168,0.12), rgba(86,111,52,0.10));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.card h2, .card h3{ margin: 0 0 10px; }

.note{ margin: 12px 0 0; opacity: 0.78; }
.note.small{ font-size: 12px; }

/* ================================================================
   HORARIOS
   ================================================================ */
.hours{
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
}

.hours li{
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: .9rem;
}
.hours li:first-child{ border-top: none; }
.hours li span:last-child{ opacity: 0.9; }

.callout{
  position: relative;
  overflow: hidden;
}
.callout::after{
  content: "";
  position: absolute;
  inset: -60px -120px auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(230,255,184,0.22), transparent 70%);
  transform: rotate(15deg);
  pointer-events: none;
}

/* ================================================================
   SECCIÓN UBICACIÓN
   ================================================================ */
.location{
  padding: 6px 0 26px;
}

.section-title{ margin: 8px 0 6px; }
.section-title h2{ margin: 0 0 4px; }
.section-title p{ margin: 6px 0 0; opacity: 0.85; }

.map-wrap{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
}
.map-wrap iframe{
  width: 100%;
  height: 260px;
  display: block;
}

.photo-wrap{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  min-height: 260px;
  display: grid;
  place-items: center;
}
.photo-wrap img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.photo-fallback{
  padding: 14px;
  opacity: 0.85;
  text-align: center;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer{
  margin-top: 24px;
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2));
  color: var(--text-dark);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-inner{
  padding: 14px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-wrap: wrap;
}
.footer-dot{ opacity: 0.7; }

/* ================================================================
   RESPONSIVE — TABLET (≤ 860px)
   ================================================================ */
@media (max-width: 860px){
  .nav-links { display: none; }
  .grid-two  { grid-template-columns: 1fr; }
}

/* ================================================================
   RESPONSIVE — TABLET PEQUEÑA (≤ 640px)
   ================================================================ */
@media (max-width: 640px){
  .container { width: calc(100% - 24px); }

  .hero  { padding: 18px 0 8px; }
  .hero-card { padding: 18px 16px; }

  .grid-two  { padding: 12px 0; gap: 12px; }
  .card      { padding: 16px; }

  .map-wrap iframe,
  .photo-wrap,
  .photo-wrap img { height: 220px; min-height: 220px; }

  .location { padding: 4px 0 18px; }
}

/* ================================================================
   RESPONSIVE — MÓVIL (≤ 480px)
   ================================================================ */
@media (max-width: 480px){
  .container { width: calc(100% - 20px); }

  /* ---- Navbar ---- */
  .nav-inner {
    flex-wrap: wrap;
    padding: 10px 0 0;
    gap: 6px;
    row-gap: 0;
  }

  /* Logo + brand forman la primera fila */
  .logo      { width: 46px; height: 46px; }
  .brand-title { font-size: .95rem; }
  .brand-tag   { font-size: 10px; }

  /* Botones: segunda fila, ancho completo */
  .nav-actions {
    width: 100%;
    justify-content: stretch;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.18);
    margin-top: 6px;
  }

  .nav-actions .btn {
    flex: 1;
    border-radius: 0;
    padding: 10px 8px;
    font-size: .82rem;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.18);
  }
  .nav-actions .btn:last-child { border-right: none; }

  /* ---- Hero ---- */
  .hero { padding: 14px 0 6px; }
  .hero-card {
    padding: 14px 13px;
    border-radius: 14px;
  }
  .hero-card h1 { font-size: 1.35rem; margin-bottom: 8px; }
  .hero-card p  { font-size: .87rem; margin-bottom: 14px; }

  .hero-actions { gap: 8px; }
  .hero-actions .btn { padding: 9px 14px; font-size: .85rem; }

  /* ---- Tarjetas ---- */
  .grid-two { padding: 10px 0; gap: 10px; }
  .card     { padding: 13px; border-radius: 14px; }
  .card h2  { font-size: 1rem; }
  .card h3  { font-size: .95rem; }

  /* ---- Horarios ---- */
  .hours li { padding: 9px 10px; font-size: .85rem; }

  /* ---- Mapa y foto ---- */
  .map-wrap iframe,
  .photo-wrap,
  .photo-wrap img { height: 190px; min-height: 190px; }

  /* ---- Sección ubicación ---- */
  .section-title h2 { font-size: 1rem; }
  .location { padding: 4px 0 14px; }

  /* ---- Footer ---- */
  .footer-inner { font-size: .82rem; padding: 12px 0; gap: 6px; }
}

/* ================================================================
   RESPONSIVE — MÓVIL PEQUEÑO (≤ 360px)
   ================================================================ */
@media (max-width: 360px){
  .container { width: calc(100% - 16px); }

  .logo      { width: 40px; height: 40px; }
  .brand-title { font-size: .88rem; }

  .hero-card h1 { font-size: 1.2rem; }

  .map-wrap iframe,
  .photo-wrap,
  .photo-wrap img { height: 170px; min-height: 170px; }

  .hours li { font-size: .8rem; padding: 8px; }
}
