:root{
  /* Paleta cálida/familiar */
  --bg: #fff8f1;
  --card: #ffffff;
  --ink: #2c2c2c;
  --muted: #6e6e6e;
  --brand: #ff8c42;      /* naranja */
  --brand-2: #e85d04;    /* naranja tostado */
  --accent: #ffd7a8;     /* crema cálida */
  --line: #f0e0d6;
  --radius: 16px;
  --shadow: 0 8px 22px rgba(0,0,0,.08);
}

.loc{
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
  padding: 56px 20px;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.loc__head{
  text-align: center;
  max-width: 100%;
  margin: 0 auto 28px;
}
.loc__head h2{
  font-size: clamp(26px, 8.5vw, 60px);
  margin: 0 0 6px;
  letter-spacing: .4px;
  color: #ffae00;
  text-align: center;
    font-family: Lobster;
    font-weight: 500;
    unicode-bidi: initial;
  }
.loc__head p{
  margin: 20px;
  color: var(--muted);
}

/* Grid responsive */
.loc__grid{
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0,1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.loc__card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform .25s ease, box-shadow .25s ease;
}
.loc__card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

/* Foto de fachada */
.loc__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contenido */
.loc__body{
  padding: 18px;
  display: grid;
  gap: 14px;
}
.loc__body h3{
  margin: 0;
  font-size: 22px;
  color: #1f1f1f;
}
.loc__info{
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 6px;
}
.loc__info a{
  color: var(--brand-2);
  text-decoration: none;
}
.loc__info a:hover{
  text-decoration: underline;
}

/* Mapa */
.loc__map{
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fafafa;
}
.loc__map iframe{
  display: block;
  width: 100%;
  height: 220px;        /* ajusta si quieres más alto */
  border: 0;
}

/* Botones */
.btn{
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #1b1b1b;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(232,93,4,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(232,93,4,.32);
}
.btn--ghost{
  background: #fff;
  color: var(--brand-2);
  border: 1px solid var(--brand-2);
  box-shadow: none;
}
.btn--ghost:hover{
  background: var(--accent);
  color: #1b1b1b;
}

.loc__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 980px){
  .loc__grid{ grid-template-columns: 1fr; }
  .loc__map iframe{ height: 260px; }
}
@media (max-width: 560px){
  .loc{ padding: 42px 16px; }
  .loc__media img{ height: 200px; }
}

/* ===== Documento PDF ===== */
.doc{
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
  padding: 56px 20px;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.doc__head{
  max-width: 1100px;
  margin: 0 auto 16px;
  text-align: center;
}
.doc__head h2{
  font-size: clamp(24px, 3.2vw, 32px);
  margin: 0 0 6px;
  color: var(--brand-2);
}
.doc__head p{ margin: 0 0 12px; color: var(--muted); }

.doc__actions{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.doc__viewer{
  max-width: 1100px;
  margin: 12px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

/* Alto adaptable; ajusta si quieres más/menos alto en desktop */
.doc__frame{
  display: block;
  width: 100%;
  height: min(76vh, 900px);
  border: 0;
  background: #fff;
}

/* Responsive */
@media (max-width: 980px){
  .doc{ padding: 42px 16px; }
  .doc__frame{ height: 70vh; }
}

/* Vista de impresión: ocultar controles y expandir PDF */
@media print{
  .doc__actions, .loc, .site-header { display: none !important; }
  .doc, .doc__viewer, .doc__frame{
    margin: 0; padding: 0; border: 0; box-shadow: none; height: 100vh;
  }
}
